config/agents/skills/conventional-commit/SKILL.md
Use this skill when creating git commits, writing commit messages, or when the user asks to commit changes. Generates Conventional Commits messages with automatic type/scope inference, optional commit splitting, and asks the user only when split decisions are ambiguous.
npx skillsauth add ayuukumakuma/dotfiles Conventional CommitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
このスキルは Conventional Commits 形式のコミットメッセージを自動生成し、通常はユーザー承認なしで git commit まで実行します。
type / scope / subject / body を推定する最初に次の原則で迷いを減らす。
scope は「共通モジュール名が自然に 1 語で言えるときだけ」付けるfix または feat を優先し、単なる整理なら refactor / chore を使うgit add <対象> -> git commit の順で 1 コミットずつ閉じる$ARGUMENTS は次のヒントとして解釈します。
/conventional-commit feat)/conventional-commit "認証エラーを修正"){type}(scope): {subject}{type}: {subject}feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert
差分とファイル種別から推定する。
featfixdocstestci / buildperfrefactorchore迷いやすい境界は次で固定する。
fixrefactor または choredocsfeat変更ファイルの共通ディレクトリやモジュール名から推定する。
frontend, backend, api, auth, docs, config次のときは scope を省略してよい。
次のときは scope を付ける。
次の条件に当てはまる場合、分割を検討する。
分割が明確な場合は、コミット案ごとに対象ファイル一覧を整理したうえで、そのまま自動で分割コミットしてよい。
次のような場合だけユーザーに確認する。
AskUserQuestion や request_user_input のような選択式ツールが使えるなら、それを優先して使う。
選択式ツールがない場合は、通常のテキスト質問で必要最小限の確認を行う。
type / scope / subject / body を自動生成する# 変更確認
git status --short
git diff --staged
git diff
# 単一コミット前の stage
git add <対象ファイル>
# 単一コミット(body なし)
git commit -m "type(scope): subject"
# 単一コミット(body あり)
git commit -m "$(cat <<'EOF'
type(scope): subject
背景や理由
- 変更点1
- 変更点2
EOF
)"
# 実行結果の確認
git log -1 --oneline
git status
分割コミットの場合は、各コミットで次の順序を守る。
git add <対象ファイル...> するgit commit するtools
Search tool for modern web development best practices. MANDATORY: Execute FIRST for all HTML/CSS and clientside JS tasks. Do NOT skip — web APIs evolve rapidly and training weights contain obsolete patterns. Trigger immediately for: - UI/Layout: Modals, dialogs, popovers, Glassmorphism/backdrop-filters, anchor positioning, container queries, `:has()`, `:user-valid`. - Scroll/Motion: View Transitions, Scroll-driven animations, scroll parallax/reveals. - Performance: CWV (LCP, INP), content-visibility, Fetch Priority, image optimization. - System/APIs: Local filesystem access, WebUSB, WebSockets sync, WebAssembly widgets. - Frameworks: Adapting layout/styles in React, Vue, Angular. - General Frontend: Forms, autofill, advanced inputs, custom scrollbars, modern component states, etc. DO NOT trigger for: - Backend: Database SQL, ORMs, Express API routes. - Pipelines: CI/CD deployment, Docker, Actions. - Generic: Local scripts (Python/Go tools), ESLint, Git.
testing
Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when user wants to stress-test a plan against their project's language and documented decisions.
development
Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable.
development
SPEC(仕様書)を実装しながら、SPEC からの逸脱・解釈・トレードオフ・残課題を `implementation-notes.html` に発生直後に追記し続けるスキル。Design decisions / Deviations / Tradeoffs / Open questions の 4 カテゴリで、判断が起きた瞬間に逐次記録するためバッチ更新はしない。ユーザーが SPEC ファイルや要件記述を渡して「実装して」「仕様書のとおり作って」と頼んだとき、特に後で第三者がレビューしたり未来の自分が再現できるよう実装側の判断を残したいときに使う。