doctype-patterns
OfficialStandardize Frappe DocType patterns fast.
AuthorUnityAppSuite
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Frappe/ERPNext projects often struggle with inconsistent DocType patterns, making it hard to reuse best practices across modules. This Skill provides a standardized guide for creating and configuring DocTypes, including fields, relationships, autonaming, and lifecycle hooks, to streamline development and improve consistency.
Core Features & Use Cases
- DocType Directory Structure: guidance on organizing DocTypes within a module for clarity and maintainability.
- DocType JSON Structure and Field Types Reference: examples of fields, permissions, autonaming, and sub-table patterns.
- Controller Lifecycle Hooks and Patterns: sample lifecycle methods (validate, before_save, on_submit, etc.) to model robust behaviors.
- Child Tables and Complex Schemas: patterns for parent-child relationships, including table fields, is_submittable, and editable grids.
- Virtual and Single DocTypes, Naming Patterns: examples for autoname, naming rules, and single-point settings.
Quick Start
Create a new DocType named "My Custom DocType" under module "My Module" following the directory structure and JSON pattern described in this guide.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: doctype-patterns Download link: https://github.com/UnityAppSuite/frappe-claude/archive/main.zip#doctype-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.