一键导入
git-commit
Commit local changes with careful staging and single-line messages. Use for all git commit operations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Commit local changes with careful staging and single-line messages. Use for all git commit operations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Restore claude/codex agents from a tmux-reboot snapshot after tmux-resurrect reopens their windows.
Snapshot running tmux claude/codex agents immediately before a reboot so their sessions can be restored afterward.
Commit changes, run git-test precommit checks, and fix failures. Use when asked to fix build, test, lint, typecheck, or precommit failures.
Running precommit checks and build validation. ALWAYS use after ANY code changes.
This skill should be used after completing any task, before returning control to the user. Always run this skill — it handles the case where there's nothing to do.
Coordination guidelines for leading a team of task-executing agents
| name | git-commit |
| description | Commit local changes with careful staging and single-line messages. Use for all git commit operations. |
Use the code:cli and git-workflow skills.
Run:
git status
git diff --cached
git diff
git branch --show-current
git log --oneline -10
Stage files individually:
git add <file1> <file2>
Never use git add ., git add -A, git commit -am, or other commands that stage unrelated changes.
If the task is explicitly a fixup for a known commit, use:
git commit --fixup <sha>
Otherwise write one single-line message that follows git-workflow:
Echo exactly:
Running: `git commit --message "<message>"`
Then run:
git commit --message "<message>"
If pre-commit hooks modify files, stage those files individually and retry. Never use git commit --no-verify.