Skip to content
This project is under active development and subject to breaking changes. See the changelog for release notes.

Instructions

Instructions are path-scoped rules (under 50 lines each) that are deterministically loaded whenever an agent edits a file matching the glob pattern. They ensure consistent formatting and structure without configuration.

InstructionScope (applyTo)Purpose
specs.instructions.mddocs/features/**/spec.mdFeature specification format
adrs.instructions.mddocs/architecture/decisions/*.mdADR format with status and traceability
tasks.instructions.mddocs/features/**/tasks.mdTask decomposition format
envisioning.instructions.mddocs/envisioning/**Envisioning document format
migration-specs.instructions.mddocs/migrations/**/spec.mdMigration specification format
migration-tasks.instructions.mddocs/migrations/**/tasks.mdMigration task decomposition
documentation-style.instructions.mddocs/**/*.mdGeneral markdown style rules

Applied to: docs/features/**/spec.md

  • Focus on WHAT/WHY, never HOW
  • Written for business stakeholders, not developers
  • User stories prioritized P1/P2/P3, independently testable
  • Quantify vague terms: “fast” becomes specific latency, “easy” becomes specific steps
  • Conformance table: ID, Scenario, Input, Expected Output
  • Minimum 3 cases (happy path, error, edge case)
  • Maximum 3 [NEEDS CLARIFICATION] markers