BMAD-METHOD/expansion-packs/bmad-c4-architecture/checklists/c4-model-checklist.md

5.8 KiB

C4 Model Quality Assurance Checklist

Context Diagram (Level 1) Checklist

Completeness

  • All key users are represented
  • Main software system is clearly defined
  • All external systems are identified
  • System description is clear and concise
  • Business context is provided

Relationships

  • All user interactions are defined
  • System-to-external system relationships are clear
  • Relationship labels are descriptive
  • Technology protocols are specified
  • Data flow direction is clear

Clarity

  • Diagram is understandable to non-technical stakeholders
  • Element names are business-focused
  • No technical jargon in descriptions
  • Layout is clean and uncluttered
  • Relationships don't cross unnecessarily

Best Practices

  • Follows C4 model principles
  • Appropriate abstraction level
  • Consistent naming conventions
  • No missing elements
  • Technology choices are justified

Container Diagram (Level 2) Checklist

Completeness

  • All major containers are represented
  • Technology stack is specified for each container
  • Container responsibilities are clear
  • All external systems are included
  • User interactions are shown

Relationships

  • Container-to-container communication is defined
  • Data flow patterns are clear
  • Security boundaries are identified
  • Communication protocols are specified
  • No circular dependencies

Technology

  • Technology choices are appropriate
  • Scalability considerations are addressed
  • Security requirements are met
  • Performance implications are considered
  • Maintenance requirements are reasonable

Architecture

  • Architecture patterns are appropriate
  • Separation of concerns is maintained
  • Dependencies are minimized
  • Interfaces are well-defined
  • Error handling is considered

Component Diagram (Level 3) Checklist

Completeness

  • All major components are represented
  • Component responsibilities are clear
  • Interfaces are defined
  • Data models are identified
  • External dependencies are shown

Relationships

  • Component interactions are logical
  • Data flow is clear
  • Interface contracts are defined
  • Error handling is considered
  • Dependencies are minimal

Design

  • Single responsibility principle is followed
  • Components are loosely coupled
  • Interfaces are well-defined
  • Error handling is comprehensive
  • Testing considerations are addressed

Technology

  • Technology choices are consistent
  • Performance requirements are met
  • Security requirements are addressed
  • Scalability is considered
  • Maintenance is feasible

DSL Quality Checklist

Syntax

  • DSL syntax is correct
  • All elements are properly defined
  • All relationships are valid
  • All views are properly configured
  • No syntax errors

Structure

  • Workspace structure is logical
  • Model organization is clear
  • View hierarchy is appropriate
  • Styling is consistent
  • Documentation is complete

Completeness

  • All referenced elements exist
  • All relationships are bidirectional where appropriate
  • No orphaned elements
  • All views include necessary elements
  • Styling is applied consistently

Best Practices

  • Naming conventions are followed
  • Descriptions are clear and concise
  • Technology labels are appropriate
  • Layout preferences are applied
  • Theme is consistent

Visual Quality Checklist

Layout

  • Elements are properly spaced
  • Relationships don't cross unnecessarily
  • Grouping is logical
  • Layout is clean and readable
  • Autolayout is applied

Styling

  • Colors are consistent
  • Element shapes are appropriate
  • Text is readable
  • Icons are meaningful
  • Theme is applied consistently

Clarity

  • Diagram is immediately understandable
  • Element names are clear
  • Relationships are obvious
  • Context is appropriate
  • Audience needs are met

Documentation Checklist

Completeness

  • All elements have descriptions
  • All relationships are labeled
  • Technology choices are documented
  • Design decisions are explained
  • Assumptions are stated

Quality

  • Descriptions are clear and concise
  • Technical accuracy is maintained
  • Business context is provided
  • Stakeholder needs are addressed
  • Maintenance information is included

Consistency

  • Naming conventions are followed
  • Terminology is consistent
  • Formatting is uniform
  • Style is professional
  • Updates are tracked

Integration Checklist

Workflow Integration

  • Diagrams support development workflow
  • Stakeholder communication is effective
  • Documentation is up-to-date
  • Version control is maintained
  • Change management is in place

Tool Integration

  • Structurizr Lite compatibility
  • Export formats are available
  • Documentation systems are integrated
  • Version control is supported
  • Collaboration tools are compatible

Maintenance

  • Update process is defined
  • Review cycle is established
  • Quality gates are in place
  • Training is provided
  • Support is available

Final Review Checklist

Overall Quality

  • All checklist items are completed
  • Stakeholder feedback is incorporated
  • Quality standards are met
  • Best practices are followed
  • Documentation is complete

Readiness

  • Diagrams are ready for use
  • Documentation is complete
  • Training materials are available
  • Support processes are in place
  • Maintenance procedures are defined

Sign-off

  • Technical review completed
  • Stakeholder approval obtained
  • Quality assurance passed
  • Documentation approved
  • Implementation ready