af-engineer-hook
CommunityEnforce Cursor hooks for safe automation.
Authorkorchasa
Version1.0.0
Installs0
System Documentation
What problem does it solve?
The af-engineer-hook skill helps teams design and implement Cursor hooks to intercept agent actions, apply rules, and enforce security and automation policies across workflows. It enables you to create new hooks, configure hooks.json, and implement blocking or modification logic via scripts.
Core Features & Use Cases
- Define events (beforeShellExecution, afterFileEdit, etc.) and implement policy logic with either command-based scripts or prompt-based instructions.
- Configure hooks.json to apply rules globally or per-project; store hook scripts under .cursor/hooks to enforce governance and auditability.
- Use cases include blocking dangerous commands, filtering sensitive actions, and enforcing organizational standards during automation.
Quick Start
Create a new hook for formatting or security, configure .cursor/hooks.json, and implement the hook script under .cursor/hooks/.
Dependency Matrix
Required Modules
None requiredComponents
assetsreferences
💻 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: af-engineer-hook Download link: https://github.com/korchasa/ide-rules/archive/main.zip#af-engineer-hook 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.