Skip to content
enterprise-patterns logo

Enterprise Patterns Skill

enterprise-patterns

Apply enterprise architecture patterns for integration and governance

SKILL.md

Full skill instructions

Enterprise Patterns Skill

Purpose

Apply enterprise architecture patterns including TOGAF, integration patterns, governance frameworks, and portfolio management for large-scale systems.


Parameters

ParameterTypeRequiredValidationDefault
contextstring✅min: 50 chars-
pattern_typeenum⚪integration|governance|portfolio|togafintegration
scopeenum⚪enterprise|domain|capabilityenterprise
current_stateobject⚪valid JSON{}
output_formatenum⚪pattern|roadmap|governancepattern

Execution Flow

┌──────────────────────────────────────────────────────────┐
│ 1. VALIDATE: Check context and pattern type              │
│ 2. ASSESS: Current state and maturity                    │
│ 3. SELECT: Appropriate enterprise pattern                │
│ 4. APPLY: Pattern to context                             │
│ 5. MAP: To TOGAF phases if applicable                    │
│ 6. ROADMAP: Create transition plan                       │
│ 7. DOCUMENT: Return pattern application                  │
└──────────────────────────────────────────────────────────┘

Retry Logic

ErrorRetryBackoffMax Attempts
VALIDATION_ERRORNo-1
PATTERN_MISMATCHYes1s2
SCOPE_UNCLEARYes-2

Logging & Observability

log_points:
  - event: pattern_requested
    level: info
    data: [pattern_type, scope]
  - event: pattern_applied
    level: info
    data: [pattern_name, maturity_level]
  - event: roadmap_generated
    level: info
    data: [phases_count, timeline]

metrics:
  - name: patterns_applied
    type: counter
    labels: [pattern_type]
  - name: application_time_ms
    type: histogram
  - name: maturity_score
    type: gauge

Error Handling

Error CodeDescriptionRecovery
E601Missing enterprise contextRequest org structure
E602Pattern not applicableSuggest alternatives
E603Scope too broadNarrow to domain
E604TOGAF phase unclearClarify ADM phase

Unit Test Template

test_cases:
  - name: "Integration pattern selection"
    input:
      context: "E-commerce integrating with ERP for inventory"
      pattern_type: "integration"
      scope: "enterprise"
    expected:
      has_pattern: true
      pattern_includes: ["Event-Driven", "CDC"]
      has_rationale: true

  - name: "Governance model"
    input:
      context: "5 business units, 200+ applications"
      pattern_type: "governance"
    expected:
      has_governance_model: true
      has_decision_rights: true
      has_review_process: true

  - name: "Portfolio rationalization"
    input:
      context: "Legacy modernization initiative"
      pattern_type: "portfolio"
    expected:
      has_time_analysis: true
      categories_include: ["Tolerate", "Invest", "Migrate", "Eliminate"]

Troubleshooting

Common Issues

SymptomRoot CauseResolution
Pattern mismatchWrong scopeAlign scope with pattern
Governance ignoredToo rigidBalance agility/​control
Integration sprawlNo strategyImplement API gateway

Debug Checklist

□ Is enterprise context documented?
□ Is pattern type appropriate?
□ Is scope clearly defined?
□ Are stakeholders identified?
□ Is TOGAF phase mapped?

Pattern Catalog

Integration Patterns

PatternUse Case
Event-DrivenLoose coupling, async
API GatewayCentralized entry
SagaDistributed transactions
CDCReal-time sync

Governance Models

ModelUse Case
CentralizedStrict standards
FederatedDomain autonomy
HybridCore + flexibility

Portfolio Categories (TIME)

CategoryAction
TolerateMaintain minimally
InvestEnhance actively
MigrateMove to new platform
EliminateSunset/​decommission

Integration

ComponentTriggerData Flow
Agent 03Pattern requestReceives context, returns pattern
Agent 01Solution alignmentEnterprise constraints

Quality Standards

  • Standards-based: TOGAF, EIP references
  • Practical: Implementable patterns
  • Scalable: Supports growth

Version History

VersionDateChanges
2.0.02025-01Production-grade: pattern catalog, TOGAF mapping
1.0.02024-12Initial release