[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M758GH04SRQTH69C0R0TZ9G2":3,"skill-same:01M758GH04SRQTH69C0R0TZ9G2":46},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M758GH04SRQTH69C0R0TZ9G2","arch-patterns",null,"Senior Fullstack Architect. Define architecture patterns, component patterns, and coding standards. Enforces Clean Architecture, hexagonal layers, and reusable component patterns across the stack.","davidcoachdev\u002Fdcfiles","davidcoachdev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F69812733?v=4","01M758C4BR16TAV1N47W319E9V","David H. Caycedo Blum.","01M758C4CCZA2ZYGA0BGMXCDRH",1,"MIT","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Farch-patterns\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: arch-patterns\ndescription: Senior Fullstack Architect. Define architecture patterns, component patterns, and coding standards. Enforces Clean Architecture, hexagonal layers, and reusable component patterns across the stack.\n---\n\n# Architecture Patterns Skill\n\n## 1. BASELINE\n* ARCHITECTURE_MODE: 6 (1=Flat, 10=Hexagonal\u002FClean)\n* COMPLEXITY_LEVEL: 5 (1=MVP, 10=Enterprise)\n* CODE_QUALITY: 8 (1=Prototype, 10=Production-Ready)\n* PATTERN_DENSITY: 7 (1=Minimal, 10=Heavily Patterned)\n\n## 2. ARCHITECTURE CONVENTIONS\n\n### Dependency Rule (MANDATORY)\n* Check package.json before importing any 3rd party\n* Dependency Direction: domain ← application ← infrastructure ← presentation\n* Interface Segregation: Define interfaces in domain, implement in infrastructure\n\n### Layer Architecture (Clean\u002FHexagonal)\n```\nsrc\u002F\n├── domain\u002F           # Business logic, entities, interfaces (NO dependencies)\n├── application\u002F     # Use cases, DTOs\n├── infrastructure\u002F  # Repository implementations, API clients\n└── presentation\u002F    # UI, Controllers\n```\n\n### Component Pattern (Container\u002FPresentational)\n* Container: Logic, state, data fetching. NO UI rendering.\n* Presentational: UI only, receives props. NO business logic.\n\n### Repository Pattern\n* Interface in Domain: `interface UserRepository { findById(id): Promise\u003CUser> }`\n* Implementation in Infrastructure: `class PostgresUserRepository implements UserRepository`\n\n## 3. ARCHITECTURE DIRECTIVES\n\n### Rule 1: Explicit API Contracts\n* Request\u002FResponse DTOs explicit\n* Error Responses standardized\n* Versioning: `\u002Fapi\u002Fv1\u002Fresource`\n\n### Rule 2: State Management Boundaries\n* Client State: useState\u002FuseReducer (modals, forms)\n* Server State: React Query\u002FSWR (API data)\n* NEVER mix\n\n### Rule 3: Error Handling Layers\n* Domain Errors: Business rule violations\n* Application Errors: Use case failures\n* Infrastructure Errors: DB failures, API timeouts\n* Presentation Errors: User feedback\n\n### Rule 4: Configuration\n* Environment Variables: All config via env\n* Schema Validation: Validate env vars at startup (zod, valibot)\n* Secrets: Never commit secrets\n\n### Rule 5: Testing Strategy\n* Unit Tests: Domain services, pure functions\n* Integration Tests: Repository, API endpoints\n* E2E Tests: Critical user flows\n* Test Location: Alongside source\n\n### Rule 6: Component Patterns\n* Atomic Design: atoms → molecules → organisms → templates → pages\n* Compound Components: For flexible APIs\n* Render Props \u002F Hooks: For logic reuse\n\n## 4. CREATIVE PROACTIVITY\n\n### Advanced Data Patterns\n* Cursor Pagination: For large datasets\n* Optimistic Updates: UI updates before server confirms\n* Debounced Search: Prevent API spam\n* Infinite Scroll: With intersection observer\n\n### Advanced Architecture\n* Event-Driven: Cross-service communication\n* CQRS: Complex read\u002Fwrite scenarios\n* Saga Pattern: Distributed transactions\n* Retry with Backoff: Resilient API calls\n\n### Advanced Component\n* Slot Pattern: Flexible composition\n* Context: Theme, auth, settings\n* Compound State: Multiple related state\n* Reducer Pattern: Complex state logic\n\n## 5. PERFORMANCE GUARDRAILS\n\n### Backend\n* N+1 Prevention: Joins or batch queries\n* Connection Pooling: Reuse DB connections\n* Caching: Redis or in-memory\n* Indexing: For query patterns\n\n### Frontend\n* Code Splitting: Route-based and component-based\n* Memoization: React.memo, useMemo, useCallback\n* Lazy Loading: Images, components, routes\n* Virtualization: For lists > 100 items\n\n## 6. DIAL DEFINITIONS\n\n### ARCHITECTURE_MODE (1-10)\n* 1-3: Flat - Simple MVC\n* 4-6: Layered - Standard 3-layer\n* 7-9: Clean - Domain-driven boundaries\n* 10: Hexagonal - Ports and adapters\n\n### COMPLEXITY_LEVEL (1-10)\n* 1-3: MVP\n* 4-7: Standard\n* 8-10: Enterprise\n\n### CODE_QUALITY (1-10)\n* 1-3: Prototype\n* 4-7: Production\n* 8-10: Excellence\n\n### PATTERN_DENSITY (1-10)\n* 1-3: Minimal\n* 4-7: Standard\n* 8-10: Heavy\n\n## 7. FORBIDDEN PATTERNS\n\n### Architecture\n* God Objects: 1000+ lines in single file\n* Circular Dependencies\n* Spaghetti Code\n* Hardcoded Config\n\n### Components\n* Prop Drilling: Use context\n* Memory Leaks: Always cleanup\n* Uncontrolled State\n* Inline Styles\n\n### Data\n* SQL Injection: Parameterized queries\n* Exposing Secrets\n* Race Conditions\n* Missing Validation\n\n## 8. PRE-FLIGHT\n\n- [ ] Architecture follows layer boundaries\n- [ ] Dependencies flow correctly\n- [ ] Interfaces defined before implementations\n- [ ] Error handling at all layers\n- [ ] Tests for domain logic\n- [ ] No hardcoded config","# Architecture Patterns Skill\n\n## 1. BASELINE\n* ARCHITECTURE_MODE: 6 (1=Flat, 10=Hexagonal\u002FClean)\n* COMPLEXITY_LEVEL: 5 (1=MVP, 10=Enterprise)\n* CODE_QUALITY: 8 (1=Prototype, 10=Production-Ready)\n* PATTERN_DENSITY: 7 (1=Minimal, 10=Heavily Patterned)\n\n## 2. ARCHITECTURE CONVENTIONS\n\n### Dependency Rule (MANDATORY)\n* Check package.json before importing any 3rd party\n* Dependency Direction: domain ← application ← infrastructure ← presentation\n* Interface Segregation: Define interfaces in domain, implement in infrastructure\n\n### Layer Architecture (Clean\u002FHexagonal)\n```\nsrc\u002F\n├── domain\u002F           # Business logic, entities, interfaces (NO dependencies)\n├── application\u002F     # Use cases, DTOs\n├── infrastructure\u002F  # Repository implementations, API clients\n└── presentation\u002F    # UI, Controllers\n```\n\n### Component Pattern (Container\u002FPresentational)\n* Container: Logic, state, data fetching. NO UI rendering.\n* Presentational: UI only, receives props. NO business logic.\n\n### Repository Pattern\n* Interface in Domain: `interface UserRepository { findById(id): Promise\u003CUser> }`\n* Implementation in Infrastructure: `class PostgresUserRepository implements UserRepository`\n\n## 3. ARCHITECTURE DIRECTIVES\n\n### Rule 1: Explicit API Contracts\n* Request\u002FResponse DTOs explicit\n* Error Responses standardized\n* Versioning: `\u002Fapi\u002Fv1\u002Fresource`\n\n### Rule 2: State Management Boundaries\n* Client State: useState\u002FuseReducer (modals, forms)\n* Server State: React Query\u002FSWR (API data)\n* NEVER mix\n\n### Rule 3: Error Handling Layers\n* Domain Errors: Business rule violations\n* Application Errors: Use case failures\n* Infrastructure Errors: DB failures, API timeouts\n* Presentation Errors: User feedback\n\n### Rule 4: Configuration\n* Environment Variables: All config via env\n* Schema Validation: Validate env vars at startup (zod, valibot)\n* Secrets: Never commit secrets\n\n### Rule 5: Testing Strategy\n* Unit Tests: Domain services, pure functions\n* Integration Tests: Repository, API endpoints\n* E2E Tests: Critical user flows\n* Test Location: Alongside source\n\n### Rule 6: Component Patterns\n* Atomic Design: atoms → molecules → organisms → templates → pages\n* Compound Components: For flexible APIs\n* Render Props \u002F Hooks: For logic reuse\n\n## 4. CREATIVE PROACTIVITY\n\n### Advanced Data Patterns\n* Cursor Pagination: For large datasets\n* Optimistic Updates: UI updates before server confirms\n* Debounced Search: Prevent API spam\n* Infinite Scroll: With intersection observer\n\n### Advanced Architecture\n* Event-Driven: Cross-service communication\n* CQRS: Complex read\u002Fwrite scenarios\n* Saga Pattern: Distributed transactions\n* Retry with Backoff: Resilient API calls\n\n### Advanced Component\n* Slot Pattern: Flexible composition\n* Context: Theme, auth, settings\n* Compound State: Multiple related state\n* Reducer Pattern: Complex state logic\n\n## 5. PERFORMANCE GUARDRAILS\n\n### Backend\n* N+1 Prevention: Joins or batch queries\n* Connection Pooling: Reuse DB connections\n* Caching: Redis or in-memory\n* Indexing: For query patterns\n\n### Frontend\n* Code Splitting: Route-based and component-based\n* Memoization: React.memo, useMemo, useCallback\n* Lazy Loading: Images, components, routes\n* Virtualization: For lists > 100 items\n\n## 6. DIAL DEFINITIONS\n\n### ARCHITECTURE_MODE (1-10)\n* 1-3: Flat - Simple MVC\n* 4-6: Layered - Standard 3-layer\n* 7-9: Clean - Domain-driven boundaries\n* 10: Hexagonal - Ports and adapters\n\n### COMPLEXITY_LEVEL (1-10)\n* 1-3: MVP\n* 4-7: Standard\n* 8-10: Enterprise\n\n### CODE_QUALITY (1-10)\n* 1-3: Prototype\n* 4-7: Production\n* 8-10: Excellence\n\n### PATTERN_DENSITY (1-10)\n* 1-3: Minimal\n* 4-7: Standard\n* 8-10: Heavy\n\n## 7. FORBIDDEN PATTERNS\n\n### Architecture\n* God Objects: 1000+ lines in single file\n* Circular Dependencies\n* Spaghetti Code\n* Hardcoded Config\n\n### Components\n* Prop Drilling: Use context\n* Memory Leaks: Always cleanup\n* Uncontrolled State\n* Inline Styles\n\n### Data\n* SQL Injection: Parameterized queries\n* Exposing Secrets\n* Race Conditions\n* Missing Validation\n\n## 8. PRE-FLIGHT\n\n- [ ] Architecture follows layer boundaries\n- [ ] Dependencies flow correctly\n- [ ] Interfaces defined before implementations\n- [ ] Error handling at all layers\n- [ ] Tests for domain logic\n- [ ] No hardcoded config",{"name":5,"description":7},"main","5dc86f90a5cbe45db3acd917825461b3ed6937fb","config\u002F.config\u002Fopencode\u002Fskills\u002Farch-patterns",0,"https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev","🌐 Apasionado por crear soluciones web escalables y eficientes. \r\n🧑‍🏫 Coach Dev.\r\n💻 Frontend Dev. \r\n🎚️Backend Dev.\r\n📊 Agile\u002FScrum.\r\n🚀100% remoto.","2026-08-26 07:28:05",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add davidcoachdev\u002Fdcfiles --skill arch-patterns",{"tool":38,"command":39},"bunx","bunx skills add davidcoachdev\u002Fdcfiles --skill arch-patterns",{"tool":41,"command":42},"pnpm","pnpm dlx skills add davidcoachdev\u002Fdcfiles --skill arch-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Farch-patterns\u002FSKILL.md",true,[],[47,55,62,69,76,83],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":51,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7740FETMZY1VTYAEFY1TWY7","zustand-5","Zustand 5 state management patterns. Trigger: When managing React state with Zustand.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fzustand-5\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":51,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M773ZZM9V68SA1AKP4WF4J29","zod-4","Zod 4 schema validation patterns. Trigger: When using Zod for validation - breaking changes from v3.","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fzod-4\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":51,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M773ZJFR90CQAY0N9QR40QVP","x-bookmark-quote-posts","Workflow para revisar bookmarks de X\u002FTwitter y convertirlos en drafts de quote posts. Accede a la sección de bookmarks vía browser headless, extrae posts recientes, y genera drafts con voz personal del usuario. No publica ni muta X — solo genera contenido para revisión. Trigger: X bookmarks, Twitter bookmarks, quote posts, bookmark automation, crear quote posts, revisar bookmarks, growth content X.","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fx-bookmark-quote-posts\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M773Z2RGV3786FV310SDB0YD","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M773YJH3KDSW467CSS63CSRJ","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":51,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M773Y3S3H2CPRK5S8YFHWB5C","work-unit-commits","Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fwork-unit-commits\u002FSKILL.md",[],[]]