[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EP90VBB68ABFW31XW1GP9K":3,"skill-same:01M6EP90VBB68ABFW31XW1GP9K":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":41,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M6EP90VBB68ABFW31XW1GP9K","designing-architecture",null,"Designs software architecture and selects appropriate patterns for projects. Use when designing systems, choosing architecture patterns, structuring projects, making technical decisions, or when asked about microservices, monoliths, or architectural approaches.","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fcloudai-x\u002Fdesigning-architecture\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30],"architecture","designing architecture","microservices","architecture patterns","software architecture","projects","technical","decisions","use","patterns","systems","software","2026-11-10 10:12:30",false,"---\nname: designing-architecture\ndescription: Designs software architecture and selects appropriate patterns for projects. Use when designing systems, choosing architecture patterns, structuring projects, making technical decisions, or when asked about microservices, monoliths, or architectural approaches.\n---\n\n# Designing Architecture\n\n## Architecture Decision Workflow\n\nCopy this checklist and track progress:\n\n```\nArchitecture Design Progress:\n- [ ] Step 1: Understand requirements and constraints\n- [ ] Step 2: Assess project size and team capabilities\n- [ ] Step 3: Select architecture pattern\n- [ ] Step 4: Define directory structure\n- [ ] Step 5: Document trade-offs and decision\n- [ ] Step 6: Validate against decision framework\n```\n\n## Pattern Selection Guide\n\n### By Project Size\n\n| Size | Recommended Pattern |\n|------|---------------------|\n| Small (\u003C10K LOC) | Simple MVC\u002FLayered |\n| Medium (10K-100K) | Clean Architecture |\n| Large (>100K) | Modular Monolith or Microservices |\n\n### By Team Size\n\n| Team | Recommended |\n|------|-------------|\n| 1-3 devs | Monolith with clear modules |\n| 4-10 devs | Modular Monolith |\n| 10+ devs | Microservices (if justified) |\n\n## Common Patterns\n\n### 1. Layered Architecture\n```\n┌─────────────────────────────┐\n│       Presentation          │  ← UI, API Controllers\n├─────────────────────────────┤\n│       Application           │  ← Use Cases, Services\n├─────────────────────────────┤\n│         Domain              │  ← Business Logic, Entities\n├─────────────────────────────┤\n│      Infrastructure         │  ← Database, External APIs\n└─────────────────────────────┘\n```\n**Use when**: Simple CRUD apps, small teams, quick prototypes\n\n### 2. Clean Architecture\n```\n┌─────────────────────────────────────┐\n│            Frameworks & Drivers      │\n│  ┌─────────────────────────────┐    │\n│  │     Interface Adapters       │    │\n│  │  ┌─────────────────────┐    │    │\n│  │  │   Application       │    │    │\n│  │  │  ┌─────────────┐    │    │    │\n│  │  │  │   Domain    │    │    │    │\n│  │  │  └─────────────┘    │    │    │\n│  │  └─────────────────────┘    │    │\n│  └─────────────────────────────┘    │\n└─────────────────────────────────────┘\n```\n**Use when**: Complex business logic, long-lived projects, testability is key\n\n### 3. Hexagonal (Ports & Adapters)\n```\n        ┌──────────┐\n        │ HTTP API │\n        └────┬─────┘\n             │ Port\n    ┌────────▼────────┐\n    │                 │\n    │   Application   │\n    │     Core        │\n    │                 │\n    └────────┬────────┘\n             │ Port\n        ┌────▼─────┐\n        │ Database │\n        └──────────┘\n```\n**Use when**: Need to swap external dependencies, multiple entry points\n\n### 4. Event-Driven Architecture\n```\nProducer → Event Bus → Consumer\n              │\n              ├─→ Consumer\n              │\n              └─→ Consumer\n```\n**Use when**: Loose coupling needed, async processing, scalability\n\n### 5. CQRS (Command Query Responsibility Segregation)\n```\n┌─────────────┐      ┌─────────────┐\n│  Commands   │      │   Queries   │\n│  (Write)    │      │   (Read)    │\n└──────┬──────┘      └──────┬──────┘\n       │                    │\n       ▼                    ▼\n  Write Model          Read Model\n       │                    │\n       └────────┬───────────┘\n                ▼\n           Event Store\n```\n**Use when**: Different read\u002Fwrite scaling, complex domains, event sourcing\n\n## Directory Structure Patterns\n\n### Feature-Based (Recommended for medium+)\n```\nsrc\u002F\n├── features\u002F\n│   ├── users\u002F\n│   │   ├── api\u002F\n│   │   ├── components\u002F\n│   │   ├── hooks\u002F\n│   │   ├── services\u002F\n│   │   └── types\u002F\n│   └── orders\u002F\n│       ├── api\u002F\n│       ├── components\u002F\n│       └── ...\n├── shared\u002F\n│   ├── components\u002F\n│   ├── hooks\u002F\n│   └── utils\u002F\n└── app\u002F\n    └── ...\n```\n\n### Layer-Based (Simple apps)\n```\nsrc\u002F\n├── controllers\u002F\n├── services\u002F\n├── models\u002F\n├── repositories\u002F\n└── utils\u002F\n```\n\n## Decision Framework\n\nWhen making architectural decisions, evaluate against these criteria:\n\n1. **Simplicity** - Start simple, evolve when needed\n2. **Team Skills** - Match architecture to team capabilities\n3. **Requirements** - Let business needs drive decisions\n4. **Scalability** - Consider growth trajectory\n5. **Maintainability** - Optimize for change\n\n## Trade-off Analysis Template\n\nUse this template to document architectural decisions:\n\n```markdown\n## Decision: [What we're deciding]\n\n### Context\n[Why this decision is needed now]\n\n### Options Considered\n1. Option A: [Description]\n2. Option B: [Description]\n\n### Trade-offs\n| Criteria | Option A | Option B |\n|----------|----------|----------|\n| Complexity | Low | High |\n| Scalability | Medium | High |\n| Team familiarity | High | Low |\n\n### Decision\nWe chose [Option] because [reasoning].\n\n### Consequences\n- [What this enables]\n- [What this constrains]\n```\n\n## Validation Checklist\n\nAfter selecting an architecture, validate against:\n\n```\nArchitecture Validation:\n- [ ] Matches project size and complexity\n- [ ] Aligns with team skills and experience\n- [ ] Supports current requirements\n- [ ] Allows for anticipated growth\n- [ ] Dependencies flow inward (core has no external deps)\n- [ ] Clear boundaries between modules\u002Flayers\n- [ ] Testing strategy is feasible\n- [ ] Trade-offs are documented\n```\n\nIf validation fails, reconsider the pattern selection or adjust the implementation approach.\n","# Designing Architecture\n\n## Architecture Decision Workflow\n\nCopy this checklist and track progress:\n\n```\nArchitecture Design Progress:\n- [ ] Step 1: Understand requirements and constraints\n- [ ] Step 2: Assess project size and team capabilities\n- [ ] Step 3: Select architecture pattern\n- [ ] Step 4: Define directory structure\n- [ ] Step 5: Document trade-offs and decision\n- [ ] Step 6: Validate against decision framework\n```\n\n## Pattern Selection Guide\n\n### By Project Size\n\n| Size | Recommended Pattern |\n|------|---------------------|\n| Small (\u003C10K LOC) | Simple MVC\u002FLayered |\n| Medium (10K-100K) | Clean Architecture |\n| Large (>100K) | Modular Monolith or Microservices |\n\n### By Team Size\n\n| Team | Recommended |\n|------|-------------|\n| 1-3 devs | Monolith with clear modules |\n| 4-10 devs | Modular Monolith |\n| 10+ devs | Microservices (if justified) |\n\n## Common Patterns\n\n### 1. Layered Architecture\n```\n┌─────────────────────────────┐\n│       Presentation          │  ← UI, API Controllers\n├─────────────────────────────┤\n│       Application           │  ← Use Cases, Services\n├─────────────────────────────┤\n│         Domain              │  ← Business Logic, Entities\n├─────────────────────────────┤\n│      Infrastructure         │  ← Database, External APIs\n└─────────────────────────────┘\n```\n**Use when**: Simple CRUD apps, small teams, quick prototypes\n\n### 2. Clean Architecture\n```\n┌─────────────────────────────────────┐\n│            Frameworks & Drivers      │\n│  ┌─────────────────────────────┐    │\n│  │     Interface Adapters       │    │\n│  │  ┌─────────────────────┐    │    │\n│  │  │   Application       │    │    │\n│  │  │  ┌─────────────┐    │    │    │\n│  │  │  │   Domain    │    │    │    │\n│  │  │  └─────────────┘    │    │    │\n│  │  └─────────────────────┘    │    │\n│  └─────────────────────────────┘    │\n└─────────────────────────────────────┘\n```\n**Use when**: Complex business logic, long-lived projects, testability is key\n\n### 3. Hexagonal (Ports & Adapters)\n```\n        ┌──────────┐\n        │ HTTP API │\n        └────┬─────┘\n             │ Port\n    ┌────────▼────────┐\n    │                 │\n    │   Application   │\n    │     Core        │\n    │                 │\n    └────────┬────────┘\n             │ Port\n        ┌────▼─────┐\n        │ Database │\n        └──────────┘\n```\n**Use when**: Need to swap external dependencies, multiple entry points\n\n### 4. Event-Driven Architecture\n```\nProducer → Event Bus → Consumer\n              │\n              ├─→ Consumer\n              │\n              └─→ Consumer\n```\n**Use when**: Loose coupling needed, async processing, scalability\n\n### 5. CQRS (Command Query Responsibility Segregation)\n```\n┌─────────────┐      ┌─────────────┐\n│  Commands   │      │   Queries   │\n│  (Write)    │      │   (Read)    │\n└──────┬──────┘      └──────┬──────┘\n       │                    │\n       ▼                    ▼\n  Write Model          Read Model\n       │                    │\n       └────────┬───────────┘\n                ▼\n           Event Store\n```\n**Use when**: Different read\u002Fwrite scaling, complex domains, event sourcing\n\n## Directory Structure Patterns\n\n### Feature-Based (Recommended for medium+)\n```\nsrc\u002F\n├── features\u002F\n│   ├── users\u002F\n│   │   ├── api\u002F\n│   │   ├── components\u002F\n│   │   ├── hooks\u002F\n│   │   ├── services\u002F\n│   │   └── types\u002F\n│   └── orders\u002F\n│       ├── api\u002F\n│       ├── components\u002F\n│       └── ...\n├── shared\u002F\n│   ├── components\u002F\n│   ├── hooks\u002F\n│   └── utils\u002F\n└── app\u002F\n    └── ...\n```\n\n### Layer-Based (Simple apps)\n```\nsrc\u002F\n├── controllers\u002F\n├── services\u002F\n├── models\u002F\n├── repositories\u002F\n└── utils\u002F\n```\n\n## Decision Framework\n\nWhen making architectural decisions, evaluate against these criteria:\n\n1. **Simplicity** - Start simple, evolve when needed\n2. **Team Skills** - Match architecture to team capabilities\n3. **Requirements** - Let business needs drive decisions\n4. **Scalability** - Consider growth trajectory\n5. **Maintainability** - Optimize for change\n\n## Trade-off Analysis Template\n\nUse this template to document architectural decisions:\n\n```markdown\n## Decision: [What we're deciding]\n\n### Context\n[Why this decision is needed now]\n\n### Options Considered\n1. Option A: [Description]\n2. Option B: [Description]\n\n### Trade-offs\n| Criteria | Option A | Option B |\n|----------|----------|----------|\n| Complexity | Low | High |\n| Scalability | Medium | High |\n| Team familiarity | High | Low |\n\n### Decision\nWe chose [Option] because [reasoning].\n\n### Consequences\n- [What this enables]\n- [What this constrains]\n```\n\n## Validation Checklist\n\nAfter selecting an architecture, validate against:\n\n```\nArchitecture Validation:\n- [ ] Matches project size and complexity\n- [ ] Aligns with team skills and experience\n- [ ] Supports current requirements\n- [ ] Allows for anticipated growth\n- [ ] Dependencies flow inward (core has no external deps)\n- [ ] Clear boundaries between modules\u002Flayers\n- [ ] Testing strategy is feasible\n- [ ] Trade-offs are documented\n```\n\nIf validation fails, reconsider the pattern selection or adjust the implementation approach.\n",{"name":5,"description":7},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Faiskillstore\u002Fmarketplace\u002Fcloudai-x\u002Fdesigning-architecture",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill designing-architecture",{"tool":51,"command":52},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill designing-architecture",{"tool":54,"command":55},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill designing-architecture","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fcloudai-x\u002Fdesigning-architecture\u002FSKILL.md",true,[59],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"skill-report.json","REFERENCE","参考文档",11674,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fcloudai-x\u002Fdesigning-architecture\u002Fskill-report.json",[66,75,84,93,99,105],{"skillNo":67,"name":68,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":31},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[72,73,74],"model","model hierarchy","model hierarchy skill",{"skillNo":76,"name":77,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":31},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[81,82,83],"MCP","zoom","zoom mcp",{"skillNo":85,"name":86,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":31},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[90,91,92,82],"sdk","zoom apps sdk","apps",{"skillNo":94,"name":95,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":31},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[95],{"skillNo":100,"name":101,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":31},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[101],{"skillNo":106,"name":107,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":31},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[107]]