Validate architecture artifacts against contracts and consistency requirements - codifies systematic validation practices with professional reporting
Validate architecture analysis artifacts (subsystem catalogs, diagrams, reports) against contract requirements and cross-document consistency standards, producing actionable validation reports with clear approval/revision status.
02-subsystem-catalog.md, 03-diagrams.md, or 04-final-report.mdGood validation finds all issues systematically. Poor validation misses violations or invents false positives.
Your goal: Thorough, objective, evidence-based validation with specific, actionable feedback.
Validate single document against its contract:
Example contracts:
02-subsystem-catalog.md): 8 required sections per entry (Location, Responsibility, Key Components, Dependencies [Inbound/Outbound format], Patterns Observed, Concerns, Confidence, separator)03-diagrams.md): Context + Container + 2-3 Component diagrams, titles/descriptions/legends, assumptions section04-final-report.md): Executive summary, TOC, diagrams integrated, key findings, appendicesValidation approach:
Validate that multiple documents align:
Common checks:
Validation approach:
Write to workspace temp/ directory:
<workspace>/temp/validation-<document-name>.md
Examples:
docs/arch-analysis-2025-11-12-1234/docs/arch-analysis-2025-11-12-1234/temp/validation-catalog.mddocs/arch-analysis-2025-11-12-1234/temp/validation-diagrams.mddocs/arch-analysis-2025-11-12-1234/temp/validation-consistency.mdDO NOT use absolute paths like /home/user/skillpacks/temp/ - write to workspace temp/.
# Validation Report: [Document Name]
**Document:** `<path to validated document>`
**Validation Date:** YYYY-MM-DD
**Overall Status:** APPROVED | NEEDS_REVISION (CRITICAL) | NEEDS_REVISION (WARNING)
---
## Contract Requirements
[List the contract requirements being validated against]
---
## Validation Results
### [Entry/Section 1]
**CRITICAL VIOLATIONS:**
1. [Specific issue with line numbers]
2. [Specific issue with line numbers]
**WARNINGS:**
1. [Quality issue, not blocking]
**Passes:**
- ā [What's correct]
- ā [What's correct]
**Summary:** X CRITICAL, Y WARNING
---
### [Entry/Section 2]
...
---
## Overall Assessment
**Total [Entries/Sections] Analyzed:** N
**[Entries/Sections] with CRITICAL:** X
**Total CRITICAL Violations:** Y
**Total WARNINGS:** Z
### Violations by Type:
1. **[Type]:** Count
2. **[Type]:** Count
---
## Recommended Actions
### For [Entry/Section]:
[Specific fix with code block]
---
## Validation Approach
**Methodology:**
[How you validated]
**Checklist:**
[Systematic verification steps]
---
## Self-Assessment
**Did I find all violations?**
[YES/NO with reasoning]
**Coverage:**
[What was checked]
**Confidence:** [High/Medium/Low]
---
## Summary
**Status:** [APPROVED or NEEDS_REVISION]
**Critical Issues:** [Count]
**Warnings:** [Count]
[Final disposition]
When to use:
Report should:
When to use:
Report should:
When to use:
Report should:
Per entry:
[ ] Section 1: Location with absolute path in backticks?
[ ] Section 2: Responsibility as single sentence?
[ ] Section 3: Key Components as bulleted list?
[ ] Section 4: Dependencies in "Inbound: X / Outbound: Y" format?
[ ] Section 5: Patterns Observed as bulleted list?
[ ] Section 6: Concerns present (or "None observed")?
[ ] Section 7: Confidence (High/Medium/Low) with reasoning?
[ ] Section 8: Separator "---" after entry?
[ ] No extra sections beyond these 8?
[ ] Sections in correct order?
Whole document:
[ ] All subsystems have entries?
[ ] No placeholder text ("[TODO]", "[Fill in]")?
[ ] File named "02-subsystem-catalog.md"?
Diagram levels:
[ ] Context diagram (C4 Level 1) present?
[ ] Container diagram (C4 Level 2) present?
[ ] Component diagrams (C4 Level 3) present? (2-3 required)
Per diagram:
[ ] Title present and descriptive?
[ ] Description present after diagram?
[ ] Legend explaining notation?
[ ] Valid syntax (Mermaid or PlantUML)?
Supporting sections:
[ ] Assumptions and Limitations section present?
[ ] Confidence levels documented?
Catalog ā Diagrams:
[ ] Each catalog subsystem shown in Container diagram?
[ ] Each catalog "Outbound" dependency shown as diagram arrow?
[ ] Each diagram arrow corresponds to catalog dependency?
[ ] Bidirectional: If AāB in catalog, B shows A as Inbound?
Diagrams ā Final Report:
[ ] All diagrams from 03-diagrams.md embedded in report?
[ ] Subsystem descriptions in report match catalog?
[ ] Key findings reference actual concerns from catalog?
Step-by-step approach:
Extract from Catalog:
Extract from Diagram:
Rel() statements (Mermaid) or Rel calls (PlantUML)Cross-Reference:
Report Inconsistencies:
ā Thorough checking - Find ALL violations, not just first one ā Specific feedback - Line numbers, exact quotes, actionable fixes ā Professional reports - Metadata, methodology, self-assessment ā Systematic checklists - Document what was verified ā Clear status - APPROVED / NEEDS_REVISION with severity ā Summary visualizations - Tables showing passed vs failed ā Impact analysis - Explain why issues matter ā Self-assessment - Verify own completeness
Thoroughness patterns:
Specificity patterns:
Actionability patterns:
ā Stopping after first violation - Find ALL issues ā Vague feedback ("improve quality" vs "add Concerns section") ā Wrong status level (marking quality issues as CRITICAL) ā False positives (inventing issues that don't exist) ā Too lenient (approving despite violations) ā Too strict (marking everything CRITICAL) ā Wrong file path (absolute path vs workspace temp/) ā Skipping self-assessment (verify your own completeness)
If coordinator says "looks fine to me":
If time pressure exists:
You succeeded when:
You failed when:
This skill is typically invoked as:
Your role: Independent quality gate ensuring artifacts meet standards before progression.