用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Marshall-Hallenbeck/dot_files --skill commit命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use when asked to work on, implement, or complete a GitHub issue — before writing any code, checks issue state, existing PRs, git history, and codebase to determine what work remains or if the issue is already resolved
Use when starting, checking, or finishing work on a GitHub issue in any repo where multiple agents may work in parallel — posts a session-info claim comment and manages the in-progress label so other agents skip claimed issues
Use when asked to create, open, publish, or submit a pull request from the current branch
基于 SOC 职业分类
正在显示 SKILL.md
| name | commit |
| description | Commit session changes only, or all changes if no session edits. |
| argument-hint | [message] [files...] |
| disable-model-invocation | true |
| allowed-tools | Bash(git add:*), Bash(git restore --staged:*), Bash(git reset HEAD:*), Bash(git status:*), Bash(git diff:*), Bash(git log:*), Bash(git commit:*), Bash(git apply:*), Bash(filterdiff:*) |
Commit changes from this session. If no files were edited in this session, review and commit all working-tree changes.
/commit # auto-group changes
/commit "<message>" [file1 file2 ...] # commit specific files with message
Check your conversation history for files modified via Edit or Write tools.
git status --short
git diff --stat
git diff --cached --stat
When committing session changes, for each file you edited, run git diff <file> and inspect the hunks:
git add <file>.git diff <file> | filterdiff --hunks=<your-hunk-numbers> | git apply --cached
If filterdiff is unavailable, construct the patch manually:
git diff <file> > /tmp/full.patch
# Edit to remove hunks that aren't yours
git apply --cached /tmp/trimmed.patch
rm /tmp/full.patch
Split changes into logical groups. Each group = one coherent change.
Grouping heuristics:
For each logical group:
git add <files-in-group...>
<type>(scope): description).
(#<PR>) and add Refs #<PR> in the body.Sentry-Issue: <SENTRY-ID> in the body.Refs #<issue> in the body. Use Closes #<issue> only when the commit fully resolves that issue.git commit -m "<type>(<scope>): <description> (#<PR>)" \
-m "Refs #<PR>" \
-m "Sentry-Issue: <SENTRY-ID>"
After all commits, show a summary:
Committed:
abc1234 fix(auth): tighten role checks
def5678 chore(deps): bump eslint to v9
If in session mode, also list skipped files:
Skipped (not from this session):
src/other/file.py
git add -A or git add ..--no-verify or git commit -n.