Vista Add
Expand an existing feature with new requirements and updated architecture diagrams.
Invocation
code
/vista:add <feature-name>
Prerequisites
- •
.vista/features/<name>/must exist with:- •
domain-requirements.md— Existing domain requirements (run/vista:planfirst) - •
arch/— Architecture diagrams directory with_arch.jsonmanifest
- •
Workflow
Step 1: Load Current State
Read and summarize the current feature state:
- •Read
.vista/features/<name>/domain-requirements.md— show key JTBD and requirements summary - •Read
arch/_arch.json— list all existing diagrams (architecture and TDD) - •Read all diagram files in
arch/(.mmd,.puml,.d2,.excalidraw,.txt) — understand current architecture - •List existing specs in
.vista/features/<name>/specs/ - •Present a concise summary to the user of what exists
Step 2: Gather New Requirements
Ask the user what they want to add or expand using AskUserQuestion:
- •New user stories or jobs to be done?
- •New UI workflows or screens?
- •New data entities or relationships?
- •New services or integrations?
- •Extensions to existing components?
- •New non-functional requirements?
Be specific about what already exists to avoid duplication.
Step 3: Update Documentation
Based on user input:
- •Append new content to
domain-requirements.md(don't overwrite existing content) - •Flag new TDD candidates — if new requirements involve heavy logic, append to the
## TDD Candidatessection - •Note which existing specs will need updating and which new specs will be needed (actual spec generation is done by
/vista:specs)
Step 4: Update Architecture Diagrams
Generate new or updated diagram files in arch/. New diagrams can use any supported format — not just Mermaid. Choose the best format based on what you're representing (see vista/skills/diagrams/SKILL.md for format selection guidance).
- •Update existing diagrams if new requirements extend existing components
- •Create new diagrams for newly introduced components or flows (in the best format for the content)
- •Update
arch/_arch.jsonmanifest with any new diagram entries
Follow the same conventions as /vista:plan Step 3 for diagram generation.
Step 5: Report
Tell the user:
- •Requirements updated — what was appended to domain-requirements.md
- •Diagrams updated — which diagrams were modified or created
- •New TDD candidates — any newly flagged components
- •Next steps:
- •Review diagrams in the web dashboard or terminal
- •
/vista:tdd <name>— Generate TDD diagrams for any new TDD candidates - •
/vista:specs <name>— Regenerate specs to incorporate new requirements
Output
After expansion:
- •
domain-requirements.md— Appended with new requirements - •
arch/*— New or updated architecture diagrams (.mmd,.puml,.d2,.excalidraw,.txt) - •
arch/_arch.json— Updated manifest