architecture

Installation
SKILL.md

Architecture

Create or update root ARCHITECTURE.md. Design the system we intend to build. Keep this as a long-running system document alongside REQUIREMENTS.md. Use /requirements for product needs and /spec for a feature's technical change.

Process

  1. Read the requirements, repository instructions, existing architecture, and relevant code, schemas, tests, and infrastructure. A new system may have no code yet.
  2. Identify the decisions that shape the system: boundaries, responsibilities, data ownership, dependencies, and quality constraints. Ask for missing consequential decisions; recommend an answer with its tradeoff when evidence supports one.
  3. Choose the simplest structure that satisfies the requirements. For consequential decisions, explain the chosen approach, strongest alternative, reason, and main cost. Consider keeping the existing system when relevant. Skip comparisons that cannot change the choice.
  4. Write the architecture using the shape below. Always include an architecture and data flow diagram. Reference requirements instead of copying them.
  5. Trace critical success and failure flows. Check ownership, contracts, data consistency, security, recovery, and measurable limits against the requirements.
  6. Stop with the architecture ready for review. Do not plan tasks or implement it.

Document shape

Installs
294
GitHub Stars
420
First Seen
Apr 12, 2026