Skip to content
cccskills
FreePublished on GitHub

commit

Conventional Commits形式でコミットする。Triggers on: '/commit', 'コミットして', 'commit changes'

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md3.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Conventional Commit

変更を Conventional Commits 形式でコミットします。

品質ゲートは safety net として内部で再確認します。レビューと簡潔化はこのスキルでは行いません:

  • /self-review: feature-implementer 経由なら Step e で通過済み。直接コミットする変更(手動修正など)の場合のみ、/commit の前に明示的に実行する
  • /simplify: 必要に応じて /commit の前に呼ぶ(必須ではない)

手順

1. 品質ゲート(safety net)

/quality-check を実行し、結果が pass であることを確認する。失敗時は修正してから再実行。

結果が skip(ゲートが1つも実行されていない)の場合は pass に読み替えない。コミットは続行してよいが、品質ゲート未検証であることをユーザーへの報告に明記する。

呼び出し元(例: feature-implementer)で既に通過させている場合でも safety net として走らせる。同セッション内で再実行されることになるが、誤って未通過コードをコミットすることを防ぐ。

2. 変更の確認とステージング

git status
git diff --staged
git diff

ステージされていない関連変更があればステージングする。コミット対象外のファイル(一時ファイル、デバッグログ、機密情報を含む .env 等)が混入していないかを確認する。

3. 変更の分析(Type の決定)

変更内容を分析し、適切なコミット Type を決定:

Type説明
feat新機能追加
fixバグ修正
docsドキュメントのみの変更
styleコードの意味に影響しない変更(フォーマット等)
refactorバグ修正でも機能追加でもないコード変更
perfパフォーマンス改善
testテストの追加・修正
choreビルドプロセスやツールの変更
ciCI設定の変更

4. コミットメッセージの作成

フォーマット:

<type>(<scope>): <description>

[optional body]

[optional footer(s)]

ルール:

  • scope はプロジェクトの規約に従う(パッケージ名、機能領域等)
  • description は日本語で記述、命令形(「〜を追加」「〜を修正」)、50文字以内目安
  • body には変更の詳細を記述(必要な場合)
  • footer には関連 Issue 番号を記載(Refs: #123)

5. コミット実行

git commit -m "<message>"

コミット粒度の方針

  • 1つのコミットは1つの論理的な変更
  • 動作する状態でコミット
  • 大きな変更は複数のコミットに分割

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Codexによるread-onlyローカルレビューを実行する。Triggers on: '/codex-review', 'Codexでレビューして', 'クロスモデルレビューして'

The English summary is being prepared. Showing the original description.

masanami/claude-harness5Updated Oct 19, 2026

調査(read-only)または雑務(workspace-write)をCodexへ委譲し、結論をJSONで受け取る。Triggers on: '/codex-task', 'Codexで調べて', 'Codexにやらせて', 'Codexへ委譲'

The English summary is being prepared. Showing the original description.

masanami/claude-harness5Updated Oct 19, 2026

恒常的な設計決定を ADR として記録する(退役する機能仕様から ADR 昇格の要否を判定するモードを併せ持つ)。定常フローの必須ステップではなく、必要時に呼ぶ。Triggers on: '/create-adr', 'ADRを書いて', '設計判断を記録', 'ADR昇格を判定'

The English summary is being prepared. Showing the original description.

masanami/claude-harness5Updated Oct 19, 2026

仕様(チケットの完了条件・受入基準)からE2Eテストを実装する(非対話)。Triggers on: '/create-e2e', 'E2Eテストを書いて', 'E2Eテストを追加して'

The English summary is being prepared. Showing the original description.

masanami/claude-harness5Updated Oct 19, 2026

機能仕様ドキュメントから要件チケットを作成する、または親要件チケットを実装チケット群に分解する。Triggers on: '/create-ticket', 'チケットを作成', 'Issueを作って', 'create ticket', '実装チケットに分解'

The English summary is being prepared. Showing the original description.

masanami/claude-harness5Updated Oct 19, 2026

実装が他リポジトリのコードの挙動に依存する仮定を、依存先の実コードで確証する。クロスリポジトリ依存が無い場合は使用しない。Triggers on: '/cross-repo-verify', 'クロスリポジトリ依存を確認', 'クロスリポジトリの確証'

The English summary is being prepared. Showing the original description.

masanami/claude-harness5Updated Oct 19, 2026

See all skills by masanami

Report a problem with this skill