What problem does it solve?
This Skill helps you design, implement, debug, and manage VS Code Copilot hooks so repetitive quality checks, safety gates, and session automation happen automatically instead of relying on memory.
Core Features & Use Cases
- Lifecycle Automation: Configure hook behavior for session start, prompt submission, tool execution, compaction, subagent events, and session stop.
- Quality and Safety Gates: Auto-format code, auto-lint changes, run tests on edits, block dangerous commands, and validate sensitive operations before they proceed.
- Context and State Management: Inject project context, preserve memory before compaction, and capture end-of-session health checks or reports.
- Debugging and Deployment: Diagnose broken hook wiring, validate JSON definitions, test hook scripts independently, and deploy cross-platform configurations reliably.
Quick Start
Use this skill to create a Copilot hook that automatically formats edited files and blocks unsafe commands in your workspace.