Slash Command
/validate-architecture
Create or update human-validated architecture documentation for a package.
From devacInstall
1
Run in your terminal$
npx claudepluginhub pietgk/vivief --plugin devacCommand Content
/devac:validate-architecture - Validate Architecture Documentation
Create or update human-validated architecture documentation for a package.
Usage
/validate-architecture <package-path>
Examples
# Validate devac-core architecture
/validate-architecture packages/devac-core
# Validate current package
/validate-architecture .
What It Does
-
Analyzes package using devac MCP tools:
query_sqlfor structural queriesfind_symbolfor key componentsget_call_graphfor relationshipsquery_effectsfor external integrations
-
Generates documentation files:
docs/c4/architecture-validated.md- Full docs with ASCII diagramsdocs/c4/architecture-validated.c4- LikeC4 DSL for comparisondocs/c4/architecture.reasoning.md- Audit trail
-
Supports refinement - request changes like:
- "Move X to Y container"
- "Add relationship between A and B"
- "Group these as the Storage Layer"
-
Marks as verified when approved
Output Files
architecture-validated.md
Human-readable documentation with:
- Package overview
- C4 Context diagram (ASCII)
- C4 Container diagram (ASCII)
- Key components per layer
- Sequence diagrams for important flows
- External system integrations
architecture-validated.c4
LikeC4 DSL format enabling:
- VS Code viewer preview
- Structural comparison with generated
.c4 - Gap metric calculation
architecture.reasoning.md
Documents the analysis process:
- Queries used
- Inferences made
- Gaps in extracted data
- Assumptions requiring validation
Integration with Improvement Loop
After validation, run gap analysis:
# Check gap between validated and generated
devac architecture score -p packages/devac-core
# See structural differences
devac architecture diff -p packages/devac-core
When to Use
- New package: Create initial architecture documentation
- Significant refactoring: Update after major code changes
- CI drift warning: When
devac validate --architecturewarns - Review preparation: Before architecture discussions
Related Commands
devac architecture status- Check if docs need updatingdevac architecture score- Calculate gap metricsdevac architecture diff- Show structural differencesdevac c4- Generate C4 diagrams from effects
Other plugins with /validate-architecture
Stats
Parent Repo Stars4
Parent Repo Forks0
Last CommitJan 8, 2026