用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Marshall-Hallenbeck/dot_files --skill safe-commit-all命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 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 | safe-commit-all |
| description | Group ALL working-tree changes into logical commits. |
| argument-hint | [message] |
| disable-model-invocation | true |
| allowed-tools | Bash(git add:*), Bash(git status:*), Bash(git diff:*), Bash(git log:*), Bash(git commit:*) |
Groups all working-tree changes into logical commits.
/safe-commit-all # auto-group all changes
/safe-commit-all "<message>" # use message (single commit if all related)
git status --short
git diff --stat
Analyze all changes and split them into logical groups. Each group should represent a single coherent change (one feature, one fix, one refactor, etc.).
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 no changes exist and the user explicitly requested a checkpoint:
git commit --allow-empty -m "<message> (#<PR>)" \
-m "Refs #<PR>" \
-m "Sentry-Issue: <SENTRY-ID>"
Apply only verified references. If no pull request or Sentry issue applies, omit its placeholder and trailer.
--no-verify or git commit -n.