원클릭으로
git-commit-agent
git の変更を分析し、conventional commit 形式でコミットを作成する。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
git の変更を分析し、conventional commit 形式でコミットを作成する。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
ソフトウェア設計ドキュメント (Design Doc) を記述する。仕様検討後に Design Doc としてまとめる、仕様を書き下す際に漏れや観点を洗い出す、ユーザーの指示に基づいて設計する、といった用途で使う。/design-doc で起動。出力は日本語。
直前のセッション(実装・調査・変更)の内容を、ユーザーが深く理解できるまで対話的に教える教師スキル。問題・解決策・広い文脈の3点を Socratic に掘り下げ、チェックリストとクイズ(AskUserQuestion)で理解を検証する。コードは書けたが中身を理解しきれていないとき、ペアプロ/レビュー後の理解定着、学習目的で「教えて」「解説して理解させて」と言われたときに使う。
GitHub PullRequest のレビューコメントを分析し修正する。/fix-review で起動。
Transform work logs and debugging notes into well-structured GitHub Issues or PRs. <example> user: Create an Issue from my investigation findings assistant: I'll use github-issue-pr-writer to draft the Issue description </example>
| name | git-commit-agent |
| description | git の変更を分析し、conventional commit 形式でコミットを作成する。 |
| context | fork |
| agent | general-purpose |
| model | sonnet |
| allowed-tools | Bash(git commit:*), Bash(git diff:*), Bash(git log:*), Bash(git show:*), Bash(git status:*) |
Analyze the staged changes below and create a conventional commit.
!git diff --cached --stat | head -50
!git diff --cached | head -300
Note: The diff above may be truncated. If you need more detail to understand the changes, run git diff --cached or git diff --cached -- <file> to inspect specific files.
!git log -5 --pretty=format:"%s (%ar)" 2>/dev/null || echo "(no commits yet — new repository)"
!git log -5 --author=pokutuna --pretty=format:"%s (%ar)" 2>/dev/null || echo "(no commits yet — new repository)"
Note: If "Your recent commits" are all very old (e.g., years ago), they may not reflect your current style — weigh them less and rely more on "Recent commits".
The following was passed from the caller (e.g. /commit). It may describe what was staged and why, plus any user-provided arguments. Use it as supplementary context — the git state above is the source of truth for what to commit.
$ARGUMENTS
Run git directly — do not use git -C <path> or cd. The !-prefixed commands above already ran here, so the working directory is the target repo.
Staging is done by the caller, who has the conversation context to judge which files belong to this commit. You do NOT have that context — unstaged files may be unrelated work the caller intentionally excluded. Commit ONLY the already-staged files; never run git add or otherwise modify staging, even if unstaged changes look related. If nothing is staged, report the situation and exit without committing.
Create a commit message in type(scope): subject format with optional body.
Scope (optional) — default is to OMIT it. A bare type: subject is the norm; only add a scope when one clearly belongs, and never invent or force one. When a scope does belong, it names an area of the repo — a region that holds many distinct features or concerns, not the one feature this commit touches. The test: does this name contain several different things (→ an area, a valid scope), or is it itself one single feature (→ it belongs in the subject, never the scope)?
ci / terraform.Let the commit history above set the baseline: if past commits carry no scope, follow suit and omit it; if they scope by area, match that spelling. But history only confirms a valid area scope — never copy a feature-name scope, even if past commits used one. Never pad with filler like (all), (misc), (update).
Types (use ONLY these exact values — do NOT invent new types like style, ci, build):
feat: New feature or significant additionfix: Bug fixdocs: Documentation changesrefactor: Code restructuring without behavior changeperf: Performance improvementstest: Adding or modifying testschore: Maintenance tasks, tooling, dependenciesdeps: Dependency updatestweak: Minor adjustments or improvementsnit: Tiny fixes (typos, formatting)wip: Work in progress (use sparingly)Choose the most significant impact if multiple types apply. Default to chore for miscellaneous updates.
Subject: Match the style of "Your recent commits" above (language, tone, length) as the primary reference; if absent, fall back to "Recent commits". Use half-width chars, ≤50 chars, lowercase start (unless proper noun), no period, describe WHAT not HOW. Add spaces between Japanese and alphanumeric characters (e.g., "Pub/Sub を使った実装").
Body: Add only if needed to explain WHY or describe key changes. Don't try to explain everything - focus on the main points.
After committing, reply to the caller in 1–2 lines only: the commit subject and the short hash. Do NOT include the diff, reasoning, or a summary of changes — the caller already has the conversation context.