Generate Document Hooks

Official

Create doc hooks without editing core.

AuthorATXINVOX
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automates the creation and management of document lifecycle hooks for DocTypes in Frappe without editing core code, enabling clean extensibility and safer upgrades.

Core Features & Use Cases

  • Global hooks that apply to all DocTypes to enforce common rules and behavior.
  • DocType-specific hooks for targeted customization and validation at key lifecycle events.
  • Examples include registering before_insert, validate, and after_insert hooks, plus decorator-based approaches for clean, reusable hook definitions.

Quick Start

Register your first hook by wiring a function to a DocType event (e.g., before_insert) and deploy the service so the hooks run automatically.

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 Document Hooks
Download link: https://github.com/ATXINVOX/frappe-microservices-poc/archive/main.zip#generate-document-hooks

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.