frappe-syntax-hooks-events
OfficialMaster Frappe doc_events and hooks.
Software Engineering#hooks#events#frappe#doctype#doc_events#extend_doctype_class#override_doctype_class
AuthorOpenAEC-Foundation
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill standardizes and safeguards the use of Frappe's doc_events and related hook mechanisms, helping teams avoid silent failures caused by misnamed events, incorrect execution order, or conflicting overrides across apps.
Core Features & Use Cases
- Clear syntax and guidelines for registering doc_events, including specific events (before_insert, before_validate, validate, before_save, on_submit, on_update, on_change, on_cancel, on_trash, after_delete), wildcard usage, and interaction with extension mechanisms.
- Guidance on extension strategies (extend_doctype_class) and safe overrides (override_doctype_class) in multi-app environments.
- Practical scenarios for maintaining cross-app compatibility, debugging event chains, and enforcing consistent hook resolution order.
Quick Start
Create a sample hooks.py mapping for a DocType and verify the correct execution order of events.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: frappe-syntax-hooks-events Download link: https://github.com/OpenAEC-Foundation/Frappe_Claude_Skill_Package/archive/main.zip#frappe-syntax-hooks-events 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 471,000+ vetted skills library on demand.