/hook-gen — Natural Language Hook Generator
Convert plain English behavior descriptions into ready-to-use Claude Code hook configurations.
Instructions
Step 1: Parse the Request
From $ARGUMENTS or user message, extract:
- Trigger: When should this hook fire? (tool use, prompt submit, session events)
- Condition: What pattern to match? (file types, commands, content)
- Action: What should happen? (block, warn, log, transform, suggest)
If the description is ambiguous, a
[Description truncada. Veja o README completo no GitHub.]