Agent skill
conventional-committer
Conventional Commits仕様に従ったコミットメッセージを作成する。コミット時に必ず使用すること。
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/conventional-committer
SKILL.md
Conventional Committer
指示
コミットメッセージは必ず以下のConventional Commits形式に従うこと:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Type
- feat: 新機能の追加
- fix: バグ修正
- docs: ドキュメントのみの変更
- style: コードの意味に影響しない変更(空白、フォーマット等)
- refactor: バグ修正や機能追加を伴わないコードの変更
- perf: パフォーマンス改善のためのコード変更
- test: テストの追加や修正
- build: ビルドシステムや外部依存関係に関する変更
- ci: CI設定ファイルやスクリプトの変更
- chore: srcやtestファイルを変更しないその他の変更
破壊的変更
破壊的変更がある場合は、typeの後に!を付けるか、フッターにBREAKING CHANGE:を追加する:
feat!: remove deprecated props from Button component
BREAKING CHANGE: The `variant` prop has been renamed to `appearance`
ルール
- descriptionは小文字で始める
- descriptionは現在形で書く("added"ではなく"add")
- descriptionの末尾にピリオドを付けない
- scopeはコンポーネント名やパッケージ名など、変更の範囲を示す
- 1行目は50文字以内を推奨
- bodyには変更の理由や詳細を記述(オプション)
例
# 新機能
feat: add drag and drop support to Table component
feat(TextField): add maxLength validation
# バグ修正
fix(RadioItem): resolve checked state not updating
fix: resolve focus trap issue in Modal
# リファクタリング
refactor: simplify validation logic in Form
refactor(hooks): extract common logic to useFormState
# ドキュメント
docs: update README with new component examples
docs(TextField): add JSDoc comments
# 破壊的変更
feat!: remove deprecated variant prop from Button
BREAKING CHANGE: The `variant` prop has been removed. Use `appearance` instead.
注意事項
- このプロジェクトはLernaで
--conventional-commitsを使用しているため、コミットメッセージからCHANGELOGとバージョンが自動生成される - 正しいtypeを使用しないと、適切なバージョンアップ(major/minor/patch)が行われない
- 絵文字は使用しない
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?