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 explicit approval gating before git commit.
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 を推定する$ARGUMENTS は次のヒントとして解釈します。
/conventional-commit feat)/conventional-commit "認証エラーを修正"){type}(scope): {subject}{type}: {subject}feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert
差分とファイル種別から推定する。
featfixdocstestci / buildperfrefactorchore変更ファイルの共通ディレクトリやモジュール名から推定する。
frontend, backend, api, auth, docs, config次の条件に当てはまる場合、分割提案を行う。
分割提案時は、コミット案ごとに対象ファイル一覧を示す。
AskUserQuestion 相当の選択式確認を使う。
選択式ツールがない場合はテキストで確認する。
y, yes, はい, ok, OKn, no, いいえtype / scope / subject / body を自動生成する# 変更確認
git status --short
git diff --staged
git diff
# 単一コミット(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 を順に実行する。
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 ファイルや要件記述を渡して「実装して」「仕様書のとおり作って」と頼んだとき、特に後で第三者がレビューしたり未来の自分が再現できるよう実装側の判断を残したいときに使う。