PreToolUse
01MuhammadUsmanGM/claude-code-best-practices
Hook Claude Code
Runs before the agent uses a tool for Write and Edit tool calls, executing block-secrets.sh via bash. From MuhammadUsmanGM/claude-code-best-practices.
MuhammadUsmanGM/claude-code-best-practices
Hook Claude Code
Runs before the agent uses a tool for Write and Edit tool calls, executing block-secrets.sh via bash. From MuhammadUsmanGM/claude-code-best-practices.
MuhammadUsmanGM/claude-code-best-practices
Hook Claude Code
Runs after a tool call finishes for Write and Edit tool calls, executing format-on-write.sh via bash. From MuhammadUsmanGM/claude-code-best-practices.
MuhammadUsmanGM/claude-code-best-practices
Settings file Claude Code
Agent settings declaring 2 hook events (PreToolUse, PostToolUse) and 12 allowed tools.
MuhammadUsmanGM/claude-code-best-practices
Skill Claude CodeCodex
Run this repo's documentation and shell quality gates (shellcheck, markdownlint, lint-claude-md) the same way CI runs them. Invoke before opening a PR, or when the user asks to lint, validate, or pre-flight the docs.
MuhammadUsmanGM/claude-code-best-practices
Instructions file
Instructions for MuhammadUsmanGM/claude-code-best-practices, covering claude.md — claude-code-best-practices, what this repo is, commands, testing and how to help here.
MuhammadUsmanGM/claude-code-best-practices
Skill Claude CodeCodex
Generate or update CHANGELOG.md with an entry for the unreleased changes since the last git tag. Invoke when the user asks to cut a release, update the changelog, or summarize changes since v-something.
MuhammadUsmanGM/claude-code-best-practices
Skill Claude CodeCodex
Write a pull-request title and body from the current branch's commits and diff against the base branch. Invoke when the user asks to open a PR, draft a PR description, or summarize a branch.
MuhammadUsmanGM/claude-code-best-practices
Skill Claude CodeCodex
Classify failing tests as flaky vs. real regressions and propose a next step for each. Invoke when the user pastes failing test output, asks to triage CI failures, or asks "are these tests flaky".
MuhammadUsmanGM/claude-code-best-practices
Skill Claude CodeCodex
Generate a Conventional Commits message for the staged diff and (optionally) create the commit. Invoke when the user asks to commit, write a commit message, or finalize staged work.
MuhammadUsmanGM/claude-code-best-practices
Skill Claude CodeCodex
Scaffold a new HTTP handler with service function, store method (if needed), and table-driven test, following the project's internal/{api,service,store} layout. Invoke when the user asks to add an endpoint, handler, or route.
MuhammadUsmanGM/claude-code-best-practices
Skill Claude CodeCodex
Scaffold a new API endpoint with request/response Pydantic schemas, service function, route handler, and a pytest test — following the project's layered layout. Invoke when the user asks to add an endpoint, route, or API method.
MuhammadUsmanGM/claude-code-best-practices
Skill Claude CodeCodex
Scaffold a new React component with matching test file and consistent folder layout, following the project's conventions in src/features or src/components. Invoke when the user asks to create, scaffold, or add a new component.
MuhammadUsmanGM/claude-code-best-practices
Skill Claude CodeCodex
Write React Testing Library tests for an existing component, following the project's RTL conventions (prefer role/label queries, mock at network boundary, no act()). Invoke when the user asks to test, add tests for, or cover a component.