What problem does it solve?
This Skill prevents invalid Frappe DocType JSON definitions by guiding you to choose correct fieldtypes, set safe naming rules, and configure hierarchy structures properly, reducing broken schemas that fail in production.
Core Features & Use Cases
- DocType JSON schema correctness: Defines and validates the top-level DocType properties (e.g., is_tree, is_virtual, issingle, istable) so the data model matches the intended behavior.
- Fieldtype and property guardrails: Helps you select appropriate fieldtypes and configure critical field properties (e.g., reqd, unique, options, fetch_from/fetch_if_empty, depends_on with eval:) to avoid silent runtime issues.
- Naming rule safety: Ensures autoname/naming_rule patterns are set correctly (and recommends safer options over Autoincrement in production).
- Child tables and tree/virtual patterns: Covers Child DocType (Table/Table MultiSelect), Tree DocTypes (NestedSet), and Virtual DocTypes (with required controller methods) to ensure the framework wiring is correct.
- Customization-ready decisions: Reinforces how to extend existing DocTypes safely using Custom Fields and Property Setters rather than modifying core JSON.
Quick Start
Use the frappe-syntax-doctypes skill when you are defining or editing a DocType’s JSON (including fields, naming, child tables, tree setup, or virtual DocType controller requirements).