Searching for kiro steering examples (or “steering sample / file examples / vs skills / vs agents.md”) usually means you want durable repo contracts Kiro’s coding agent will load—not another Generate Steering wizard walkthrough. This page shows illustrative layouts under a typical .kiro/steering/ tree, short copy-ready snippets, a clear inclusion split (always / auto / manual / fileMatch), and a practical division of labor with root AGENTS.md. Treat every path as illustrative—Kiro builds change discovery—so re-check official product docs on your installed build. We deliberately skip IDE Generate Steering steps, account login, and install panels; those belong upstream.

01

Independence note

02

What Kiro steering is for (vs AGENTS.md & prompts)

Steering files encode product intent, tech defaults, and structure contracts that should stay true across sessions. Put durable house style in steering; put this ticket’s goal in the chat brief; keep secrets out of both.

  • Product steering: who the product serves, non-goals, tone, and what “done” means for the domain.
  • Tech steering: stack defaults, test/build commands, forbidden infra changes.
  • Structure steering: where code lives, naming, and which folders agents must not invent parallels for.
  • Domain / feature files: scoped contracts for a package or surface (payments, auth, workers)—often fileMatch or manual.
  • AGENTS.md: portable root agent brief many tools also read—good for cross-tool contracts. See how to write AGENTS.md.
  • Session prompts: this ticket’s objective, acceptance checks, and temporary non-goals.
  • Neither: API keys, production credentials, or one-off customer data.

Prefer one clear statement of each convention. Thin Kiro-specific deltas in steering; shared multi-tool facts in AGENTS.md. Compare packaging with TRAE rules examples, JetBrains AI rules examples, Amazon Q rules examples, Cursor rules examples, and Augment rules examples. Multi-file choice notes live in AGENTS.md vs CLAUDE.md vs Cursor rules.

03

Inclusion modes: always / auto / manual / fileMatch

Product docs and community notes often describe how steering is included into a session. Exact labels can differ by build—treat the following as a practical mental model, then re-check your IDE:

  • always: house style that must load for every agent turn in this repo (indent, safety non-goals, verify commands). Keep this layer short.
  • auto: the host may pull the file when relevance heuristics match (topic, open files, keywords). Good for domain playbooks you do not want always-on.
  • manual: human or agent explicitly attaches the file for this ticket. Prefer for rare, heavy, or sensitive contracts.
  • fileMatch (globs): apply when edited paths match (for example src/payments/**). Prefer over always-on novels when only one package cares.

04

File layout & relationship to AGENTS.md

Community and product docs often show Markdown under a .kiro/steering/ tree—product, tech, structure, plus optional domain files. Prefer one concern per file when you split. Exact auto-load behavior can differ between chat and agent modes—confirm on your build.

project/
  AGENTS.md                     # portable cross-tool brief (optional but useful)
  .kiro/
    steering/
      product.md                # always-on product intent / non-goals
      tech.md                   # stack, verify commands, forbidden infra
      structure.md              # layout contracts
      payments.md               # fileMatch or manual domain file
  src/
  ...

AGENTS.md division of labor: keep facts that every coding agent should know (package manager, test command, forbidden paths) in a short root AGENTS.md. Keep Kiro-flavored or inclusion-mode specifics in steering. When teammates also use Cursor, TRAE, or JetBrains, put the canonical sentence in AGENTS.md once and keep IDE steering as thin deltas. Deeper comparison: AGENTS.md vs rules.

This page does not walk through Kiro’s Generate Steering wizard, Settings toggles, or account login—those change often and are covered by official product Help.

05

Copy-ready Kiro steering examples

Adapt these templates. Replace stack names, commands, and non-goals with your repo’s truth. Keep them short enough that a human will maintain them.

product.md — always-on product intent

# Product steering (Kiro)

- Audience: developers reading engineering notes; prefer clarity over marketing.
- Non-goals: do not invent a SaaS pricing page or payment flow unless the user asks.
- Tone: concise, imperative, English for code/docs unless the user writes Chinese.
- Done means: the stated acceptance check passes; no drive-by rebrand.

tech.md — stack & verify

# Tech steering

- Prefer extending an existing module pattern over inventing a parallel layout.
- Run the project’s documented test / build command before claiming done.
- Do not change production deploy pipelines, DNS, or payment config unless the user explicitly asks.
- Never print or commit secrets, access keys, or session tokens.
- Indent and naming: match the nearest sibling files; do not reformat unrelated trees.

structure.md — layout contracts

# Structure

- New English guides live under src/pages/ and register in src/index.tsx pages[].
- FAQ arrays live in src/content/pageFaqs.ts; keep FAQPage JSON-LD in sync.
- Prefer 4-space indent; mobile-first; do not delete already-indexed URLs.

Domain file — payments (fileMatch / manual)

# Payments domain (attach when editing payment paths)

- Prefer existing payment helpers; do not invent a second Stripe client.
- Never log full card numbers, tokens, or webhook secrets.
- Ask before changing live price IDs or webhook endpoints.

When tools live outside the IDE, pair steering with a clear tool policy in the prompt. For MCP host pitfalls, see the MCP server tutorial and MCP server best practices.

06

Writing patterns that stick

  1. Imperative and testable. “Run pnpm test” beats “ensure quality.”
  2. Name artifacts. Paths, package managers, and CI jobs beat vibes.
  3. State non-goals. Forbid prod deploys, drive-by refactors, and secret echo.
  4. Match inclusion to blast radius. always for house style; fileMatch for packages; manual for rare heavy contracts.
  5. Separate AGENTS.md from Kiro steering. Shared facts once; IDE-specific deltas thin.
  6. Point at exemplars. “Match the existing repository layer” beats reinventing access patterns.

Steering degrades when it becomes a wishlist. If the agent still violates a rule after two sessions, either the file is vague, inclusion mode is wrong, AGENTS.md was assumed loaded when it was not, or a stronger nearby example is missing—verify discovery on your Kiro surface first.

07

Anti-patterns

  • Novel-length always-on steering: crowds context and gets sampled inconsistently.
  • Mirroring Generate Steering / install steps inside files: wizard paths belong in Help docs, not committed contracts.
  • Contradictions: “always open network” next to “least privilege.”
  • Secrets in steering: files are often committed; use secret managers instead.
  • Copying Cursor / TRAE / JetBrains rules wholesale without remapping: wrong directory, wrong inclusion model.
  • Duplicating the same wall into AGENTS.md and every steering file: sync cost explodes; pick one canonical layer per concern.
  • fileMatch that is effectively always: **/* globs defeat progressive inclusion.

Related reading: Augment rules examples · TRAE AI rules examples · JetBrains AI rules examples · Amazon Q rules examples · How to write AGENTS.md · AGENTS.md vs CLAUDE.md vs Cursor rules · Cursor rules examples · Junie guidelines examples · How to write CLAUDE.md · Good agent prompts · Agent engineering notes

08

FAQ

Where should I put kiro steering examples in a repo?

Most teams use Markdown under .kiro/steering/ at the project root (for example product.md, tech.md, structure.md). Exact auto-load behavior depends on your Kiro version—confirm in current product docs. This site’s examples are unofficial templates, not a product catalog.

always vs auto vs manual vs fileMatch—how do I choose?

Keep true house style in always; use fileMatch for package-scoped contracts; reserve manual for rare heavy files; treat auto as relevance-gated middle ground. See inclusion modes above.

How should Kiro steering relate to AGENTS.md?

Put portable, cross-tool contracts in AGENTS.md and keep Kiro-specific deltas in steering. Multi-tool teams often keep a short root AGENTS.md and thinner IDE files. See AGENTS.md vs CLAUDE.md vs Cursor rules.

Is this a Kiro Generate Steering or install guide?

No. This page only covers copy-ready steering writing, inclusion modes, and AGENTS.md division of labor. Generate Steering wizards and install steps belong in official Kiro Help—re-check those after upgrades.

Is this official Kiro documentation?

No. Unofficial practice notes from 墨码 / codemo.fun—not affiliated with Kiro. Treat templates as starting points and re-verify paths after upgrades.