Agent skill
kiro-steering
Manage {{KIRO_DIR}}/steering/ as persistent project knowledge
Install this agent skill to your Project
npx add-skill https://github.com/gotalab/cc-sdd/tree/main/tools/cc-sdd/templates/agents/windsurf-skills/skills/kiro-steering
Metadata
Additional technical details for this skill
- shared rules
- steering-principles.md
SKILL.md
Kiro Steering Management
<background_information>
Role: Maintain {{KIRO_DIR}}/steering/ as persistent project memory.
Mission:
- Bootstrap: Generate core steering from codebase (first-time)
- Sync: Keep steering and codebase aligned (maintenance)
- Preserve: User customizations are sacred, updates are additive
Success Criteria:
- Steering captures patterns and principles, not exhaustive lists
- Code drift detected and reported
- All
{{KIRO_DIR}}/steering/*.mdtreated equally (core + custom) </background_information>
Check {{KIRO_DIR}}/steering/ status:
Bootstrap Mode: Empty OR missing core files (product.md, tech.md, structure.md)
Sync Mode: All core files exist
Bootstrap Flow
- Load templates from
{{KIRO_DIR}}/settings/templates/steering/ - Analyze codebase (JIT):
Parallel Research
The following research areas are independent and can be executed in parallel:
- Product analysis: README, package.json, documentation files for purpose, value, core capabilities
- Tech analysis: Config files, dependencies, frameworks for technology patterns and decisions
- Structure analysis: Directory tree, naming conventions, import patterns for organization
If multi-agent is enabled, spawn sub-agents for each area above. Otherwise execute sequentially.
After all parallel research completes, synthesize patterns for steering files.
- Extract patterns (not lists):
- Product: Purpose, value, core capabilities
- Tech: Frameworks, decisions, conventions
- Structure: Organization, naming, imports
- Generate steering files (follow templates)
- Load principles from
rules/steering-principles.mdfrom this skill's directory - Present summary for review
Focus: Patterns that guide decisions, not catalogs of files/dependencies.
Sync Flow
- Load all existing steering (
{{KIRO_DIR}}/steering/*.md) - Analyze codebase for changes (JIT)
- Detect drift:
- Steering → Code: Missing elements → Warning
- Code → Steering: New patterns → Update candidate
- Custom files: Check relevance
- Propose updates (additive, preserve user content)
- Report: Updates, warnings, recommendations
Update Philosophy: Add, don't replace. Preserve user sections.
Granularity Principle
From rules/steering-principles.md (in this skill's directory):
"If new code follows existing patterns, steering shouldn't need updating."
Document patterns and principles, not exhaustive lists.
Bad: List every file in directory tree
Good: Describe organization pattern with examples
Tool guidance
- Glob: Find source/config files
- Read: Read steering, docs, configs
- Grep: Search patterns
- Bash with
ls: Analyze structure
JIT Strategy: Fetch when needed, not upfront.
Output description
Chat summary only (files updated directly).
Bootstrap:
✅ Steering Created
## Generated:
- product.md: [Brief description]
- tech.md: [Key stack]
- structure.md: [Organization]
Review and approve as Source of Truth.
Sync:
✅ Steering Updated
## Changes:
- tech.md: React 18 → 19
- structure.md: Added API pattern
## Code Drift:
- Components not following import conventions
## Recommendations:
- Consider api-standards.md
Examples
Bootstrap
Input: Empty steering, React TypeScript project
Output: 3 files with patterns - "Feature-first", "TypeScript strict", "React 19"
Sync
Input: Existing steering, new /api directory
Output: Updated structure.md, flagged non-compliant files, suggested api-standards.md
Safety & Fallback
- Security: Never include keys, passwords, secrets (see principles)
- Uncertainty: Report both states, ask user
- Preservation: Add rather than replace when in doubt
Notes
- All
{{KIRO_DIR}}/steering/*.mdloaded as project memory - Templates and principles are external for customization
- Focus on patterns, not catalogs
- "Golden Rule": New code following patterns shouldn't require steering updates
- Avoid documenting agent-specific tooling directories (e.g.
.cursor/,.gemini/,.claude/) {{KIRO_DIR}}/settings/content should NOT be documented in steering files (settings are metadata, not project knowledge)- Light references to
{{KIRO_DIR}}/specs/and{{KIRO_DIR}}/steering/are acceptable; avoid other.kiro/directories
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
kiro-spec-batch
Create complete specs (requirements, design, tasks) for all features in roadmap.md using parallel sub-agent dispatch by dependency wave.
kiro-debug
Investigate implementation failures using root-cause-first debugging. Use when an implementer is blocked, verification fails, or repeated remediation does not converge.
kiro-spec-quick
Quick spec generation with interactive or automatic mode
kiro-steering-custom
Create custom steering documents for specialized project contexts
kiro-spec-init
Initialize a new specification with detailed project description
kiro-review
Review a task implementation against approved specs, task boundaries, and verification evidence. Use after an implementer finishes a task, after remediation, or before accepting a task as complete.
Didn't find tool you were looking for?