MuhammadUsmanGM

13 mods across 2 repositories, 76 stars between them.

PreToolUse

01

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.

74 2mo ago A tokens not measured original MIT

PostToolUse

02

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.

74 2mo ago A tokens not measured original MIT

lint-docs

04

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.

74 2mo ago A 55 tokens original MIT

changelog

06

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.

74 2mo ago A 46 tokens original MIT

pr-describe

07

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.

74 2mo ago A 44 tokens original MIT

test-triage

08

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".

74 2mo ago A 49 tokens original MIT

conventional-commit

09

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.

74 2mo ago A 42 tokens original MIT

add-handler

10

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.

74 2mo ago A 52 tokens original MIT

api-endpoint

11

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.

74 2mo ago A 52 tokens original MIT

component-new

12

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.

74 2mo ago A 45 tokens original MIT

test-component

13

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.

74 2mo ago A 50 tokens original MIT