From cf-saas-stack
Updates the project's living architecture document with route maps, feature flows, ER diagrams, and changelog after feature or schema changes.
How this command is triggered — by the user, by Claude, or both
Slash command
/cf-saas-stack:architecture-tracker <feature or change to document>This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Architecture Tracker Maintain the project's living high-level architecture document at `docs/architecture/overview.md`. Update context: $ARGUMENTS ## When to Use Invoke **after** completing: - New feature implementation - New routes added - Database schema changes - Architectural decisions - Navigation or flow changes ## Quick Start 1. **Check the document exists**: `docs/architecture/overview.md` 2. **Review recent changes**: What routes, features, or tables were added? 3. **Update relevant sections**: Route Map, Feature Flows, Data Relationships 4. **Add changelog entry**: Documen...
Maintain the project's living high-level architecture document at docs/architecture/overview.md.
Update context: $ARGUMENTS
Invoke after completing:
docs/architecture/overview.md| Section | What It Shows | When to Update |
|---|---|---|
| Product Overview | Mindmap of capabilities | New feature areas |
| Route Map | Visual route hierarchy | New routes added |
| Information Architecture | Route table with details | New/changed routes |
| Feature Flows | Diagrams per feature | New features |
| Data Relationships | ER diagram | Schema changes |
| System Architecture | Tech layer diagram | Architectural changes |
| Changelog | Dated list of changes | Every update |
1. Read the feature's architecture doc (if exists):
docs/features/[feature]-architecture.md
2. Update docs/architecture/overview.md:
- Add to Product Overview mindmap
- Add new routes to Route Map
- Add row(s) to Information Architecture table
- Add Feature Flow section with diagram
- Update Data Relationships if new tables
- Add Changelog entry
1. Update Route Map flowchart
2. Add row(s) to Information Architecture table
3. Add Changelog entry
1. Update Data Relationships ER diagram
2. Add Changelog entry
### YYYY-MM-DD - Feature/Change Name
- Added: Description of what was added
- Changed: Description of what changed
- Removed: Description of what was removed
Use the Task tool to delegate this work:
Update the architecture overview document (docs/architecture/overview.md) after implementing [feature name].
Changes made:
- New routes: [list routes]
- New tables: [list tables]
- New features: [describe]
Reference: docs/features/[feature]-architecture.md (if exists)
After /implement-feature: The architecture-tracker should run to update the high-level view.
After context update: Context update handles detailed technical docs; architecture-tracker updates the visual overview.
Execution order:
implement-feature → context update → architecture-tracker
| Aspect | Context Update | Architecture Tracker |
|---|---|---|
| Audience | AI agents | Human developers |
| Format | Compressed text indices | Visual diagrams |
| Focus | Technical details | High-level structure |
| Primary content | API, security, data models | Route maps, flows, changelog |
| Update frequency | After any change | After architectural changes |
Before completing an architecture update:
app/routes.ts)npx claudepluginhub casper-studios/casper-marketplace --plugin cf-saas-stack/create-architecture-documentationAnalyzes system architecture and generates comprehensive documentation across context, containers, components, data, security, and quality. Supports C4, Arc42, ADRs, and diagram-as-code via PlantUML or Mermaid.
/docsGenerates OpenAPI specs, Mermaid diagrams, READMEs, changelogs, and ADRs. Supports api, diagram, readme, changelog, adr, all via <type> arg.
/flow-architecture-evolutionOrchestrates architecture evolution workflows: assess triggers, manage ADRs, analyze breaking changes, plan migrations, and update architecture documentation (SAD, diagrams).
/design-reviewReviews the current design_doc.json, validates structure, displays it in a readable format, and enables interactive edits to components, patterns, decisions, and story mappings.
/architecture-docGenerates a structured architecture document for a codebase or module, including component tables, data-flow diagrams, cross-cutting concerns, and known gaps.
/update-app-designUpdates the application design document to reflect codebase changes, new features, and project evolution. Reads existing doc, detects changes, and interactively syncs.