Claude Code Hook Writer: Auto-Run Lint, Typecheck or Tests After Edits
Produces a PostToolUse hook entry for settings.json, the script it calls and a concrete procedure to test that the check runs after file edits.
37 prompts
Prompts for Claude Code, Anthropic's coding agent that runs in your terminal and works across a repository. They describe the task, the files and checks involved, and what done looks like, so the agent can plan, edit and verify.
3 results
Produces a PostToolUse hook entry for settings.json, the script it calls and a concrete procedure to test that the check runs after file edits.
Claude Code interviews you briefly about a repeated workflow and writes a complete SKILL.md with a precise trigger description, steps, supporting files and a verification step.
A save-ready SKILL.md that has your coding agent review a branch before merge: correctness, security, tests and migrations, with findings ranked by severity and no style nitpicks.
Start claude in the repository's root folder and paste the prompt as your first message. Fill in the blanks with real paths, commands and limits first; the agent can't guess them.
Only rules that apply to every task, such as build commands and code style, belong in CLAUDE.md. Keep one-off task prompts in the chat so they don't steer later work.
Most do. Codex, Cursor and Copilot's agent mode follow the same kind of task brief; swap any mention of CLAUDE.md for that tool's instruction file, such as AGENTS.md.