一键导入
commit
Generate and optionally apply a Conventional Commit from staged changes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate and optionally apply a Conventional Commit from staged changes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | commit |
| description | Generate and optionally apply a Conventional Commit from staged changes |
| argument-hint | Stage changes first, then run without extra arguments |
Generate one best Conventional Commit from staged changes.
Workflow:
Run git diff --cached --stat. Run git diff --cached only if needed. Draft 3 candidates internally. Pick best.
Rules:
rtk <cmd> via the bash tool, never raw command; git status = bad, rtk git status = good.<type>(optional-scope): short descriptionfeat, fix, refactor, chore, docs, test, ci, perfOutput:
Type 'continue' to commit or anything else to cancel.Apply:
continuegit commit -m "<message>"--no-verify基于 SOC 职业分类
Audit staged, unstaged, or file-scoped changes for bugs, risks, and minimal risk-reducing fixes
Update the existing PR for the current branch when one exists, otherwise create a draft PR from git diff
Debug a bug from an entrypoint or symptom, prove root cause, propose a minimal patch
Propose minimal, safe code improvements without changing behavior
Group current changes into multiple commitlint-compliant commits and apply on confirmation