Skip to main content

commit

Creates clean, conventional git commits using standard git. Use when the user asks to "commit", "git commit", "create commit", or wants to commit staged or unstaged changes.

来源信息

仓库
FradSer/skills
最近来源活动
2026年9月13日 14:15
检测到的 SKILL.md 语言
英语
星标
4
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
3 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
commit
description
Creates clean, conventional git commits using standard git. Use when the user asks to "commit", "git commit", "create commit", or wants to commit staged or unstaged changes. Does not push; use commit-and-push when the request includes a push.
# Commit Create one atomic Conventional Commit from the changes the user placed in scope. Inspect `git status --short`, staged diff, and unstaged diff first. Preserve unrelated work; stage paths explicitly and include untracked files only when they belong to the requested change. If there is nothing to commit, report that and stop. If HEAD is detached, report the commit hash and ask for a branch decision before committing. Use `<type>(<optional-scope>): <imperative summary>` with a type such as `feat`, `fix`, `docs`, `refactor`, `test`, `build`, `ci`, or `chore`. Keep the message factual and short; include a body only when it explains why. Run the narrow relevant checks before committing when the repository documents them, then report the new commit hash and files included. A commit is a local mutation authorized by the user's commit request; do not push, amend, reset, or change unrelated files. For a requested co-author trailer, read [coauthor-attribution.md](references/coauthor-attribution.md).
在 GitHub 查看