Design system maturity governance

From tan-yong-sheng/ai-vision-mcp · View interactive version

Design system maturity governance is an AI agent skill from the GitHub repository tan-yong-sheng/ai-vision-mcp. Use this skill when assessing design system maturity, evaluating adoption health, analyzing component duplication, or calculating design debt ratios

How to use this skill

Skill file

Design System Governance

Deep guidance for assessing design system maturity, adoption health, and governance effectiveness.

When to Use

Use this skill when:

Design System Maturity Model

Level 1: Ad-hoc (No System)

Characteristics:

Metrics:

Transition To Level 2:


Level 2: Inconsistent (Emerging System)

Characteristics:

Metrics:

Adoption Barriers (Typical):

Transition To Level 3:


Level 3: Consistent (Mature System)

Characteristics:

Metrics:

Governance Practices:

Transition To Level 4:


Level 4: Governed (Enforced System)

Characteristics:

Metrics:

Governance Practices:

Maintenance:


Adoption Metrics Calculation

Overall Adoption Score

Adoption Score = (System Components Used / Total Components) × 100

Example:
- System components used: 45
- Total components: 60
- Adoption Score: 45/60 = 75%

Component Reuse Rate

Reuse Rate = (Total Component Instances / Unique Components) 

Example:
- Button component used in: homepage, product page, checkout, admin panel = 4 instances
- Modal component used in: help, confirmation, settings = 3 instances
- Total instances: 45
- Unique components: 8
- Reuse Rate: 45/8 = 5.6× average usage per component

Design Debt Ratio

Design Debt = (Custom Components / Total Components) × 100

Example:
- Custom components: 15
- Total components: 60
- Design Debt: 15/60 = 25%

Interpretation:
- <10%: Level 4 (Excellent)
- 10-20%: Level 3 (Good)
- 20-40%: Level 2 (Concerning)
- >40%: Level 1 (Critical)

Component Health Score

For each component category (buttons, modals, forms, etc.):

Category Health = (Components matching system / Total in category) × 100

Example - Buttons:
- System button variants: 6 (primary, secondary, tertiary, loading, disabled, outlined)
- Found implementations: 8 (system variants + 2 custom)
- Health Score: 6/8 = 75%
- Assessment: 75% of button implementations match system

Design Debt Analysis

Debt Drivers (Why Custom Components Exist)

Legitimate Reasons:

  1. Feature gap: System doesn't support needed functionality
  2. Performance requirement: Custom optimization for specific use case
  3. Brand evolution: System hasn't been updated yet
  4. Experimental feature: Temporary, pending system integration
  5. Third-party integration: External component that can't be modified

Warning Signs:

  1. Misunderstanding: Developer didn't know system component existed
  2. Convenience: Faster to build custom than learn system
  3. Process gap: No clear way to request new system component
  4. Visibility: System component exists but hard to discover
  5. Governance gap: No enforcement preventing custom creation

Root Cause Analysis Process

For each custom component found:

  1. Categorize the driver
  1. Estimate impact
  1. Prioritize remediation

Remediation Priority

Critical (Week 1-2):

High (Week 3-4):

Medium (Week 5-6):

Low (Ongoing):


Governance Health Assessment

Assessment Dimensions

1. Process Maturity

Scoring:

2. Adoption Culture

Scoring:

3. System Completeness

Scoring:

4. Documentation Quality

Scoring:

5. Enforcement Mechanism

Scoring:

Overall Governance Health Score

Health Score = (Process + Adoption + Completeness + Documentation + Enforcement) / 5

Example:
- Process Maturity: 75%
- Adoption Culture: 60%
- System Completeness: 80%
- Documentation Quality: 70%
- Enforcement Mechanism: 50%
- Health Score: (75+60+80+70+50)/5 = 67%

Interpretation:
- >80%: Healthy governance
- 60-80%: Room for improvement
- 40-60%: Significant gaps
- <40%: Critical issues

Consolidation Opportunity Analysis

Duplication Detection

Exact duplicates:

Near-duplicates (>80% similar):

Partial duplicates (50-80% similar):

Similar patterns (<50% code, >80% visual):

Consolidation Priority Matrix

         High Impact   Medium Impact   Low Impact
High Effort   Phase 3      Phase 4       Defer
Med Effort    Phase 2      Phase 3       Phase 4
Low Effort    Phase 1      Phase 2       Phase 3

Phase 1 (Quick Wins):

Phase 2 (Strategic):

Phase 3 (Long-term):

Phase 4 (Maintenance):


Metrics Dashboard

Key Metrics to Track

Adoption:

Debt:

Health:

Productivity:

Trend Analysis

Healthy Trends (Improving):

Warning Trends (Declining):


Output Structure

{
  "analysis_type": "component-audit | design-debt-report",
  "maturity_level": 2,
  "maturity_assessment": {
    "current_level": "Inconsistent (Emerging System)",
    "adoption_score": 52,
    "design_debt_ratio": 45,
    "characteristics": ["System exists but spotty adoption", "Informal governance", "Growing maintenance burden"],
    "transition_readiness": "Ready for Level 3 transition"
  },
  "adoption_metrics": {
    "overall_adoption": 52,
    "component_reuse_rate": 3.2,
    "team_adoption": "45% of teams",
    "trend": "stable"
  },
  "governance_health": {
    "overall_health_score": 58,
    "process_maturity": 50,
    "adoption_culture": 60,
    "system_completeness": 65,
    "documentation_quality": 55,
    "enforcement_mechanism": 50,
    "gaps": [
      "No documented component request process",
      "Limited CI/CD enforcement",
      "Inconsistent documentation"
    ]
  },
  "duplication_analysis": {
    "exact_duplicates": 3,
    "near_duplicates": 8,
    "partial_duplicates": 12,
    "consolidation_opportunities": 15,
    "estimated_debt_reduction": "35% (15 components → 10)"
  },
  "debt_drivers": [
    {
      "category": "Feature gap",
      "count": 8,
      "examples": ["Advanced table features", "Custom form validation"],
      "remediation": "Extend system components"
    },
    {
      "category": "System gap - Visibility",
      "count": 4,
      "examples": ["Modal used for alerts", "Button for navigation"],
      "remediation": "Improve documentation and discoverability"
    }
  ],
  "consolidation_roadmap": [
    {
      "phase": 1,
      "priority": "quick-wins",
      "items": [
        {
          "opportunity": "Button component exact duplicates",
          "current_implementations": 3,
          "target_implementation": 1,
          "effort_hours": 4,
          "debt_reduction": "3 components",
          "impact": "High"
        }
      ]
    }
  ],
  "recommendations": [
    "Establish formal component request process",
    "Create system variants for common use cases",
    "Migrate 3 exact duplicate button implementations",
    "Improve system documentation with code examples",
    "Implement linter for design token usage"
  ],
  "next_steps": [
    "Phase 1: Quick wins (1-2 weeks)",
    "Phase 2: Strategic consolidation (3-6 weeks)",
    "Transition to Level 3 governance"
  ]
}

Testing Checklist

Automated Analysis

Manual Assessment

Reporting

Reference Materials

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.