ArchiMate Model Quality
This skill should be used when the user asks about "ArchiMate naming conventions", "model quality", "EA smells", "anti-patterns", "ArchiMate best practices", "model review", "abstraction levels", "viewpoints", "model organization", or needs guidance on creating high-quality ArchiMate models.
What this skill does
# ArchiMate Model Quality
This skill provides guidance on creating high-quality, maintainable ArchiMate models.
## Naming Conventions
### Element Naming by Type
| Element Category | Convention | Examples |
|-----------------|------------|----------|
| **Structural Elements** | Singular Noun Phrases | `Customer Portal`, `Data Warehouse` |
| **Behavioral Elements** | Verb Phrases | `Manage Applications`, `Process Payments` |
| **Processes** | Present-tense Verb + Noun | `Handle Claim`, `Submit Order` |
| **Services** | Noun or Gerund Phrase | `Customer Information Service`, `Payment Processing` |
| **Capabilities** | Compound Noun/Gerund | `Risk Management`, `Customer Onboarding` |
| **Value Streams** | Verb-Noun Active | `Acquire Insurance Product` |
### General Guidelines
- Use **Title Case** for element names
- Use compound terms for clarity ("Student Information System" not "System")
- Avoid abbreviations unless domain-standard
- Don't include element type in name when tool shows it visually
- Use namespacing prefixes for large models: `[Business Systems][Customer System]`
- Prefix views with state: `ASIS_ApplicationLandscape`, `TOBE_Integration`
## EA Smells (Quality Issues)
| EA Smell | Description | Correction |
|----------|-------------|------------|
| **Lonely Component** | Element with no relations | Connect or remove orphans |
| **Strict Layers Violation** | Business directly linked to Technology | Add Application layer intermediation |
| **Dead Element** | Element not in any view | Review for deletion or include |
| **God Component** | One element with too many responsibilities | Decompose into focused components |
| **Chatty Interface** | Too many fine-grained relationships | Consolidate at appropriate abstraction |
| **Missing Relationship** | Implicit dependencies not modeled | Make relationships explicit |
| **Circular Dependencies** | Cyclic relationships | Restructure to eliminate cycles |
## Common Modeling Errors
1. **Mixing abstraction levels**: Detailed processes alongside strategic capabilities
2. **Using Association as default**: When specific relationship type applies
3. **Over-modeling**: Every detail captured, creating maintenance burden
4. **Wrong element type**: Using Process when Function is correct
5. **Missing services layer**: Direct connections bypassing service abstraction
6. **View-centric thinking**: Creating elements for single view, not reusing
7. **Inconsistent naming**: Same concept with different names across views
## Abstraction and Granularity
### Abstraction Levels by Purpose
| Purpose | Abstraction Level | Audience |
|---------|------------------|----------|
| **Informing** | High (Overview) | CxOs, broad stakeholders |
| **Deciding** | Medium (Coherence) | Managers, analysts |
| **Designing** | Low (Details) | Subject matter experts |
### Granularity by Element Type
| Element Type | Right Level | Over-Modeling Signs |
|--------------|-------------|---------------------|
| **Business Processes** | Level 2-3 decomposition | Every task modeled |
| **Applications** | Logical components | Individual modules as components |
| **Technology** | Platform/service level | Individual servers |
| **Capabilities** | 2-3 levels deep | Operational activities |
### Key Principles
- **80/20 Rule**: Only a subset of ArchiMate elements needed for most modeling
- **Match stakeholder needs**: Detail viewpoints = one layer/one aspect
- **Limit view complexity**: Target ~20 elements per view (40 max)
## Viewpoint Selection
### Stakeholder-to-Viewpoint Mapping
| Stakeholder Type | Recommended Viewpoints |
|-----------------|----------------------|
| **CxOs, Business Managers** | Strategy, Capability Map, Motivation |
| **Enterprise Architects** | Layered, Application Cooperation, Implementation |
| **Process Architects** | Business Process Cooperation, Service Realization |
| **Application Architects** | Application Usage, Implementation and Deployment |
| **Infrastructure Architects** | Technology, Technology Usage, Physical |
### Pattern-to-Viewpoint Mapping
| Architecture Pattern | Primary Viewpoints |
|---------------------|-------------------|
| Microservices | Application Cooperation, Layered, Technology Usage |
| API/Integration | Application Cooperation, Service Realization |
| Cloud Infrastructure | Technology, Deployment, Layered |
| Data Architecture | Information Structure, Application Cooperation |
| Capability Mapping | Capability Map, Strategy, Resource Map |
## Model Quality Checklist
### Before Creating
- [ ] Define scope and purpose
- [ ] Identify stakeholders and concerns
- [ ] Select appropriate viewpoints
- [ ] Establish naming conventions
### During Modeling
- [ ] Follow naming conventions consistently
- [ ] Use correct element types
- [ ] Model at appropriate abstraction level
- [ ] Reuse existing elements (don't duplicate)
- [ ] Add descriptions to elements
### Model Review
- [ ] Elements correctly typed
- [ ] Names follow conventions
- [ ] No orphaned elements
- [ ] No strict layer violations
- [ ] Relationships directionally correct
- [ ] Views tell coherent stories
## Model Organization
### Folder Structure (By Layer)
```
Model
├── Strategy
├── Business
├── Application
├── Technology
├── Physical
├── Motivation
├── Implementation & Migration
├── Relations
└── Views
```
### Folder Structure (By Domain)
```
Model
├── Customer Domain
│ ├── Business
│ ├── Application
│ └── Technology
├── Finance Domain
└── Shared Services
```
## Additional Resources
### Reference Files
For detailed viewpoint guidance and framework integration:
- **`references/viewpoints.md`** - Complete ArchiMate viewpoints catalog
- **`references/framework-integration.md`** - TOGAF, BPMN, IT4IT integration patterns
Related in Code Review
gstack
IncludedFast headless browser for QA testing and site dogfooding. Navigate pages, interact with elements, verify state, diff before/after, take annotated screenshots, test responsive layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or test a site, verify a deployment, dogfood a user flow, or file a bug with screenshots. (gstack)
startup-due-diligence
IncludedLegal due diligence review for seed-stage and Series A startups (US, Delaware C-Corp focus). Supports both investor and founder perspectives. Capabilities include: (1) Interactive document review and issue spotting; (2) Document request list generation; (3) Cap table and SAFE/convertible note analysis; (4) Red flag identification with severity ratings; (5) Diligence report generation. TRIGGERS: due diligence, DD, startup investment, cap table review, Series A, seed round, investor diligence, legal review startup, SAFE analysis, convertible note, 409A, founder vesting.
interview-master
IncludedThis skill should be used when the user asks to "generate interview questions", "prepare for interview", "optimize resume", "conduct mock interview", "analyze git commits for resume", "generate resume from code", "review my resume", or mentions interview preparation, career assistance, or extracting project experience from git history. Provides comprehensive interview and career development guidance for both job seekers and interviewers.
fix-issue
IncludedFixes GitHub issues using parallel analysis agents for root cause investigation, code exploration, and regression detection. Reads issue context from gh CLI, searches codebase and memory for related patterns, generates a fix with tests, and links the resolution back to the issue via PR. Includes prevention analysis to avoid recurrence. Use when debugging errors, resolving regressions, fixing bugs, or triaging issues.
sf-apex
IncludedGenerates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.
swift-development
IncludedComprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.