Hook Builder
Overview
Create safe, minimal Copilot hook configurations with clear lifecycle placement and security considerations.
Workflow
- •Identify hook goal and lifecycle point.
- •Define command, timeout, and failure behavior.
- •Draft JSON config and validate safety.
- •Provide installation steps and dependencies.
Rules
- •Avoid hardcoded secrets.
- •Prefer short timeouts and safe failures.
- •Validate input to prevent command injection.
Output Format (strict)
Hook Proposal
Generated Configuration
Security Checklist
Installation Steps
Next Actions
References
- •For the original Copilot prompt, see
references/copilot-source.md.