skills/commit/SKILL.md
This skill should be used when the user asks to commit changes, craft a commit message, or run a commit workflow. Creates atomic git commits with conventional-commit formatting and optional deep analysis or push. Flags: --all, --deep, --close, --push.
npx skillsauth add paulrberg/agent-skills commitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create atomic commits by staging the right files, analyzing the staged diff, composing a conventional commit message, and optionally pushing.
Run all checks and context collection in one bash call:
git rev-parse --is-inside-work-tree \
&& ! test -d "$(git rev-parse --git-dir)/rebase-merge" \
&& ! test -f "$(git rev-parse --git-dir)/MERGE_HEAD" \
&& ! test -f "$(git rev-parse --git-dir)/CHERRY_PICK_HEAD" \
&& git symbolic-ref HEAD \
&& git status --short --branch
If any check fails, stop with a clear error and suggested fix.
Arguments: $ARGUMENTS
--all commit all changes--deep deep analysis, breaking changes, concise body--push push after commit--close <issue_numbers> append Closes #N trailers for listed issues (comma/space-separated)--all:
git add -Agit diff --cached --name-onlygit restore --staged <file>git add <file>git checkout unrelated changes.git diff --cachedRead the staged diff and produce the commit message in a single pass.
Type inference — determine from behavior:
| Behavior | Type |
| -------------------------------------------------- | ------------- |
| New functionality | feat |
| Bug fix / error handling | fix |
| Code reorganization, no behavior change | refactor |
| Documentation | docs |
| Tests | test |
| Build system (webpack, vite, esbuild) | build |
| CI/CD pipelines | ci |
| Dependencies | chore(deps) |
| Formatting / whitespace only | style |
| Performance | perf |
| Reverting previous commit | revert |
| AI config (CLAUDE.md, .claude/, .gemini/, .codex/) | ai |
| Other maintenance | chore |
Explicit type keyword in arguments takes precedence over inference.
Scope — infer only when path makes it obvious (lowercase).
Unrelated hunks — ignore pre-existing changes when determining type/scope/description. If unrelated changes are in the same file as session changes, they are included in the commit scope but should not influence the message.
Message format:
type(scope): description or type: descriptionIssue linking — scan the chat transcript for GitHub issue references (e.g. #123, owner/repo#123, issue URLs) that the current changes resolve. For each match, append a Closes #N trailer. Skip issues merely mentioned in passing; include only ones the commit actually closes.
If --deep:
BREAKING CHANGE: + one-line migration noteIf --close:
Closes #N line for each issue number providedCloses #N per line in the body/trailergit commit -m "subject" (add -m "body" only if body is non-empty)N files changed summary. Nothing else.--push)git pushgit push -u origin HEADdevelopment
This skill should be used when the user asks to "debrief", "debrief this task", "debrief the session", "save findings", "save analysis", "save this as a report", "create an HTML report from the transcript", or wants to persist the current task's findings as a self-contained interactive HTML playground at `./.ai/reports/<slug>/index.html`. Flag: --md emits a plain Markdown report at `./.ai/reports/<slug>/index.md` and skips the playground dependency.
documentation
This skill should be used when the user asks to create or update a GitHub PR, file or update an issue, post a comment, or start a discussion. Trigger phrases include "create PR", "open PR", "file an issue", "update issue", "yeet a PR/issue/discussion", "comment on an issue".
development
This skill should be used when the user asks to resolve an EVM chain name or chain ID; find chain metadata such as a default public RPC, native currency symbol, or block explorer URL; determine whether a chain is supported by RouteMesh; or read on-chain account data for any EVM chain — "check ETH balance", "query ERC-20 balance", "get wallet balance", "check token holdings", "fetch NFT transfers", "ERC-721 or ERC-1155 transfer history", "transaction history", "find first funding transaction", "trace fund origin", "who funded this address", "query Etherscan", "query Blockscout", or "look up a chain on Chainscout". It routes each data query through Etherscan API V2 (preferred) or the Blockscout/Chainscout APIs (fallback for chains Etherscan doesn't serve), with direct JSON-RPC as a last resort. Also use it for chain resolution before fetching data from or interacting with an EVM chain.
tools
Creates interactive HTML playgrounds — self-contained single-file explorers that let users configure something visually through controls, see a live preview, and copy out a prompt. Use when the user asks to make a playground, explorer, or interactive tool for a topic.