commit
星标13
分支2
更新时间2026年3月22日 05:56
Generate a conventional commit message from staged changes and commit.
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Generate a conventional commit message from staged changes and commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use when the user asks you to research, evaluate, or compare a programming framework, library, or runtime. Triggers on "research X", "tell me about X framework", "should I use X", "compare X and Y frameworks", "evaluate X".
Proof read a text document
Research a code related problem, approach or library
Explains code with visual diagrams and analogies. Use when explaining how code works, teaching about a codebase, or when the user asks "how does this work?"
| name | commit |
| description | Generate a conventional commit message from staged changes and commit. |
git diff --staged to inspect what is staged. If nothing is staged, run git diff HEAD and inform the user nothing is staged.feat, fix, refactor, chore, docs, test, ci, perf, style, buildsrc/auth/ → auth). Omit scope if changes span many unrelated areas.<type>(<scope>): <summary> — omit parens if no scopeBREAKING CHANGE: <description> if any public API, export, or interface was removed or renamed. Add Closes #<n> if the current branch name contains an issue number.git commit -m "<message>" with the generated message.✔ feat(auth): add OAuth2 token refresh logic
No other output. Do not explain what you did.
| Argument | Behaviour |
|---|---|
--dry-run | Print the proposed message and stop. Do not commit. |
--split | If staged changes touch logically unrelated areas, create multiple commits — one per area — in a sensible order. |
--no-scope | Omit the scope segment regardless of what changed. |
--split before proceeding.--dry-run was passed.