ワンクリックで
kiro-spec-quick
Quick spec generation with interactive or automatic mode
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Quick spec generation with interactive or automatic mode
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
cc-sdd実装用統合ブランチのコミット群(ベースブランチとの差分)をreview slice単位のstacked PRに再構成する際に使用。「review sliceに分割」「stacked PRを作成」「PRをスタックして」「レビュー用にPRを分けて」「review slice stack」という依頼でトリガーする。dry-run(既定)でslice計画を提示し、apply指示で実際にブランチ・PRを作成する。
stacked PRの下位PRがマージされた後に上位branchをrestack(rebase/cherry-pick再構成)する際に使用。「restackして」「上位PRを更新して」「restack after merge」「PRのbaseを更新」「スタックを整理」という依頼でトリガーする。対象sliceの特定→rebase→変更ファイル確認と代表テスト実行→force-with-leaseでpush→PR base更新→auto-merge判定の順で進める。
リリース前の全ファイル静的解析スキル。プロジェクト構造を自動検出し、ソースモジュールごとのサブエージェントと依存関係スキャンを並列実行してコードベース全体の脆弱性を検出する。手動呼び出し専用: /sec-full-scan
ステージング環境にデプロイ済みのサーバーに対してランタイム検証を実行する。HTTPヘッダー・動的プローブ・認証テストに特化。手動呼び出し専用: /sec-runtime-scan [環境名]
PR・ブランチの変更差分(git diff)を静的解析してセキュリティ脆弱性を検出する。開発中・PRレビュー時に使用。手動呼び出し専用: /sec-diff-review
PRの未Resolveレビュー指摘に対応するスキル。「PRの指摘に対応して」「Resolveされていないスレッドを解消」「PR reviewの対応」「未解決のレビューコメントを修正」「Copilotの指摘を直して」「Codexの指摘に対応」「chatgpt-codex-connectorの指摘」「レビュー対応」で起動。PR URL or 番号 → 未Resolveスレッド取得 → 対象ファイル修正 → ユーザーへ最終ゲートとプッシュの実行手順を案内、の流れで進める。
| 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 the host supports fresh sub-agents, use one. 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:
docs/specs/{feature-name}/brief.md exists (created by /kiro-discovery), read it for discovery context (problem, approach, scope, constraints)$ARGUMENTSGenerate Feature Name:
Check Uniqueness:
docs/specs/*/brief.md (no spec.json), use that directory (discovery created it)-2, -3, etc.Create Directory:
mkdir -p docs/specs/{feature-name} (skip if already exists from discovery)Initialize Files from Templates:
a. Read templates:
- docs/settings/templates/specs/init.json
- docs/settings/templates/specs/requirements-init.md
b. Replace placeholders:
{{FEATURE_NAME}} → feature-name
{{TIMESTAMP}} → current ISO 8601 timestamp (use `date -u +"%Y-%m-%dT%H:%M:%SZ"`)
{{PROJECT_DESCRIPTION}} → description
ja → language code (detect from user's input language, default to `en`)
c. Write files using Write tool:
- docs/specs/{feature-name}/spec.json
- docs/specs/{feature-name}/requirements.md
Output Progress: "Phase 1/4 complete: Spec initialized at docs/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 docs/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:
- docs/specs/{feature}/spec.json
- docs/specs/{feature}/requirements.md ({X} requirements)
- docs/specs/{feature}/design.md ({Y} components, {Z} endpoints)
- docs/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:
docs/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):