Prompt shell
Replace highlighted brackets, then copy.
Write a PostToolUse hook that runs [formatter] on [file pattern] after edits.
How to use
formatter- replace the bracketed field with your infofile pattern- replace the bracketed field with your info
Provide (Inputs)
- Formatter command
- File pattern
Expected output (Outputs)
- Hook config
Tips
- Consider security implications of hooks.