What problem does it solve? AI agents lose critical project knowledge when decisions, rationale, and behavioral contracts live only in chat history or are scattered across hundreds of files. This Skill defines how to write specifications that consolidate that knowledge into a durable source of truth, distinct from human-oriented documentation. ## Core Features & Use Cases - Spec Content Rules: Defines what belongs in a spec — glossaries, business rules, architectural boundaries, decisions, rationale, future plans, and behavioral contracts — and what to exclude because a single source already exists (package.json, code signatures, file structure). - Standard File Layout: Establishes a convention of PRODUCT.md, COMPONENT.md, CONTEXT.md, and PROJECT.md per entity type, plus optional DATA_MODEL.md and UI.md companions, with a defined fallback chain for spec discovery. - Anti-pattern Guidance: Prevents duplication of code-derived facts, verbose prose, and human-oriented docs by enforcing concise table-based formats. - Use Case: When an agent might accidentally break a UI default or rename a schema field, a spec written with this Skill records the contract (e.g., "config.json uses snake_case keys") so the agent checks it before changing behavior. ## Quick Start Ask the AI to write a COMPONENT.md spec for the current package following the spec-architect conventions, capturing its architecture, decisions, and behavioral contracts.