← Back to Index

Steering - Quick Reference

File Locations

ScopePathPrecedence
Global (user-level)~/.kiro/steering/*.mdLower (overridden by workspace)
Workspace.kiro/steering/*.mdHigher

Front-matter Options (Complete Schema)

---
inclusion: auto | fileMatch | manual
fileMatchPattern: "glob/pattern/**/*.ts"   # required when inclusion: fileMatch
---

This is the full schema. Steering files only support these two keys - there are no other options.

Inclusion Modes

ModeFront-matterWhen loadedUse for
Always-oninclusion: auto (or omitted)Every messageCore conventions, architecture overview
Conditionalinclusion: fileMatchWhen a matching file is readDomain-specific rules (API, DB, UI)
Manualinclusion: manualOnly when invoked via / or #Large reference docs, infrequent tasks

File References

Refer to #[[file:relative/path/from/workspace-root.yaml]]

Loads the referenced file's content into context alongside the steering file. Chain multiple references in one file.

Glob Pattern Examples (fileMatch)

PatternMatches
src/api/**/*.tsAny .ts file under src/api/ at any depth
**/*.test.tsAny test file anywhere
*.mdMarkdown files in root only
src/components/**All files under src/components/

Best Practices

How to Invoke Manual Steering

Relationship to Other Features

FeatureRelationship to Steering
SkillsSkills use the same file-reference syntax; they're invoked steering
PowersPowers inject their own steering files on activation
Hooks (agent type)Agent hooks inject prompt text, like event-triggered steering
SpecsSpecs read steering for project context during generation
Multi-rootEach workspace folder gets its own .kiro/steering/

Official Docs