一键导入
commit
Stage and commit changes using conventional commits format
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Stage and commit changes using conventional commits format
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Push branch and create a GitHub PR with concise, issue-linked description
Run pre-release validation and execute the release process
Walk over all open GitHub issues that are unassigned or assigned to the current user, and process each one via the /gh-issue skill, sequentially.
Add new assertion function with comprehensive tests following TDD
Analyze test coverage and identify untested code paths
Debug and fix failing tests systematically
基于 SOC 职业分类
| name | commit |
| description | Stage and commit changes using conventional commits format |
| user-invocable | true |
| argument-hint | [message hint] |
| disable-model-invocation | true |
| allowed-tools | Bash, Read, Grep, Glob |
Stage and commit current changes using the conventional commits format.
IMPORTANT: This skill MUST be used for ALL commits — even when the user says "commit" without
/commit. Never commit without following these steps.
git branch --show-currentgit status --shortgit diff --cached --stat 2>/dev/nullgit diff --stat 2>/dev/nullgit log --oneline -5 2>/dev/null$ARGUMENTS - Optional hint for the commit message (e.g., fix the snapshot comparison)Review the state above — understand what changed and why.
Stage files — add only the relevant changed files by name. Never use git add -A or git add .. Never stage files that contain secrets (.env, credentials, etc.).
Determine the commit type from the nature of the changes:
feat — new feature or capabilityfix — bug fixdocs — documentation onlystyle — formatting, whitespace (no logic change)refactor — code restructuring (no behavior change)test — adding or updating testschore — maintenance, tooling, configperf — performance improvementDetermine the scope from the area of the codebase affected:
assert — assertions (src/assert*.sh)runner — test runnercli — CLI entry point, flags, optionsdoubles — mocks, spiesdocs — documentation siteci — CI/CD, GitHub ActionsWrite the commit message:
<type>(<scope>): <description>Create the commit:
git commit -m "$(cat <<'EOF'
<type>(<scope>): <description>
<optional body>
EOF
)"
Verify the commit was created:
git log --oneline -1
feat(assert): add assert_json_contains function
fix(runner): resolve parallel execution race condition
test(doubles): add spy verification edge cases
refactor(cli): extract option parsing into helper
docs: update installation instructions
chore(ci): upgrade shellcheck to v0.10
perf(runner): reduce subshell usage in test discovery
--no-verify — if hooks fail, fix the issue