Files
Open_Ultra_SAST/.agents/skills/kiro-steering/rules/steering-principles.md
T
Marius CiepluchandClaude Fable 5.1 16d9ef7110 chore(skills): apply the 2026-10-02 review -- current CLI and evidence, merges, removals, steering names
openultrasast-scan: evidence ladder as verification.py defines it, with the levels nothing produces today; --mode prerequisites, --fail-on, recorded degradations, run artifacts, ousast mcp; retired [evidence] threshold language removed. openultrasast-triage: reasons verified against calibration.py; deterministic fusion; adjudications as labels, plane verdicts as features, rule changes through improve or a registered experiment; fix-audit merged as a fix-and-re-scan section. kiro: spec-quick and spec-batch removed; validate-gap and validate-design merged into spec-design (--gap, --review; the review gate stays); steering-custom merged into steering; core steering names overview.md, roadmap.md, safety-net.md; instrument rule in debug and verify-completion; repo gates named in validate-impl. AGENTS.md, README skills paragraph and tests/test_agent_skills.py (.agents/skills, two product skills, drift tests) updated.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EmM1j46qgKMh3zqD1QMwEo
2026-10-02 19:48:01 +02:00

2.7 KiB

Steering Principles

Steering files are project memory, not exhaustive specifications.


Content Granularity

Golden Rule

"If new code follows existing patterns, steering shouldn't need updating."

✅ Document

  • Organizational patterns (feature-first, layered)
  • Naming conventions (PascalCase rules)
  • Import strategies (absolute vs relative)
  • Architectural decisions (state management)
  • Technology standards (key frameworks)

❌ Avoid

  • Complete file listings
  • Every component description
  • All dependencies
  • Implementation details
  • Agent-specific tooling directories (e.g. .cursor/, .gemini/, .claude/)
  • Detailed documentation of .kiro/ metadata directories (settings, automation)

Example Comparison

Bad (Specification-like):

- /components/Button.tsx - Primary button with variants
- /components/Input.tsx - Text input with validation
- /components/Modal.tsx - Modal dialog
... (50+ files)

Good (Project Memory):

## UI Components (`/components/ui/`)
Reusable, design-system aligned primitives
- Named by function (Button, Input, Modal)
- Export component + TypeScript interface
- No business logic

Security

Never include:

  • API keys, passwords, credentials
  • Database URLs, internal IPs
  • Secrets or sensitive data

Quality Standards

  • Single domain: One topic per file
  • Concrete examples: Show patterns with code
  • Explain rationale: Why decisions were made
  • Maintainable size: 100-200 lines typical

Preservation (when updating)

  • Preserve user sections and custom examples
  • Additive by default (add, don't replace)
  • Add updated_at timestamp
  • Note why changes were made

Notes

  • Templates are starting points, customize as needed
  • Follow same granularity principles as core steering
  • All steering files loaded as project memory
  • Light references to .kiro/specs/ and .kiro/steering/ are acceptable; avoid other .kiro/ directories
  • Custom files equally important as core files

File-Specific Focus

This repository's core steering files:

  • overview.md: What the project is and what is actually true of it; a dated current-state section wins over older history
  • roadmap.md: Milestones, their measured status, and the accepted order of work (not a task list)
  • safety-net.md: Product direction and acceptance criteria (not feature catalogs)
  • Custom files: Specialized patterns (API, testing, security, etc.); they may exist beside the core files and carry equal weight

(The generic bootstrap templates product.md, tech.md, structure.md under .kiro/settings/templates/steering/ cover purpose, key frameworks and organization patterns for a fresh project.)