with one click
kiro-spec-quick
Quick spec generation with interactive or automatic mode
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
Quick spec generation with interactive or automatic mode
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
Kiro / SDD の新規 spec 作成、kiro-discovery、kiro-spec-init、要件化、 仕様化、feature brief 作成に進む前に使う入口スキル。ユーザーの要求を そのまま kiro-* 系スキルへ渡さず、先に grill-with-docs で用語・境界・ 不可逆な設計判断を詰め、必要に応じて CONTEXT.md と docs/adr/* に残してから kiro-discovery または kiro-spec-init へつなぐ。新しい作業の相談、曖昧な feature idea、Kiro spec の起票、requirements 化の依頼では、ユーザーが 明示的に grilling を省略すると言わない限りこのスキルを使うこと。既存 spec の status 確認、requirements/design/tasks/impl の継続、単純な実装、 既に十分な brief.md がある作業では使わなくてよい。
Kiro / SDD の spec から未登録のユビキタス言語、canonical term、 avoid term、不変条件、境界名、契約名、ADR 候補となる仕様変更を検出し、 domain-modeling / grill-with-docs で確定してから CONTEXT.md と docs/adr/* に反映するスキル。ユーザーが「.kiro/specs を見て未定義語を拾って」、 「Kiro spec から CONTEXT.md を更新して」、「spec の仕様変更を ADR に反映」、 「glossary gap を埋めて」、「ユビキタス言語を逆引きして」などを依頼した 場合に使う。単なる spec status 確認、requirements/design/tasks の生成、 実装、または Kiro に渡す前の要求整理には使わない。
TAKT ワークフローエンジン。Agent Team を使ったマルチエージェントオーケストレーション。ワークフロー YAML(steps / initial_step)に従ってマルチエージェントを実行する。
既存のTAKTワークフローとファセットを分析し、改善提案を行うスキル。ワークフローYAMLの構造検証、 ファセット間の整合性チェック、スタイルガイド準拠の確認、未使用ファセットの検出、 ルール設計の最適化提案を実施する。実行ログ(.takt/logs/*.jsonl)が存在する場合は ログベース診断分析も行い、ルール評価効率・ループホットスポット・ABORT率等を報告する。 references/taktのスタイルガイド・エンジン仕様を基準として分析する。 トリガー:「ワークフローを分析」「taktの設定を確認」「ファセットの品質チェック」 「ワークフローのレビュー」「takt analyze」「ワークフローの改善提案」 「ワークフローの整合性チェック」「taktの問題を見つけて」 「ログを分析」「実行ログの診断」「taktのログを見て」「ルール評価の統計」 「ai_fallbackの頻度」「ループの検出」
TAKTファセット(Persona/Policy/Instruction/Knowledge/Output Contract)の 個別作成・編集スキル。各ファセットのスタイルガイドに準拠した単体ファイルを生成する。 references/taktにあるスタイルガイド・ビルトインファセット群を参照資料として活用し、 ファセット種別の判断、テンプレート選択、品質チェックを行う。 トリガー:「ペルソナを作りたい」「ポリシーを追加」「インストラクションを書く」 「ナレッジを定義」「出力契約を作成」「ファセットを編集」「takt facet」 「レビュアーのペルソナ」「コーディングポリシー」
既存のTAKTワークフロー(ワークフローYAML・ファセット群)を最適化するスキル。 トークン消費削減、ステップ統合、ルール簡素化、ファセット再利用促進、 ループ制御の改善、並列化の提案を実施し、最適化後のファイルを直接生成する。 takt-analyzeの診断結果(静的分析・ログ診断)を入力として活用できる。 本スキルは「最適化の実行」のみを担い、診断・分析はtakt-analyzeに委譲する。 references/taktのエンジン仕様・スタイルガイドを基準とする。 トリガー:「ワークフローを最適化」「taktの高速化」「ワークフローを軽くしたい」 「トークンを減らしたい」「ステップを減らしたい」「takt optimize」 「ワークフローの効率化」「ファセットを整理したい」「ワークフローをスリムにして」 「taktのコスト削減」「ワークフローをシンプルにしたい」
| name | kiro-spec-quick |
| description | Quick spec generation with interactive or automatic mode |
If --auto flag is present in $ARGUMENTS, you are in AUTOMATIC MODE.
In Automatic Mode:
Execute 4 spec phases sequentially. In automatic mode, execute all phases without stopping. In interactive mode, prompt user for approval between phases.
Before claiming quick generation is complete, run one lightweight sanity review over the generated requirements, design, and tasks. If multi-agent is available, use a fresh sub-agent. Otherwise run the sanity review inline.
Parse $ARGUMENTS:
--auto: Automatic Mode (execute all 4 phases)--auto flag if present)Example:
"User profile with avatar upload --auto" → mode=automatic, description="User profile with avatar upload"
"User profile feature" → mode=interactive, description="User profile feature"
Display mode banner and proceed to Step 2.
Execute these 4 phases in order:
Core Logic:
Check for Brief:
.kiro/specs/{feature-name}/brief.md exists (created by $kiro-discovery), read it for discovery context (problem, approach, scope, constraints)$ARGUMENTSGenerate Feature Name:
Check Uniqueness:
.kiro/specs/*/brief.md (no spec.json), use that directory (discovery created it)-2, -3, etc.Create Directory:
mkdir -p .kiro/specs/{feature-name} (skip if already exists from discovery)Initialize Files from Templates:
a. Select language:
selected language code → detect from the selected project description source: use brief.md content when present, otherwise use user's input language; if uncertain, select `ja` as the repository default
Stop for unsupported languages. Use this same selected language code for spec.json and the requirements skeleton.
b. Read templates:
- .kiro/settings/templates/specs/init.json
- .kiro/settings/templates/specs/requirements-init.md for `ja`, or .kiro/settings/templates/specs/requirements-init.en.md for `en`
c. Replace placeholders:
{{FEATURE_NAME}} → feature-name
{{TIMESTAMP}} → current ISO 8601 timestamp (use `date -u +"%Y-%m-%dT%H:%M:%SZ"`)
{{PROJECT_DESCRIPTION}} → description
{{LANGUAGE}} → selected language code
Ensure the selected language code and requirements skeleton language match before writing files.
d. Write files using Write tool:
- .kiro/specs/{feature-name}/spec.json
- .kiro/specs/{feature-name}/requirements.md
Output Progress: "Phase 1/4 complete: Spec initialized at .kiro/specs/{feature-name}/"
Automatic Mode: IMMEDIATELY continue to Phase 2.
Interactive Mode: Prompt "Continue to requirements generation? (yes/no)"
Invoke $kiro-spec-requirements {feature-name}.
Wait for completion. IGNORE any "Next Step" message (it is for standalone usage).
Output Progress: "Phase 2/4 complete: Requirements generated"
Automatic Mode: IMMEDIATELY continue to Phase 3.
Interactive Mode: Prompt "Continue to design generation? (yes/no)"
Invoke $kiro-spec-design {feature-name} -y. The -y flag auto-approves requirements.
Wait for completion. IGNORE any "Next Step" message.
Output Progress: "Phase 3/4 complete: Design generated"
Automatic Mode: IMMEDIATELY continue to Phase 4.
Interactive Mode: Prompt "Continue to tasks generation? (yes/no)"
Invoke $kiro-spec-tasks {feature-name} -y. The -y flag auto-approves requirements, design, and tasks.
Wait for completion.
Output Progress: "Phase 4/4 complete: Tasks generated"
After Phase 4, run a lightweight sanity review before claiming completion.
requirements.md, design.md, and tasks.md directly from disk. If brief.md exists, use it only as supporting context._Depends:_, _Boundary:_, and (P) markers plausible for implementation?tasks.md once, then re-run the sanity review.All 4 phases plus sanity review complete.
Output final completion summary (see Output Description section) and exit.
Interactive Mode:
Quick Spec Generation (Interactive Mode)
You will be prompted at each phase.
Note: Skips gap analysis and design validation.
Automatic Mode:
Quick Spec Generation (Automatic Mode)
All phases execute automatically without prompts.
Note: Skips optional validations (gap analysis, design review) and user approval prompts. Internal review gates still run.
Final sanity review still runs.
After each phase, show brief progress:
Spec initialized at .kiro/specs/{feature}/
Requirements generated → Continuing to design...
Design generated → Continuing to tasks...
Provide output in the language specified in spec.json:
Quick Spec Generation Complete!
## Generated Files:
- .kiro/specs/{feature}/spec.json
- .kiro/specs/{feature}/requirements.md ({X} requirements)
- .kiro/specs/{feature}/design.md ({Y} components, {Z} endpoints)
- .kiro/specs/{feature}/tasks.md ({N} tasks)
Quick generation skipped:
- `$kiro-validate-gap` - Gap analysis (integration check)
- `$kiro-validate-design` - Design review (architecture validation)
Sanity review: PASSED | FOLLOW-UP REQUIRED
## Next Steps:
1. Review generated specs (especially design.md)
2. Optional validation:
- `$kiro-validate-gap {feature}` - Check integration with existing codebase
- `$kiro-validate-design {feature}` - Verify architecture quality
3. Start implementation: `$kiro-impl {feature}`
Template Missing:
.kiro/settings/templates/specs/ existsDirectory Creation Failed:
Phase Execution Failed (Phase 2-4):
$kiro-spec-{next-phase} {feature}"Sanity Review Failed:
$kiro-spec-design {feature}, $kiro-spec-tasks {feature}, or manual edits depending on the findingUser Cancellation (Interactive Mode):