用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dcouple/Pane --skill commit命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | commit |
| description | Selectively stages and commits only the changes related to the current session, skipping unrelated modifications. |
| argument-hint | [optional: commit message or description of what to commit] |
Commit only the changes you made in this session to the local branch. Ignore all other changes. Do not ask for confirmation at any step — just classify, stage, commit, and report.
Gather context about what you implemented:
./tmp/done-plans/ and ./tmp/ready-plans/ — if any exist, read them for file lists and feature descriptions.$ARGUMENTS is provided and does NOT match the type: description commit message format, use it as additional context for what should be committed (it will be used for classification in Step 3, not as the commit message).git status to see all modified, added, and deleted files.git diff (unstaged) and git diff --cached (staged) to see the actual changes. Treat both as a single pool of changes to classify.For each changed file (whether staged or unstaged), determine if it was changed by you in this session or not:
Your changes — include these:
./tmp/done-plans/ files and ./tmp/context.md changes associated with your workNot your changes — skip these entirely:
./tmp/ files (research notes, other plans)When in doubt, include the file rather than leaving it out.
If zero files are classified as yours, tell the user that no changes match this session's work and stop.
Do not present the classification for confirmation. Proceed directly to staging.
git add <specific files> — only the files you changed. Never git add . or git add -A.git diff --cached) for secrets or credentials:
Do not ask for confirmation. Just create the commit.
$ARGUMENTS matches the type: description format (e.g., feat: add commit skill), use it verbatim as the commit message.type: short description (feat, fix, refactor, docs, chore). Under 72 characters. Imperative mood.Present the result. Only suggest /commit again if there are uncommitted files remaining.
Committed: <short sha> <commit message>
Files included:
- <file list>
Files left uncommitted:
- <file list, or "none">
Next steps:
- `/prepare-pr` — Rebase, build, and open a PR