一键导入
commit
Create a git commit. Use when user says "commit", "save changes", or "commit my work".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a git commit. Use when user says "commit", "save changes", or "commit my work".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Squash merge feature branch to main. Use when user says "merge to main", "squash merge", or "finish feature".
Interactive concept-by-concept programming tutor — delivers one numbered lesson at a time, validates each answer with ✓ or step-by-step correction, and grounds every concept in a real example from the user's own codebase. Use when the user says "teach me", "learn", "explain this concept", "walk me through how X works", "continue from lesson N", or asks for tutoring on a specific programming concept.
Brutally honest, evidence-based code review. Writes a fix plan and auto-executes it on approval. Use when user says "review", "review my code", or "criticize my changes".
Create a GitHub issue and check out a branch for it. Use when user says "create issue", "report bug", "new feature request", or "open issue".
| name | commit |
| description | Create a git commit. Use when user says "commit", "save changes", or "commit my work". |
Create a simple, descriptive commit on the current branch.
| Type | Format |
|---|---|
| Feature | As a [role] I [action] so that [benefit] |
| Fix | Fix: [description] |
| Refactor | Refactor: [description] |
| Style | Style: [description] |
Closes #XX is branch-dependent — decided in Process step 4:
Closes #XX when squash-merging; branch commits are intermediate.main/master: the job was completed without a branch, so no merge will follow and this commit is the final landing. Include Closes #XX for the associated issue (if one exists) so the issue still closes.As a teacher I can see event history so that I can track changes
Fix: Return proper error message for unauthorized requests
Refactor: Extract payment processing to service
Bad: wip, fixed stuff, updates
console.log statements left in code.env.exampleNOTE: shell variables do not persist across separate Bash tool calls. Record the branch name (step 3) and any issue number (step 4) in conversation and substitute the literal values into later commands.
git status and git diff to review changesgit status --porcelain --untracked-files=no is empty (no tracked modifications), exit cleanly with "nothing to commit" — do not create an empty commit. If only untracked files exist, ask the user whether to add them before proceeding.git rev-parse --abbrev-ref HEAD and record it. Surface it so the user sees where the commit will land. This decides the Closes #XX rule (step 4).Closes #XX from the branch in step 3:
main/master): no Closes line — the merge skill adds it later. Draft a single descriptive line.main/master, or detached HEAD (job finished without a branch — no merge will run, so this commit closes the issue itself): if an issue number is evident from the conversation (one was just created, or the user referenced #num), draft a multi-line message with Closes #<num> on its own line after a blank line. If no issue is in context, draft a normal single-line message — do not interrogate the user about issues.git add -A)git diff --cached --stat and unstage anything unrelated to this commitgit diff --cached --quiet — if it returns 0 (nothing staged), exit cleanly with "nothing staged to commit"git commit -m "message"main/master with a Closes line — use the HEREDOC below, substituting the drafted message. The terminator EOF MUST be at column 0:
git commit -m "$(cat <<'EOF'
Commit message here.
Closes #XX
EOF
)"
git status to verify, then report what landed (branch, message, files). NEVER push — leave pushing to the user.