frappe-syntax-hooks

Official

Coordinate deterministic Frappe hooks across apps

AuthorOpenAEC-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Configures and standardizes Frappe hooks.py usage across apps, enabling consistent event handling (before_request, after_request, scheduler_events, and website routing) and cross-version compatibility.

Core Features & Use Cases

  • Centralizes hook definitions across multiple apps to ensure predictable behavior.
  • Covers non-document-event hooks like app metadata, fixtures, boot info, and doctype/class extensions.
  • Use case: when building a multi-app Frappe suite, align before_request logic and scheduler_events across the stack to prevent conflicting hooks.

Quick Start

Edit your hooks.py to include the required hooks, then test by invoking bench migrate and verifying requests are processed through the defined hook stack.

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: frappe-syntax-hooks
Download link: https://github.com/OpenAEC-Foundation/Frappe_Claude_Skill_Package/archive/main.zip#frappe-syntax-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.