ワンクリックで
commit-discipline
Use when making commits. Conventional commits, atomic changes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when making commits. Conventional commits, atomic changes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when working with git operations including commits, branches, worktrees, and PRs. Covers the full git workflow from feature isolation to PR submission.
Complete PR submission pipeline with local sub-agent review before pushing, CI verification, and automated review integration. Always dispatches code-reviewer and code-simplifier for code changes, plus conditional reviewers (security, performance, dependency, accessibility, i18n, type-design, etc.) based on change type. Waits for CI with `gh pr checks --watch`. Integrates CodeRabbit and Greptile feedback.
GitHub CLI patterns for PR reviews, comments, and API operations. Use when working with gh api commands, especially for review threads and comments.
Use when following a written plan or task list. Checkpoint verification at each step. Triggers - execute plan, follow plan, implement plan, next step, continue, proceed.
Use for parallel branch development with workspace isolation.
Use when implementing analytics, event tracking, or setting up dashboards. Covers privacy-first tracking, event patterns, and common analytics tools.
| name | commit-discipline |
| description | Use when making commits. Conventional commits, atomic changes. |
Goal: Atomic commits that are easy to review, revert, and understand.
ATOMIC -> One logical change per commit
COMPLETE -> Each commit leaves code working
MEANINGFUL -> Message explains WHY
CONVENTIONAL -> Follow the format
<type>(<scope>): <description>
[optional body]
| Type | Use |
|---|---|
| feat | New feature |
| fix | Bug fix |
| refactor | Code change (no feature/fix) |
| test | Adding/fixing tests |
| docs | Documentation |
| chore | Build, deps, config |
git commit -m "feat(auth): add password reset endpoint"
git commit -m "$(cat <<'EOF'
fix(payments): handle webhook race condition
Two webhooks arriving simultaneously both update same order.
Added mutex to serialize.
Fixes #234
EOF
)"
Atomic: One change. Describable in one sentence.
git add -p # Stage specific hunks
git add src/auth/ # Stage specific files
git diff --cached # Check staged
npm test # Verify tests
git commit -m "type: msg" # Commit
git commit --amend # Add to last
git commit --amend -m "new msg" # Fix message
| Situation | Action |
|---|---|
| Multiple unrelated changes | Split commits |
| Tests failing | Don't commit. Fix first. |
| WIP changes | Use stash, not commit |
Pairs with: tdd, pr-workflow, verification