Claude Skills · DevOps & Infrastructure
Hook Writer
imtiazrayhan/agentscamp-libraryTurn a plain-language automation request — 'format every file Claude edits', 'block writes to migrations', 'notify me when input is needed' — into a working Claude Code hook: the right event, a safe tested script, and the settings.json registration at the right scope. Use when you want a hook but don't want to hand-write the matcher, stdin JSON parsing, and exit-code plumbing.
At a glance
This skill is for DevOps & Infrastructure and helps you generate a claude code hook from plain language, create event-based automation for claude edits, and set up file operation triggers and handlers.
git clone --depth 1 https://github.com/imtiazrayhan/agentscamp-library
cp -r agentscamp-library/skills/hook-writer ~/.claude/skills/hook-writer
Setup, runtime and requirements describe imtiazrayhan/agentscamp-library, the repo this skill ships in.
hooksautomationevent-drivencliScriptingcode-generation
Also in imtiazrayhan/agentscamp-library
View the repoAudit a UI change for accessibility regressions by combining automated checks with keyboard, focus, semantic, name-role-value, contrast, zoo...
Write an Architecture Decision Record capturing a decision the user describes, in Michael Nygard ADR format (Status, Context, Decision, Cons...
Design a project's CLAUDE.md and memory hierarchy by exploring the repo to learn its real build/test/lint commands, architecture, and non-ob...
Evaluate a multi-step AI agent's whole run — tool calls, intermediate steps, and final result — not just final-answer correctness, so you ca...
Cut alert noise and make every page mean something — rewrite alerting rules to fire on user-felt symptoms (error rate, latency SLO burn, fai...
Plan the retirement of an API endpoint, field, event, tool, or version without surprising active consumers. Use when replacing an interface,...
Design or normalize an API's error contract so clients get stable machine-readable codes, safe human messages, field-level validation detail...
Generate accurate architecture diagrams as Mermaid — straight from the codebase, not from imagination — by first choosing which view answers...
Read-only review of authentication AND authorization flows — session/token model, cookie flags, CSRF, token rotation, password-reset/email-v...
Audit scheduled jobs, queue consumers, workers, and asynchronous workflows for delivery assumptions, idempotency, retries, poison messages,...
Rebase the current branch onto its base and walk every conflict methodically, resolving each by understanding both sides. Use when your feat...
Analyze a JS/TS production bundle and surface the biggest size wins — heavy dependencies, duplicate packages, missing code-splitting, oversi...
Other DevOps & Infrastructure skills
Generate an interactive bash wizard that walks a human through a manual procedure — third-party setup, a one-off migration, an A→B state tra...
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wan...
Configure this repo for the engineering skills — set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before f...
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only throug...
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-comm...
Create a formal specification for an existing GitHub Actions CI/CD workflow, optimized for AI consumption and workflow maintenance.