writing-rules
Guidance for authoring Hookify rules, the syntax and patterns for turning natural-language rules into Claude Code hooks.
🛡️ AgentReady threat assessment
MAESTRO 7-layer threat model + OWASP AIVSS risk score for writing-rules, derived from its capabilities.
These scores are auto-generated from public information (the agent's own listing, docs, and repository) using the canonical OWASP AIVSS formula and the MAESTRO framework — an estimate for guidance, not a penetration test, audit, or certification. See the scoring methodology — every score is re-derived by the same automated method as an agent's public evidence changes.
Overview
Part of the hookify plugin, this skill (Writing Hookify Rules) teaches the syntax and patterns for creating hookify rules, which convert natural-language guardrails into Claude Code hooks. It triggers on requests to 'create a hookify rule' or 'configure hookify' and provides the rule format and examples needed to add enforceable behavior rules.
Key features and capabilities
- Hookify rule syntax and patterns
- Natural-language-to-hook rule authoring
- Guardrail rule examples
Use cases
- Write a hookify rule to enforce a coding rule
- Configure hookify for a project