What problem does it solve?
Development teams often accidentally introduce dangerous commands, debug code, or sensitive file edits that cause security vulnerabilities, production bugs, or compliance issues, and manually catching these patterns across all contributions is time-consuming and error-prone.
Core Features & Use Cases
- Multi-Event Rule Support: Create rules for bash commands, file edits, agent stop events, and user prompts to cover all common development touchpoints.
- Flexible Pattern Matching: Use simple regex patterns for basic checks or advanced multi-condition rules with regex, substring, and prefix/suffix matching for complex validation needs.
- Use Case: An engineering team can use this skill to set up rules that block destructive rm -rf commands, warn about console.log in production TypeScript files, and enforce that all .env file edits include a .gitignore check before saving.
Quick Start
Use the writing-rules skill to create a hookify rule that blocks all rm -rf bash commands and displays a warning when the pattern is detected.