architecture-doc-auditor
Systematic completeness audit of Architecture Documentation using 188-item viewpoint-based checklist, severity-classified gap detection, technical debt indicators, and architecture anti-pattern scanning. Supports TOGAF, C4, arc42, and IEEE 42010 frameworks. PROACTIVELY activate for: (1) Architecture review gates, (2) ADR validation before implementation, (3) C4 diagram completeness check, (4) Technical debt assessment, (5) Pre-implementation validation, (6) Governance compliance audit, (7) Design doc handoff review. Triggers: "audit architecture", "review ADR", "check architecture doc", "validate design doc", "architecture review", "audit C4 diagrams", "check system context", "technical debt assessment", "architecture health check", "governance review", "architecture completeness"
What this skill does
# Architecture Documentation Auditor A systematic audit system that evaluates Architecture Documentation against a comprehensive 188-item viewpoint-based checklist, detecting gaps, classifying severity, identifying technical debt signals, scanning for architecture anti-patterns, and generating actionable remediation roadmaps. Implements the GAP-AUDIT pattern (PATTERN-08) to produce CONTRACT-07 compliant GAP-INVENTORY output with Architecture Health Score extensions. --- ## 1. Purpose This skill provides 12 core capabilities: | # | Capability | Phase | Description | |---|------------|-------|-------------| | 1 | **Framework Detect** | 1 | Identify architecture framework (TOGAF, C4, arc42, IEEE 42010) | | 2 | **Document Parse** | 1 | Extract architecture structure, diagrams, and decision records | | 3 | **Viewpoint Map** | 2 | Apply 14-viewpoint coverage framework to document sections | | 4 | **Item-by-Item Verify** | 3 | Check each of 188 checklist items against content | | 5 | **Gap Detect** | 3 | Identify missing, incomplete, or inconsistent elements | | 6 | **Classify Gap Type** | 4 | Categorize gaps using 6-type taxonomy | | 7 | **Score Severity** | 4 | Apply RUBRIC-07 (impact, likelihood, detectability) | | 8 | **Anti-Pattern Scan** | 5 | Detect 25 architecture anti-patterns | | 9 | **Debt Signal Detect** | 5 | Identify 25+ technical debt indicators | | 10 | **Quality Attribute Validate** | 4 | Verify ISO 25010 quality attribute coverage | | 11 | **Remediate Suggest** | 5 | Generate fix recommendations with effort estimates | | 12 | **Synthesize Report** | 6 | Produce GAP-INVENTORY + Health Score + Debt Roadmap | --- ## 2. When to Use **Ideal for:** - Architecture review gates before implementation - ADR validation before development starts - C4 diagram completeness verification - Technical debt assessment and tracking - Pre-implementation readiness check - Governance and compliance audits - Design document handoff to development teams - Architecture decision board preparation - System modernization planning - Security architecture review **Avoid when:** - Document is code, not architecture (use code review) - Operational runbook review (use operations auditor) - Early ideation phase (architecture not yet defined) - Quick clarifying questions (formal audit adds overhead) - Infrastructure-as-Code review (use IaC auditor) - API specification only (use API spec auditor) --- ## 3. Parameters | Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | `document` | string | **yes** | — | Architecture document content or file reference | | `document_type` | enum | no | `design_doc` | adr \| design_doc \| system_context \| container \| component \| deployment \| sequence \| data_flow | | `framework` | enum | no | `auto` | togaf \| c4 \| arc42 \| ieee_42010 \| custom \| auto | | `audit_depth` | enum | no | `standard` | surface \| standard \| exhaustive | | `viewpoints` | list | no | `core_10` | List of viewpoint IDs (V1-V14) to validate | | `quality_attributes` | list | no | `all` | ISO 25010 attributes to validate | | `include_debt_assessment` | boolean | no | `true` | Whether to scan for technical debt indicators | | `include_anti_patterns` | boolean | no | `true` | Whether to scan for architecture anti-patterns | | `governance_context` | enum | no | `team` | enterprise \| team \| project | | `output_format` | enum | no | `full` | full \| executive \| debt_roadmap_only | ### Document Type Effects | Type | Primary Viewpoints | Checklist Focus | |------|-------------------|-----------------| | **adr** | V10 | Decision structure, rationale, consequences | | **design_doc** | V1-V10 | Full viewpoint coverage | | **system_context** | V1, V6, V7 | External actors, integrations, boundaries | | **container** | V2, V5, V6 | Technology choices, communication patterns | | **component** | V3, V6 | Internal structure, interfaces | | **deployment** | V4, V8 | Infrastructure, scaling, operations | | **sequence** | V6 | API flows, interaction patterns | | **data_flow** | V5, V7 | Data stores, flows, security | ### Audit Depth Effects | Depth | Behavior | |-------|----------| | **surface** | Critical items only (~60 items), structural gaps, no anti-patterns | | **standard** | Full checklist for relevant viewpoints, anti-patterns, standard remediation | | **exhaustive** | All viewpoints including conditional, deep anti-pattern analysis, debt indicators, detailed remediation | ### Governance Context Effects | Context | Compliance Level | Output Focus | |---------|-----------------|--------------| | **enterprise** | Full compliance frameworks (SOC2, GDPR, PCI-DSS) | Governance reporting, compliance matrix | | **team** | Standard architecture practices | Team handoff, implementation readiness | | **project** | Minimal viable documentation | Quick assessment, critical gaps only | --- ## 4. Six-Phase Workflow ### Phase 1: Document Intake & Framework Detection **Purpose:** Load document and establish audit context. **Steps:** 1. Receive architecture document (inline or file reference) 2. Detect architecture framework: - C4: Look for Context/Container/Component/Code levels - arc42: Look for 12-section template structure - TOGAF: Look for ADM phase artifacts - IEEE 42010: Look for formal viewpoint definitions 3. Load `architecture-checklist.md` reference 4. Calibrate checklist based on `document_type`: - Filter items by viewpoint applicability - Adjust severity levels for document type - Set critical items that must be present 5. Parse document to identify structure: - Extract section headers and hierarchy - Identify diagram references and types - Note ADRs (Architecture Decision Records) - Detect technology stack references 6. Load `viewpoint-catalog.md` for structural validation 7. Initialize gap tracking structure with empty findings **Techniques Used:** - `document_structure_extraction` - Parse document hierarchy - `framework_detection` - Identify architecture methodology - `checklist_calibration` - Adjust criteria for context **Quality Gate:** Framework identified; checklist calibrated for document type; structure parsed with sections identified **Output:** Calibrated checklist (N items) + Document structure map + Detected framework --- ### Phase 2: Viewpoint Mapping & Scope Definition **Purpose:** Map document sections to architecture viewpoints and identify structural gaps. **Steps:** 1. Load viewpoint framework from `viewpoint-catalog.md`: **Core Viewpoints (Always Assess):** - V1: Context & Scope (system boundary, external actors) - V2: Container Architecture (major components, technology choices) - V3: Component Design (internal structure, interfaces) - V4: Deployment Topology (infrastructure, scaling) - V5: Data Architecture (data stores, flows, ownership) - V6: Integration & APIs (contracts, protocols, versioning) - V7: Security Architecture (auth, encryption, compliance) - V8: Operational Concerns (monitoring, SLOs, runbooks) - V9: Cross-Cutting Concerns (logging, caching, config) - V10: Decision Record (ADRs, rationale, consequences) **Conditional Viewpoints (If Applicable):** - V11: Multi-tenancy (SaaS/multi-tenant systems) - V12: Event Architecture (event-driven systems) - V13: Migration Path (legacy modernization) - V14: Compliance Matrix (regulated industries) 2. Map each document section to viewpoints: - Assign based on content, not just header - Flag orphan sections (don't fit any viewpoint) - Flag missing viewpoints (no sections mapped) 3. Identify structural gaps: - Core viewpoint with no coverage = CRITICAL structural gap - Core viewpoint with partial coverage = HIGH structural gap - Conditional viewpoint missing when applicable = MEDIUM gap 4. Check for applicable conditional viewpoints: - Multi-tenancy: Evidence of tenant-based requirements - Event architecture: E
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.