一键导入
commit-changes-to-git
Use this skill when the user wants to commit changes in the working tree of the current Git repository.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use this skill when the user wants to commit changes in the working tree of the current Git repository.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | commit-changes-to-git |
| description | Use this skill when the user wants to commit changes in the working tree of the current Git repository. |
Operate on Git repository in current working directory. Refuse to bundle unrelated changes into one commit.
Commit files untouched, never reformatting, linting, testing, or building. Honor hooks and signing unless user asked to bypass them. Land one local commit, never amending, rebasing, force-pushing, or pushing.
Stage only paths user named, or everything when user said so. Refuse to stage secrets. Warn user about skipped secrets instead.
Respect Conventional Commits standard.
Prepend ticket number to description with # when user named issue.
Derive message from diff and conversation, never from branch name.
Shape commit as type: summary subject, then optional body.
List staged files for user before committing. Show commit subject to user before committing.
Limit message to its description.
Skip Co-authored-by: trailers, promotional lines, signatures, and emoji.
Preserve configured author and committer identity.
User fixes typo in README.md and says "commit it".
Stage README.md alone.
Write subject docs: fix typo in README.
Land one commit carrying that subject.
Confirm one new commit appears after run. Stop after single commit lands.