frappe-doctype-builder

Generate complete Frappe DocType JSON with fields, permissions, and layouts.

25|14|Updated Dec 15, 2025
One-click install
npx skills add https://github.com/Venkateshvenki404224/frappe-apps-manager --skill frappe-doctype-builder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frappe-doctype-builder
Source: https://github.com/Venkateshvenki404224/frappe-apps-manager/tree/main/frappe-apps-manager/skills/frappe-doctype-builder
Command: npx skills add https://github.com/Venkateshvenki404224/frappe-apps-manager --skill frappe-doctype-builder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually defining DocType structures, fields, permissions, and naming conventions in Frappe can be a tedious and error-prone process, especially for complex applications. This Skill automates the generation of complete DocType definitions.

Core Features & Use Cases

  • DocType JSON Generation: Create full DocType JSON files with metadata, fields, permissions, and form layouts.
  • Comprehensive Field Types: Support all Frappe field types, including Link, Table, Select, and more, with appropriate configurations and dependencies.
  • Permission Configuration: Define granular role-based permissions for read, write, create, delete, submit, and cancel actions.
  • Use Case: Generate a 'Project' DocType with fields for project name, start/end dates, status, and a child table for 'Tasks', along with permissions for 'Project Manager' and 'Team Member' roles.

Quick Start

Create a new Frappe DocType called 'Task' with fields for 'task_name' (Data, required), 'due_date' (Date), and 'status' (Select, options: Open, In Progress, Completed).

Frequently Asked Questions about frappe-doctype-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a complete Frappe DocType with fields and permissions?

DocType creation generates full JSON definitions including metadata, fields, permissions, and layouts. Define your data model by specifying field names, types (Data, Date, Link, Table), required flags, and role-based permissions for read, write, create, delete, submit, and cancel actions to build schema structures for ERPNext modules.

What field types does Frappe DocType support?

Frappe DocTypes support all standard field types including Data, Link, Table, Select, Date, and more, with configuration options for dependencies, dynamic links, and child table relationships. Each field type enables specific data model patterns for CRM, Selling, and Core module structures.

Can I configure role-based permissions for DocType read and write access?

Yes, DocType permission configuration defines granular role-based access controlling read, write, create, delete, submit, and cancel actions per role. Assign permissions to roles like Project Manager or Team Member to enforce data governance across your schema.

How do I structure child tables and dependent fields in a DocType?

Child table fields use the Table type to organize line-item data within parent DocTypes, while dependent fields create conditional logic based on other field values. This enables complex data models like Sales Orders with line items or Projects with nested Tasks.

What's the best way to design a DocType schema for CRM or ERP applications?

Start by mapping your data model requirements to field types and parent-child relationships, define naming conventions and unique identifiers, configure permissions by role, then generate complete DocType JSON with layouts and metadata for seamless integration with ERPNext controllers and migrations.