ワンクリックで
commit
Create a git commit following the project's commit standards. Triggers on "/commit" or when user asks to commit changes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Create a git commit following the project's commit standards. Triggers on "/commit" or when user asks to commit changes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | commit |
| description | Create a git commit following the project's commit standards. Triggers on "/commit" or when user asks to commit changes. |
Commit workflow: review code, list files, get approval, then drive ALL THE WAY to a merged pull request on origin/main and park the checkout back on main.
This repo (like every repo here) does trunk-based development. There are three states of work and only one counts:
So a commit request is NOT finished at git push. Committing still requires the user's
explicit ask (per CLAUDE.md) - but ONCE the user approves the commit, that authorizes driving
it the rest of the way: push, open a pull request, merge on green, delete the branch, and park
the checkout back on main. "I committed and pushed" is an unfinished job. Merge first, QA
after - main is GitHub, not a public release.
The four supporting rules (see the TRUNK DEVELOPMENT section of the global CLAUDE.md):
Invoke with /commit or when user asks to commit changes.
Default: Only files Claude modified this session. With "all" argument: All uncommitted changes. With specific files: Only those files.
STEP 1: Determine scope and gather changes
Run git status to see all changes. Run git log --oneline -5 to see recent commit message style.
If user specified "all", include everything. If user specified files, use those. Otherwise, use only files modified during this Claude Code session.
STEP 2: Run code review
Use the Skill tool to invoke the review-code skill.
Wait for the review to complete.
Read the REVIEW_STATUS line from the output.
If REVIEW_STATUS is FAIL:
If REVIEW_STATUS is PASS:
STEP 3: Present commit plan
Show the user:
Commit message format: [type]: [Short description]
[Optional body explaining why]
Type prefixes: feat, fix, refactor, docs, style, test, chore
Do NOT include "Co-Authored-By" lines in commit messages.
Ask: Approve this commit? Reply "yes" to commit and push.
STEP 4: Wait for approval
DO NOT PROCEED until user says yes, ok, approved, go ahead, or proceed.
If user says no or requests changes, update the plan and re-present.
STEP 5: Put the work on a branch (never commit directly on main)
Check the current branch: git branch --show-current.
If the checkout is already on a short-lived feature branch, commit there.
If the checkout is on main, create a branch FIRST - never commit on main:
STEP 6: Commit and push
Stage the specific files using git add with each filename. Never use git add . or git add -A.
Commit using HEREDOC format: git commit -m "$(cat <<'EOF' [message here] EOF )"
Run git status to verify commit succeeded.
Push with: git push -u origin HEAD.
If push fails due to remote changes, run git pull --rebase then git push.
STEP 7: Open the pull request, merge on green, and park back on main
The job is not done until the work is MERGED to origin/main. Once the user approved the commit (Step 4), drive it home:
STEP 8: Report completion
Tell the user:
If user says "commit anyway" with blocking issues:
NEVER do these:
ALWAYS do these:
Skill Version: 2.0 - trunk-based development (2026-07-11)
Changed from 1.0: The workflow no longer stops at git push. Once the user approves the
commit it drives all the way to a merged pull request on origin/main and parks the checkout
back on main: branch-if-on-main (or isolated worktree on a shared checkout), push, open the
pull request, merge on green (squash + delete branch), park on main, verify clean. Added the
trunk-based-development framing (merged-to-main is the only "done") aligned with the global
CLAUDE.md TRUNK DEVELOPMENT section and the /repo-hygiene skill.
Adapted from: sampleWeb commit skill
Relocate a live session to another cc-director slot or Director - approval-gated handover through the GATEWAY, the seed identifies itself as a moved session, the TARGET keeps the source's original name, the source is renamed "[MOVED]" and put on hold so the user can close it. Triggers on "/move-session", "move session", "migrate session", "transfer session".
INTERNAL reference, NOT shipped with the installer. The in-repo expert on every coding-agent CLI CC Director can run (Claude Code, Codex, Gemini, OpenCode, Grok, Copilot, Cursor, Pi). Knows each agent's command line, config files, context-injection points, lifecycle hooks and events, SDK/API/server mode, transcript format, session semantics, and how CC Director drives it. Triggers on "agent-expert", "agent expert", "how does <agent> inject context", "<agent> hooks", "<agent> events", "<agent> CLI reference", "which agents support X", "agent capability matrix".
How a mission is RUN in this repository - the Architect, the Manager, the Workers, and the independent Inspector, plus the four standing laws (ask up front then run alone, and NEVER guess - bring the owner in when something is genuinely undecidable; the mission branch holds the work and only the Architect lands it on main; a different agent family inspects before anything reaches main; merged to origin/main is the only done). Read this BEFORE starting or seeding any mission, and before writing any mission brief. Triggers on "/mission", "start a mission", "run a mission", "seed an architect", "write a mission brief", "mission brief", "who merges", "mission roles".
DevThrottle - "Mission Control for Claude Code". A desktop app (binary cc-director.exe) that runs and supervises multiple Claude Code sessions and ships cc-* CLI tools on PATH. Agents drive the fleet through the cc-devthrottle command, not by calling the Director over HTTP. Triggers on "/dev-throttle", "/devthrottle", "/cc-director", "what cc tools", "list tools", "available tools", "devthrottle api", "session manager", "mission control".
Talk to other DevThrottle sessions across the fleet. Use when you want to list running sessions, rename this session, message another session, ask another session a question and get its answer, or open a new session - from inside a session. Triggers on "/fleet-comms", "message another session", "talk to another session", "ask another session", "rename this session", "rename session", "list sessions", "what sessions are running", "open a session", "spawn a session", "cc-devthrottle", "fleet messaging", "session intercommunication".
Guided run-book for cutting a DevThrottle release - assemble the changes, write the release notes, coordinate the internal docs site, cut the tag, and announce it. Triggers on "/release-manager", "cut a release", "prepare a release", "ship a release", "do the release".