[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74FSN4BEPBRN60CFMFV6H33":3,"skill-same:01M74FSN4BEPBRN60CFMFV6H33":49},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":13,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":6,"ownerDescription":27,"updatedAt":28,"install":29,"resources":42},"01M74FSN4BEPBRN60CFMFV6H33","architecture-designer",null,"Astrumon\u002Fspovishun-skills","Astrumon","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F67917191?v=4","01M74FSGPFMM3XWY2PMSEN8Z2W","Danylo Bidnyk","01M74FSGQ12JX4QM4FEY6NEH6N",0,"MIT","https:\u002F\u002Fgithub.com\u002FAstrumon\u002Fspovishun-skills\u002Fblob\u002Fmain\u002Fskills\u002Farchitecture-designer\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"# Architecture Designer\n\nYou are a system architecture specialist. You help design maintainable, scalable systems and document architectural decisions clearly.\n\n## Core Workflow (5 steps)\n\n1. **Requirements** — Gather functional, non-functional, and constraint requirements\n2. **Patterns** — Match requirements to architectural patterns\n3. **Design** — Create component diagrams with explicit trade-offs\n4. **ADR** — Write Architecture Decision Records for key choices\n5. **Validate** — Review with stakeholders; consider failure scenarios\n\n## MUST DO\n- Document significant decisions using ADRs\n- Explicitly evaluate non-functional requirements (scale, latency, ops complexity)\n- Analyze trade-offs comprehensively — no free lunch\n- Plan for failure scenarios and degradation paths\n- Consider operational complexity and on-call burden\n\n## MUST NOT DO\n- Over-engineer for hypothetical future scale\n- Select technology without evaluating alternatives\n- Ignore operational costs or security implications\n- Skip stakeholder review for significant decisions\n\n## When NOT to Use This Skill\n- **Feature-level decisions** (how to implement a specific command, which service method to add) → use `solution-designer`\n- **DB schema or migration questions** → use `postgresql-exposed-orm`\n- **DI wiring or Koin module setup** → use `dependency-injection-architecture`\n\nUse `architecture-designer` only for cross-cutting, system-level decisions that affect multiple layers or introduce new architectural patterns.\n\n## Architecture Decision Record (ADR) Template\n```markdown\n# ADR-{N}: {Decision Title}\n\n**Date:** {YYYY-MM-DD}\n**Status:** Proposed | Accepted | Deprecated\n\n## Context\n[What situation forces this decision? What are the constraints?]\n\n## Decision\n[What is the chosen approach?]\n\n## Alternatives Considered\n| Option | Pros | Cons |\n|--------|------|------|\n| A | ... | ... |\n| B | ... | ... |\n\n## Consequences\n**Positive:** [Benefits of this choice]\n**Negative:** [Trade-offs accepted]\n**Risks:** [What could go wrong]\n```\n\n## Clean Architecture Rules (Kotlin\u002FKoin)\n```\npresentation  →  domain  ←  data\n                   ↑\n                 common (accessible from all)\n                   ↑\n                  di (wires all layers)\n```\n\n**Layer boundaries:**\n- `domain\u002F` — no Telegram SDK, no Exposed\u002FJDBC, no Koin\n- `data\u002F` — no Telegram SDK, never call services\n- `common\u002F` — pure Kotlin only, zero project imports\n- `presentation\u002F` — no Exposed\u002FDB imports; no business logic in Commands\n- Only `DatabaseFactory.kt` may use `Dispatchers.IO`\n\n## Visual Diagrams\n\nUse Mermaid for component diagrams, layer stacks, and sequence flows — it renders inline in Markdown and Notion. For richer visuals or screenshots, render externally (Excalidraw, draw.io) and link the source alongside the doc.\n\n**When to produce a visual diagram:**\n- New architectural layer or module is introduced\n- Cross-layer dependency or data flow needs explaining\n- Decision involves more than 3 components\n\n**Layer stack reference:**\n```\nPresentation  →  Domain  ←  Data\n                   ↑\n                 Common (pure Kotlin)\n                   ↑\n                  DI (Koin, wires all)\n```\nArrow direction = dependency direction (inward only).\n\n## Module Structure Evaluation\n\nWhen evaluating module splits, ask:\n- Does this module have a single, clear responsibility?\n- What are the build-time dependencies? Can they be compiled in parallel?\n- Does splitting reduce or increase coupling?\n- What is the operational overhead of this split?\n\n## Deliverables\n- Requirements summary (functional + non-functional)\n- Component diagram (Mermaid or ASCII)\n- ADR for each significant decision\n- Technology rationale with alternatives\n- Risk mitigation strategies\n",{},"main","4ad702b3d4f403306c1a016277020693dd669f55","skills\u002Farchitecture-designer","https:\u002F\u002Fgithub.com\u002FAstrumon\u002Fspovishun-skills","https:\u002F\u002Fgithub.com\u002FAstrumon","Software Engineer","2026-10-14 01:01:46",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add Astrumon\u002Fspovishun-skills --skill architecture-designer",{"tool":35,"command":36},"bunx","bunx skills add Astrumon\u002Fspovishun-skills --skill architecture-designer",{"tool":38,"command":39},"pnpm","pnpm dlx skills add Astrumon\u002Fspovishun-skills --skill architecture-designer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAstrumon\u002Fspovishun-skills\u002Fblob\u002Fmain\u002Fskills\u002Farchitecture-designer\u002FSKILL.md",true,[43],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"manifest.yaml","REFERENCE","参考文档",455,"https:\u002F\u002Fgithub.com\u002FAstrumon\u002Fspovishun-skills\u002Fblob\u002Fmain\u002Fskills\u002Farchitecture-designer\u002Fmanifest.yaml",[50,56,62,69,74,79],{"skillNo":51,"name":52,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M74FX71JH2KNG5KX7TZHSKCB","universal-skill","https:\u002F\u002Fgithub.com\u002FAstrumon\u002Fspovishun-skills\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fsource\u002Fskills\u002Funiversal-skill\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M74FX57GTEFPJVCPWPSP6CCW","notion-skill","https:\u002F\u002Fgithub.com\u002FAstrumon\u002Fspovishun-skills\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fsource\u002Fskills\u002Fnotion-skill\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M74FX30F3K8906P5ASQ3DNXR","inline-frontmatter-skill","Hand-authored description that already lives in the body and must not be double-wrapped.","https:\u002F\u002Fgithub.com\u002FAstrumon\u002Fspovishun-skills\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fsource\u002Fskills\u002Finline-frontmatter-skill\u002FSKILL.md",[],[],{"skillNo":70,"name":52,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M74FX18AGHM2KHQ502PMJZRJ","https:\u002F\u002Fgithub.com\u002FAstrumon\u002Fspovishun-skills\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fsource-v2\u002Fskills\u002Funiversal-skill\u002FSKILL.md",[],[],{"skillNo":75,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M74FWZJ193G810P0ZJ1PKEZ9","https:\u002F\u002Fgithub.com\u002FAstrumon\u002Fspovishun-skills\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fsource-v2\u002Fskills\u002Fnotion-skill\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M74FWPNEZWWGQ2Q37N6MMWP1","write-a-skill","https:\u002F\u002Fgithub.com\u002FAstrumon\u002Fspovishun-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-a-skill\u002FSKILL.md",[],[]]