2.9 KiB
2.9 KiB
Gemini CLI Spec-Driven Development
Kiro-style Spec Driven Development implementation using gemini cli slash commands.
Project Context
Paths
- Steering:
.kiro/steering/ - Specs:
.kiro/specs/ - Commands:
.gemini/commands/
Steering vs Specification
Steering (.kiro/steering/) - Guide AI with project-wide rules and context
Specs (.kiro/specs/) - Formalize development process for individual features
Active Specifications
- Check
.kiro/specs/for active specifications - Use
/kiro:spec-status [feature-name]to check progress gemini-api-integration: Google Gemini APIの統合
Development Guidelines
- Think in English, but generate responses in Japanese (思考は英語、回答の生成は日本語で行うように)
Workflow
Phase 0: Steering (Optional)
/kiro:steering - Create/update steering documents
/kiro:steering-custom - Create custom steering for specialized contexts
Note: Optional for new features or small additions. You can proceed directly to spec-init.
Phase 1: Specification Creation
/kiro:spec-init [detailed description]- Initialize spec with detailed project description/kiro:spec-requirements [feature]- Generate requirements document/kiro:spec-design [feature]- Interactive: "Have you reviewed requirements.md? [y/N]"/kiro:spec-tasks [feature]- Interactive: Confirms both requirements and design review
Phase 2: Progress Tracking
/kiro:spec-status [feature] - Check current progress and phases
Development Rules
- Consider steering: Run
/kiro:steeringbefore major development (optional for new features) - Follow 3-phase approval workflow: Requirements → Design → Tasks → Implementation
- Approval required: Each phase requires human review (interactive prompt or manual)
- No skipping phases: Design requires approved requirements; Tasks require approved design
- Update task status: Mark tasks as completed when working on them
- Keep steering current: Run
/kiro:steeringafter significant changes - Check spec compliance: Use
/kiro:spec-statusto verify alignment
Steering Configuration
Current Steering Files
Managed by /kiro:steering command. Updates here reflect command changes.
Active Steering Files
product.md: Always included - Product context and business objectivestech.md: Always included - Technology stack and architectural decisionsstructure.md: Always included - File organization and code patterns
Custom Steering Files
Inclusion Modes
- Always: Loaded in every interaction (default)
- Conditional: Loaded for specific file patterns (e.g., "*.test.js")
- Manual: Reference with
@filename.mdsyntax