Generate DocType Controller

Official

Auto-generate DocType controllers for Frappe.

AuthorATXINVOX
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Generating DocType controllers by hand can lead to inconsistent lifecycle methods and boilerplate. This Skill automates scaffolding of class-based controllers with standard hooks (validate, before_insert, after_insert, before_update, after_update, before_delete), ensuring a uniform architecture across DocTypes.

Core Features & Use Cases

  • Scaffold class-based controllers with the full set of lifecycle hooks to enforce business rules and data integrity.
  • Enforce consistent file structure, naming conventions, and reusable method skeletons for rapid development.
  • Provide ready-to-use patterns that align with frappe_microservice-lib patterns, reducing onboarding time for new projects.
  • Use Case: Create a new DocType controller across multiple services with a single command, then customize business logic as needed.

Quick Start

Run this skill to scaffold a new DocType controller and register it in your Frappe service.

Dependency Matrix

Required Modules

None required

Components

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: Generate DocType Controller
Download link: https://github.com/ATXINVOX/frappe-microservices-poc/archive/main.zip#generate-doctype-controller

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.