Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component...
npx skills add haru01/order_skills_sample --skill "cga-explore-planning"
Install specific skill from multi-skill repository
# Description
Research and plan implementation approach using parallel subagent exploration. Creates TDD-compliant implementation plans in doc/plans/ by investigating codebase, analyzing trade-offs, and conducting interactive decision-making. Use when planning features from specs, evaluating technical approaches, or creating implementation strategies before coding.
# SKILL.md
name: cga-explore-planning
description: Research and plan implementation approach using parallel subagent exploration. Creates TDD-compliant implementation plans in doc/plans/ by investigating codebase, analyzing trade-offs, and conducting interactive decision-making. Use when planning features from specs, evaluating technical approaches, or creating implementation strategies before coding.
allowed-tools: Task Read Glob Grep WebFetch WebSearch AskUserQuestion Write
いつ使うか
- 仕様(Spec)を元に実装方針を調査&プランニングしたいとき
- 技術的負債の返済のための調査とプランニングが必要なとき
- 技術選定・アプローチを検討したいとき
- コードベースの現状を把握し、方針を決めたいとき
いつ使わないか
- 実装そのもの →
/cga-programming - リファクタリング →
/cga-tf-refactoring - 意思決定の記録のみ →
/cga-decision-record
何をするか
- 重要 必ず、Plan mode で実行すること。それ以外のモード(Ask before editsなど)の場合は、開発者にモード変更を促す
- Phase 0: 実装計画の有無を確認、済みなら
/cga-programmingへ誘導 - Phase 1: Specと
glossary.md、doc/decisions/確認、Explore でコードベース調査 - Phase 1.5: コード調査の結果を確認し、必要ならGit履歴調査を追加実施
- Phase 2: 選択肢設計、トレードオフ分析、ユーザーと対話、TDD準拠の実装計画作成
- Phase 3:
doc/plans/{issue-name}.mdに Write - Phase 4: 次スキルへ誘導
基本ルール
- Specが起点、無ければユーザーに確認
- src配下のコード変更は行わない(doc/plans への出力のみ)
glossary.mdとdoc/decisions/必須確認- コード調査のあと、必要があればGit履歴を調査
- 対話はメインで実施(透明性重視)
- 調査は極力、Explore サブエージェントを使い、コンテキスト腐敗(Context Rot)を対策すること
- TDD準拠の実装計画を作成
使用例
/cga-explore-planning
### ORD-004: 注文キャンセルAPI
**概要** 顧客が注文をキャンセルできるAPIを実装する。
**受け入れ条件**
- [ ] `PENDING` または `CONFIRMED` 状態の注文のみキャンセル可能
- [ ] キャンセル後の状態は `CANCELLED` になる
詳細
guide.md を参照
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.