commit
Create a git commit with a well-crafted message. Use proactively whenever the user asks to commit changes or amend a commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a git commit with a well-crafted message. Use proactively whenever the user asks to commit changes or amend a commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Review code changes from a specific angle or do a general pass. Use when the user wants a code review of their current branch or specific changes. For a thorough review covering all checks, use the @agent-review subagent instead. To review changes against a spec/source of truth (with doc-coverage and duplication checks), use /scoped-review instead.
Scoped code review — determines the change scope (explicit, discussion, or git), picks a source of truth (discussion, new docs, or code), then reviews the changes for correctness, doc agreement, doc coverage, convention adherence, duplicated shapes that want a shared abstraction, hand-rolled complex logic that wants a named/shared function, and unit-test coverage of complex logic.
Review documentation for accuracy against the current implementation. Use when documentation files are modified, when code changes may have made docs outdated, or when the user asks about documentation accuracy.
Refactor outdated patterns in the codebase based on user input
Refactor frontend components to follow Mantine coding conventions. Use when asked to refactor, modernize, or clean up UI code.
| name | commit |
| description | Create a git commit with a well-crafted message. Use proactively whenever the user asks to commit changes or amend a commit. |
Create a git commit for the current changes.
Run these in parallel:
git status to see all changed and untracked filesgit diff --cached to see staged changesgit diff to see unstaged changesgit log --oneline -5 to see recent commit style (for reference only)If nothing is staged, stage the relevant changed files. Do not stage files that likely
contain secrets (.env, credentials, etc.) — warn the user if they ask to commit those.
Write a commit message following these rules:
fix:, feat:,
docs:, refactor:, etc.).Good examples:
Consolidate backend conventions into coding-conventions.mdFix month navigation skipping February in date pickerAdd expense grouping tags with autocompleteTighten client API signatures from DateLike to ISODateRemove unused Bacon.js subscription from ExpenseTableBad examples:
fix: fix bug in date picker (has prefix, vague, redundant "fix fix")Update code (too vague)refactor: various improvements (has prefix, vague)WIP (not descriptive)If the user provided $ARGUMENTS, use that as additional context for the message but
still follow the formatting rules above.
Always end the commit message with:
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use a HEREDOC to pass the message:
git commit -m "$(cat <<'EOF'
Commit message here
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
EOF
)"
If amending (user explicitly asked to amend), use git commit --amend instead.
--no-verify).