frappe-syntax-doctypes

Installation
SKILL.md

DocType JSON Design

DocTypes are the foundation of every Frappe application. A DocType defines both the data model (database schema) and the view (form layout). ALWAYS design DocTypes before writing any controller logic.

Quick Reference

DocType JSON Top-Level Properties

Property Type Purpose
name str DocType identifier (singular, e.g. "Sales Invoice")
module str App module this DocType belongs to
is_submittable bool Enables Draft -> Submitted -> Cancelled workflow
is_tree bool Enables NestedSet hierarchy (lft/rgt columns)
is_virtual bool No database table; data from custom backend
issingle bool Single-instance settings document
istable bool Child table DocType (embedded in parent)
is_calendar_and_gantt bool Enables calendar/gantt views
track_changes bool Stores version history on every save
Related skills
Installs
32
GitHub Stars
95
First Seen
Mar 25, 2026