hooks-system
OfficialMaster Claude Code workflow automation.
AuthorMadAppGang
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides comprehensive patterns and templates for implementing lifecycle hooks in Claude Code, enabling advanced automation, validation, security, and metrics tracking within AI workflows.
Core Features & Use Cases
- Lifecycle Hooks: Define actions for
PreToolUse,PostToolUse,UserPromptSubmit,SessionStart,Stop,SubagentStop, andNotificationevents. - Automation & Validation: Automatically format code, run tests, and validate file writes or commands before execution.
- Security: Implement guardrails against dangerous commands and sensitive file modifications.
- Metrics & Analysis: Track tool usage, analyze prompt complexity, and evaluate session completion.
- Use Case: Automatically format code after every write operation, block attempts to write to
.envfiles, and run relevant unit tests before a file is saved, ensuring code quality and security.
Quick Start
Configure your .claude/settings.json to automatically format code after every file write operation.
Dependency Matrix
Required Modules
pypdfpdfplumberpdf2image
Components
scriptsreferences
💻 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: hooks-system Download link: https://github.com/MadAppGang/magus/archive/main.zip#hooks-system 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 223,000+ vetted skills library on demand.