git-commit
Analyze changes, stage files, and commit with Conventional Commits. Use when the user asks to commit or run git commit.
- License 许可
- MIT
- 所属仓库
- to4iki/skills
- 最近更新
- 2026-10-06
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- git-commit
- description
- Analyze changes, stage files, and commit with Conventional Commits. Use when the user asks to commit or run git commit.
02 资源文件 1
- 参考文档SKILL-ja.md1.2 KB
03 SKILL.md 正文
Git Commit
Run only when the user asks to commit.
Procedure
- Run in parallel:
git status/git diff/git diff --staged - Stage individually with
git add <files>(nevergit add .). Skip secrets (.env, credentials, tokens, etc.) - If unrelated changes are mixed, propose separate commits
- Commit with Conventional Commits in English (Japanese only if the user explicitly asks). Focus the message on why:
git commit -m "$(cat <<'EOF'
<type>(<scope>): <subject>
<why if useful>
EOF
)"
Place EOF at the start of the line (no indentation). Include issue/task numbers in the body when available.
- Verify with
git status
Gotchas
- If there is nothing to commit, stop and tell the user
- If a hook (e.g. pre-commit) fails, stop and ask the user to fix it
04 同仓库更多 Skills
use-claude-artifact
When the user asks for HTML output for code review materials, explanations of plans or discussions, or design verification, create the HTML as a Claude artifact instead of a file in the repository. Use when the user says things like "create it as HTML", "as an artifact", "HTML for review", or "HTML for design check".
eli5
Explain a topic like I'm a 5 year old. Use when the user types /eli5 or asks for a dead-simple picture explainer of how something works.
cursor-edit
Delegate file edits to Cursor through the headless cursor-agent CLI instead of editing files directly in the calling AI agent. The calling AI agent analyzes the change, writes precise edit instructions, and verifies the result; cursor-agent performs the actual file modifications. Use when the user says things like "let Cursor edit this", "fix it with cursor", or "have Cursor handle the file edits". Best for offloading large edits to Cursor to reduce token usage and speed up the overall workflow.
implementation-notes
Implement a spec while keeping a running implementation-notes.html with decisions, deviations, tradeoffs, and open questions. Use for /implementation-notes, @implementation-notes, implementation-notes.html, or when the user wants a spec implemented with a work log.
hunk-session
Drive a live Hunk terminal diff review via `hunk session *`. Use when the user has a Hunk session running or wants to review diffs interactively.
git-wt
Creates a Git worktree with `git wt` and implements changes in an isolated directory. After the work is done, removes the worktree pending user confirmation. Use when the user explicitly says "worktree", "branch off", "wt", "git-wt", etc.