with one click
smart-commit
コミット前にビルド・テスト・lintを検証し、構造化されたコミットメッセージで安全にコミットする。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
コミット前にビルド・テスト・lintを検証し、構造化されたコミットメッセージで安全にコミットする。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Run a kill-spawn UI/UX prototyping feedback loop from a 1-sentence brief. Hearing → brief/flow → designer → evaluator (max 15 rounds, fresh context per round) → HITL. Uses HTML + Tailwind CDN single-file output for minimum-viable verification.
アプリ開発の起点。ユーザーの要求から KPI → Spec → Story → (UI screens) の 4 段収束レビューループで設計ドキュメント一式を生成する。Ticket は作らず、/generate が lazy materialization する。Trigger: アプリ作って, 〜を作りたい, 設計して, spec, 仕様, 企画
テストの報酬ハックを検出し、AC カバレッジを確認する。context:fork で実装者から独立。
E2E + UI/デザイン評価。アプリを実動テストし、AC 検証 + デザイン4軸評価を行う。Trigger: E2Eテスト, 受け入れテスト, UIチェック, デザイン評価
自律開発 harness の内側ループ orchestrator。Story から lazy に Sprint Contract を交渉し、決定論 tier 判定 (T1/T2/T3) で fork 構成を選択、atomic skill 群をチェインして 1 sprint を完遂する。旧 /tdd-cycle と /ticket-cycle を統合。Trigger: /generate <story-id>, /generate --dry-run, sprint実行
TDD GREEN phase - テストを通す実装を作成。context:fork で tester コンテキストから分離。
| name | smart-commit |
| description | コミット前にビルド・テスト・lintを検証し、構造化されたコミットメッセージで安全にコミットする。 |
/smart-commit
/smart-commit feat: ユーザー認証機能
コミット前に以下を全て実行し、出力を確認する:
検出した Stack に応じて実行:
├─ package.json → npm test && npx tsc --noEmit (TSの場合)
├─ pubspec.yaml → flutter analyze && flutter test
├─ Package.swift → swift build && swift test
├─ Cargo.toml → cargo test
├─ go.mod → go test ./...
└─ pyproject.toml → pytest
1つでも失敗 → コミットしない。 問題を修正してから再実行。
git diff --staged --stat # 変更ファイル一覧
git diff --staged # 変更内容の確認
確認項目:
Conventional Commits 形式:
<type>: <summary>
<body(任意)>
Co-Authored-By: Claude Code <noreply@anthropic.com>
| Type | 用途 |
|---|---|
| feat | 新機能 |
| fix | バグ修正 |
| refactor | リファクタリング |
| test | テスト追加・修正 |
| docs | ドキュメント |
| chore | ビルド・設定変更 |
git log --oneline -1 # コミットが正しく作成されたか確認
git status # ワーキングツリーがクリーンか確認
git add しない(.env, credentials 等)→ 次の機能があれば /tdd-cycle、全機能完了なら /e2e-evaluate で E2E + デザイン評価
<!-- post-mortem agent appends entries here --> <!-- Format: - [HASH8] [YYYY-MM-DD] : (hits: N, source: T-XXXX) -->