[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75R6N8571D7RKKWPZ7MQEEF":3,"skill-same:01M75R6N8571D7RKKWPZ7MQEEF":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M75R6N8571D7RKKWPZ7MQEEF","universal-architecture",null,"Apply responsibility-based architecture and enforce import boundaries. Use for code placement, architecture reviews, adapters, CLI entry points, platform sharing, and ESLint boundary rules.","TheDarkSkyXD\u002FSuperDevAgents","TheDarkSkyXD","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F34119991?v=4","01M75491CAR2M915CJW2NKRTE7","01M75R09ATEWYMSRKW981X1EPY",1,"MIT","https:\u002F\u002Fgithub.com\u002FTheDarkSkyXD\u002FSuperDevAgents\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Funiversal-architecture\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: universal-architecture\ndescription: Apply responsibility-based architecture and enforce import boundaries. Use for code placement, architecture reviews, adapters, CLI entry points, platform sharing, and ESLint boundary rules.\n---\n\n# Universal architecture\n\nRead [the portable runtime contract](..\u002Fsuperdev-mode\u002Freferences\u002Fportable-runtime.md) before following this workflow.\n\nApply a responsibility-based architecture without forcing unnecessary packages or abstractions. Detect the active platforms and existing repository conventions before proposing changes.\n\n## Workflow\n\n1. Identify the user's intent: design, placement decision, audit, enforcement, explanation, or implementation.\n2. Load the mandatory reference files specified below before analyzing or acting. Do not answer from this summary alone.\n3. Inspect the repository when the request concerns existing code. Determine platforms, entry points, workspace packages, aliases, build tools, tests, and current dependency direction.\n4. Classify code by responsibility rather than its current directory name.\n5. Separate runtime call flow from source-import direction, especially when dependency inversion is used.\n6. Preserve existing conventions where they support the boundaries. Do not manufacture a migration solely to match example paths.\n7. When implementing or reorganizing JavaScript\u002FTypeScript layer folders, implement matching ESLint import boundaries in the same task. Treat folders without enforcement as incomplete unless the user explicitly declines ESLint or the project cannot use it.\n8. For audits, cite concrete files and imports. For implementation, make scoped edits and run proportionate verification.\n9. Do not edit when the user asked only for a review, explanation, or diagnosis.\n\n## Mandatory reference loading\n\nThe reference files contain the detailed rules intentionally removed from this short file. Use them as required inputs, not optional background reading.\n\n1. **Always read [references\u002Flayers.md](references\u002Flayers.md)** for every skill activation. It defines layer ownership, ports, adapters, foundations, and placement decisions.\n2. **Also read [references\u002Ftransport.md](references\u002Ftransport.md)** whenever the request involves HTTP, RPC, GraphQL, IPC, native bridges, webhooks, queues, cron, workers, CLI, authentication, middleware, request validation, or application entry points.\n3. **Also read [references\u002Fplatforms-and-offline.md](references\u002Fplatforms-and-offline.md)** whenever the request involves web\u002Fmobile\u002Fdesktop flows, cross-platform sharing, deep links, push, payments, files, analytics, configuration, offline behavior, or synchronization.\n4. **Also read [references\u002Fenforcing-boundaries-with-eslint.md](references\u002Fenforcing-boundaries-with-eslint.md)** whenever the request involves ESLint, imports, automated enforcement, dependency inversion, monorepo boundaries, exceptions, rollout, or CI. Read it when an implementation creates or reorganizes JavaScript\u002FTypeScript architecture folders, even if the user did not mention ESLint.\n5. **Read all four reference files** for a full architecture design, repository-wide audit, cross-platform refactor, or boundary-enforcement implementation.\n\nIf the request expands during the task, load every newly relevant reference before continuing. Resolve these paths relative to this `SKILL.md`. Do not claim a reference is unavailable without checking the skill's `references\u002F` directory.\n\n## Core model\n\nUse six responsibility layers:\n\n1. UI\n2. Transport and application entry points\n3. Domain\n4. Capabilities\n5. Vendor and platform adapters\n6. Supporting foundations\n\nRepresentative runtime flow:\n\n```text\nUI\n→ Transport or application entry point\n→ Domain\n→ Capability port\n→ concrete vendor\u002Fplatform\u002Fpersistence adapter\n```\n\nTypical source-import direction under dependency inversion:\n\n```text\nUI → Transport client and Shared\nServer Transport → Domain and Shared\nDomain → Capability ports and Shared\nConcrete adapters → the ports they implement and Shared\nComposition root → consumers plus concrete implementations for wiring\n```\n\nRuntime arrows are not automatically source-import arrows. A Capability port must not import its concrete adapter. Put wiring in an explicit composition root and prevent circular package dependencies.\n\n## Non-negotiable boundaries\n\n- UI renders and collects input; it does not own authoritative business rules, persistence, privileged SDKs, or unrestricted OS access.\n- Transport parses and translates delivered messages, performs boundary validation and authentication, applies coarse access control, invokes Domain, and maps responses. It does not own product decisions or arbitrary queries.\n- Domain owns business rules, invariants, workflows, entity-specific authorization, and business errors. It remains independent of delivery frameworks and concrete infrastructure.\n- Capabilities expose small application-owned ports for external or platform operations. They do not leak provider terminology or SDK types.\n- Vendor, device, OS, and persistence adapters implement ports and normalize concrete behavior. They do not decide business policy.\n- Shared foundations contain only stable, framework-independent contracts and primitives. They must not become a dumping ground.\n- Composition roots may import several layers only to construct and inject dependencies. They must not accumulate business logic.\n- Split modules that combine responsibilities instead of granting shortcut dependencies.\n\n## Universal placement questions\n\n- Does it display information or collect user input? UI.\n- Does it receive, parse, authenticate, validate, or translate a delivered message? Transport.\n- Does it decide what the product should do? Domain.\n- Does it define a stable operation needed from a service, device, or operating system? Capability.\n- Does it use a specific SDK, provider, native API, database, or operating-system API? Adapter or persistence implementation.\n- Is it a stable framework-independent contract or primitive? Shared foundation.\n- Does it construct the application and connect ports to implementations? Composition root.\n\n## Enforcement policy\n\nArchitecture rules should become executable where the language and tooling allow it. For JavaScript\u002FTypeScript implementation work, folder organization and ESLint enforcement are one deliverable.\n\nFor JavaScript and TypeScript repositories:\n\n- Inspect the actual package manager, ESLint version, flat\u002Flegacy config, paths, aliases, exports, existing plugins, and CI before editing.\n- Install an appropriate boundary plugin through the repository's package manager when needed.\n- Prefer `eslint-plugin-boundaries` for resolved-file layer classification and dependency policies.\n- Use core `no-restricted-imports` for explicit vendor SDK, runtime, alias, or deep-import bans.\n- Consider cycle rules and package `exports` as complementary controls.\n- Adapt rules to actual paths and installed versions; never paste the reference configuration unchanged.\n- Add or update the normal lint script and existing CI lint step so boundary rules run automatically.\n- Verify aliases and relative imports cannot bypass enforcement.\n- Verify a valid dependency passes and a representative forbidden dependency fails.\n- Make CI fail on violations and warnings.\n\nDo not create ESLint configuration for non-JavaScript\u002FTypeScript source. State the limitation and use the language ecosystem's native boundary tooling only when it is within the user's implementation request.\n\nRead the ESLint reference before proposing or editing boundary configuration.\n\n## Output\n\nReport only what serves the request. A full design or audit should include:\n\n1. Detected platforms and entry points\n2. Proposed or observed layer map\n3. File and package ownership decisions\n4. Runtime communication paths\n5. Source-import policy\n6. Violations or suspicious dependencies with evidence\n7. Platform-specific and persistence adapters\n8. ESLint enforcement status when applicable\n9. Recommended changes in priority order\n10. Verification performed or still needed\n\nPrefer concrete repository paths and examples over abstract advice. Keep simple applications simple while preserving the important boundaries.\n","# Universal architecture\n\nRead [the portable runtime contract](..\u002Fsuperdev-mode\u002Freferences\u002Fportable-runtime.md) before following this workflow.\n\nApply a responsibility-based architecture without forcing unnecessary packages or abstractions. Detect the active platforms and existing repository conventions before proposing changes.\n\n## Workflow\n\n1. Identify the user's intent: design, placement decision, audit, enforcement, explanation, or implementation.\n2. Load the mandatory reference files specified below before analyzing or acting. Do not answer from this summary alone.\n3. Inspect the repository when the request concerns existing code. Determine platforms, entry points, workspace packages, aliases, build tools, tests, and current dependency direction.\n4. Classify code by responsibility rather than its current directory name.\n5. Separate runtime call flow from source-import direction, especially when dependency inversion is used.\n6. Preserve existing conventions where they support the boundaries. Do not manufacture a migration solely to match example paths.\n7. When implementing or reorganizing JavaScript\u002FTypeScript layer folders, implement matching ESLint import boundaries in the same task. Treat folders without enforcement as incomplete unless the user explicitly declines ESLint or the project cannot use it.\n8. For audits, cite concrete files and imports. For implementation, make scoped edits and run proportionate verification.\n9. Do not edit when the user asked only for a review, explanation, or diagnosis.\n\n## Mandatory reference loading\n\nThe reference files contain the detailed rules intentionally removed from this short file. Use them as required inputs, not optional background reading.\n\n1. **Always read [references\u002Flayers.md](references\u002Flayers.md)** for every skill activation. It defines layer ownership, ports, adapters, foundations, and placement decisions.\n2. **Also read [references\u002Ftransport.md](references\u002Ftransport.md)** whenever the request involves HTTP, RPC, GraphQL, IPC, native bridges, webhooks, queues, cron, workers, CLI, authentication, middleware, request validation, or application entry points.\n3. **Also read [references\u002Fplatforms-and-offline.md](references\u002Fplatforms-and-offline.md)** whenever the request involves web\u002Fmobile\u002Fdesktop flows, cross-platform sharing, deep links, push, payments, files, analytics, configuration, offline behavior, or synchronization.\n4. **Also read [references\u002Fenforcing-boundaries-with-eslint.md](references\u002Fenforcing-boundaries-with-eslint.md)** whenever the request involves ESLint, imports, automated enforcement, dependency inversion, monorepo boundaries, exceptions, rollout, or CI. Read it when an implementation creates or reorganizes JavaScript\u002FTypeScript architecture folders, even if the user did not mention ESLint.\n5. **Read all four reference files** for a full architecture design, repository-wide audit, cross-platform refactor, or boundary-enforcement implementation.\n\nIf the request expands during the task, load every newly relevant reference before continuing. Resolve these paths relative to this `SKILL.md`. Do not claim a reference is unavailable without checking the skill's `references\u002F` directory.\n\n## Core model\n\nUse six responsibility layers:\n\n1. UI\n2. Transport and application entry points\n3. Domain\n4. Capabilities\n5. Vendor and platform adapters\n6. Supporting foundations\n\nRepresentative runtime flow:\n\n```text\nUI\n→ Transport or application entry point\n→ Domain\n→ Capability port\n→ concrete vendor\u002Fplatform\u002Fpersistence adapter\n```\n\nTypical source-import direction under dependency inversion:\n\n```text\nUI → Transport client and Shared\nServer Transport → Domain and Shared\nDomain → Capability ports and Shared\nConcrete adapters → the ports they implement and Shared\nComposition root → consumers plus concrete implementations for wiring\n```\n\nRuntime arrows are not automatically source-import arrows. A Capability port must not import its concrete adapter. Put wiring in an explicit composition root and prevent circular package dependencies.\n\n## Non-negotiable boundaries\n\n- UI renders and collects input; it does not own authoritative business rules, persistence, privileged SDKs, or unrestricted OS access.\n- Transport parses and translates delivered messages, performs boundary validation and authentication, applies coarse access control, invokes Domain, and maps responses. It does not own product decisions or arbitrary queries.\n- Domain owns business rules, invariants, workflows, entity-specific authorization, and business errors. It remains independent of delivery frameworks and concrete infrastructure.\n- Capabilities expose small application-owned ports for external or platform operations. They do not leak provider terminology or SDK types.\n- Vendor, device, OS, and persistence adapters implement ports and normalize concrete behavior. They do not decide business policy.\n- Shared foundations contain only stable, framework-independent contracts and primitives. They must not become a dumping ground.\n- Composition roots may import several layers only to construct and inject dependencies. They must not accumulate business logic.\n- Split modules that combine responsibilities instead of granting shortcut dependencies.\n\n## Universal placement questions\n\n- Does it display information or collect user input? UI.\n- Does it receive, parse, authenticate, validate, or translate a delivered message? Transport.\n- Does it decide what the product should do? Domain.\n- Does it define a stable operation needed from a service, device, or operating system? Capability.\n- Does it use a specific SDK, provider, native API, database, or operating-system API? Adapter or persistence implementation.\n- Is it a stable framework-independent contract or primitive? Shared foundation.\n- Does it construct the application and connect ports to implementations? Composition root.\n\n## Enforcement policy\n\nArchitecture rules should become executable where the language and tooling allow it. For JavaScript\u002FTypeScript implementation work, folder organization and ESLint enforcement are one deliverable.\n\nFor JavaScript and TypeScript repositories:\n\n- Inspect the actual package manager, ESLint version, flat\u002Flegacy config, paths, aliases, exports, existing plugins, and CI before editing.\n- Install an appropriate boundary plugin through the repository's package manager when needed.\n- Prefer `eslint-plugin-boundaries` for resolved-file layer classification and dependency policies.\n- Use core `no-restricted-imports` for explicit vendor SDK, runtime, alias, or deep-import bans.\n- Consider cycle rules and package `exports` as complementary controls.\n- Adapt rules to actual paths and installed versions; never paste the reference configuration unchanged.\n- Add or update the normal lint script and existing CI lint step so boundary rules run automatically.\n- Verify aliases and relative imports cannot bypass enforcement.\n- Verify a valid dependency passes and a representative forbidden dependency fails.\n- Make CI fail on violations and warnings.\n\nDo not create ESLint configuration for non-JavaScript\u002FTypeScript source. State the limitation and use the language ecosystem's native boundary tooling only when it is within the user's implementation request.\n\nRead the ESLint reference before proposing or editing boundary configuration.\n\n## Output\n\nReport only what serves the request. A full design or audit should include:\n\n1. Detected platforms and entry points\n2. Proposed or observed layer map\n3. File and package ownership decisions\n4. Runtime communication paths\n5. Source-import policy\n6. Violations or suspicious dependencies with evidence\n7. Platform-specific and persistence adapters\n8. ESLint enforcement status when applicable\n9. Recommended changes in priority order\n10. Verification performed or still needed\n\nPrefer concrete repository paths and examples over abstract advice. Keep simple applications simple while preserving the important boundaries.\n",{"name":5,"description":7},"main","5440d26a8d527a55c691e544ae0e4e23e89e7157",".agents\u002Fskills\u002Funiversal-architecture",0,"https:\u002F\u002Fgithub.com\u002FTheDarkSkyXD\u002FSuperDevAgents","https:\u002F\u002Fgithub.com\u002FTheDarkSkyXD","2026-11-12 09:54:48",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add TheDarkSkyXD\u002FSuperDevAgents --skill universal-architecture",{"tool":36,"command":37},"bunx","bunx skills add TheDarkSkyXD\u002FSuperDevAgents --skill universal-architecture",{"tool":39,"command":40},"pnpm","pnpm dlx skills add TheDarkSkyXD\u002FSuperDevAgents --skill universal-architecture","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTheDarkSkyXD\u002FSuperDevAgents\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Funiversal-architecture\u002FSKILL.md",true,[44,50,54,58],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"references\u002Fenforcing-boundaries-with-eslint.md","REFERENCE","参考文档",13649,"https:\u002F\u002Fgithub.com\u002FTheDarkSkyXD\u002FSuperDevAgents\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Funiversal-architecture\u002Freferences\u002Fenforcing-boundaries-with-eslint.md",{"path":51,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Flayers.md",6731,"https:\u002F\u002Fgithub.com\u002FTheDarkSkyXD\u002FSuperDevAgents\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Funiversal-architecture\u002Freferences\u002Flayers.md",{"path":55,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fplatforms-and-offline.md",5102,"https:\u002F\u002Fgithub.com\u002FTheDarkSkyXD\u002FSuperDevAgents\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Funiversal-architecture\u002Freferences\u002Fplatforms-and-offline.md",{"path":59,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Ftransport.md",5404,"https:\u002F\u002Fgithub.com\u002FTheDarkSkyXD\u002FSuperDevAgents\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Funiversal-architecture\u002Freferences\u002Ftransport.md",[63,70,77,84,91,96],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M75RDJ9BA2E6J9NNCB1N7K56","why","Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.","https:\u002F\u002Fgithub.com\u002FTheDarkSkyXD\u002FSuperDevAgents\u002Fblob\u002Fmain\u002Fplugins\u002Fsuperdev\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M75RDFHCYADBVWTXG3AAZC09","what-did-i-get-done","Summarize authored commits over a user-specified time period into a concise update","https:\u002F\u002Fgithub.com\u002FTheDarkSkyXD\u002FSuperDevAgents\u002Fblob\u002Fmain\u002Fplugins\u002Fsuperdev\u002Fskills\u002Fwhat-did-i-get-done\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M75RDDK5WRB8PJ8PN7N6EWNZ","wayfinder","Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.","https:\u002F\u002Fgithub.com\u002FTheDarkSkyXD\u002FSuperDevAgents\u002Fblob\u002Fmain\u002Fplugins\u002Fsuperdev\u002Fskills\u002Fwayfinder\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M75RD9SZ9223AT30NA53XJ44","unslop","Cut AI tells from any writing.","https:\u002F\u002Fgithub.com\u002FTheDarkSkyXD\u002FSuperDevAgents\u002Fblob\u002Fmain\u002Fplugins\u002Fsuperdev\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":92,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":18},"01M75RD7H5QRBN7DDGHX76JE4J","https:\u002F\u002Fgithub.com\u002FTheDarkSkyXD\u002FSuperDevAgents\u002Fblob\u002Fmain\u002Fplugins\u002Fsuperdev\u002Fskills\u002Funiversal-architecture\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":18},"01M75RD5G2WGMRJKS5F7R7EW6N","typescript-best-practices","TypeScript best practices. Use when reading or editing any .ts or .tsx file.","https:\u002F\u002Fgithub.com\u002FTheDarkSkyXD\u002FSuperDevAgents\u002Fblob\u002Fmain\u002Fplugins\u002Fsuperdev\u002Fskills\u002Ftypescript-best-practices\u002FSKILL.md",[],[]]