[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ADBR7N3D9D44V6JYEXX1EB":3,"skill-same:01M7ADBR7N3D9D44V6JYEXX1EB":64},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M7ADBR7N3D9D44V6JYEXX1EB","architecture",null,"Use when designing modules, seams, and adapters, when evaluating module depth and identifying deepening opportunities in a codebase, or when modernizing legacy code incrementally (strangler-fig, seams, characterization tests, safe extraction).","Leostruka\u002Fdevin-bundle","Leostruka","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F81370685?v=4","01M7AD8MAK63VDNAWRDRRRW04N","leandro ostruka","01M7AD8MBS65YDS1KMMV7YPM07",0,"MIT","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Farchitecture\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: architecture\ndescription: Use when designing modules, seams, and adapters, when evaluating module depth and identifying deepening opportunities in a codebase, or when modernizing legacy code incrementally (strangler-fig, seams, characterization tests, safe extraction).\nagent: architect\ntriggers: [user, model]\n---\n\n# Architecture\n\nDesign **deep modules** — a lot of behaviour behind a small interface at a\nclean seam, testable through that interface. Aim: leverage for callers,\nlocality for maintainers, testability for everyone.\n\nReference docs: `reference\u002FDEEPENING.md` (dependency categories + refactor\nmoves), `reference\u002FDESIGN-IT-TWICE.md`, `reference\u002FHTML-REPORT.md` (report\nformat).\n\n## Glossary — use these terms exactly\n\nDon't drift into \"component,\" \"service,\" \"API,\" or \"boundary.\"\n\n- **Module** — anything with an interface and an implementation (scale-agnostic).\n- **Interface** — everything a caller must know: signature, invariants,\n  ordering, error modes, config, performance.\n- **Depth** — leverage at the interface: behaviour exercisable per unit of\n  interface learned. Deep = small interface + lots of implementation.\n- **Seam** (Feathers) — a place you can alter behaviour without editing there.\n- **Adapter** — a concrete thing satisfying an interface at a seam (role, not\n  substance).\n- **Leverage** — what callers get from depth. **Locality** — what maintainers\n  get: change and bugs concentrate in one place.\n\n## Principles\n\n- **Depth is a property of the interface**, not the implementation.\n- **The deletion test** — delete the module: complexity vanishes →\n  pass-through; reappears across callers → earning its keep.\n- **The interface is the test surface** — callers and tests cross the same\n  seam.\n- **One adapter = hypothetical seam; two = real.** Don't add a seam unless\n  something varies across it.\n- Accept dependencies, don't create them; collapse pass-through wrappers;\n  co-locate decisions; hide parameter clusters; push I\u002FO to the seam; delete\n  tests on deleted shallow modules.\n\n## Deepening process (evaluate + act)\n\nSymptoms of shallowness: wide interface\u002Fthin impl; chains of tiny modules\nper concept; setup-heavy test explosion; dependency fan-out; repeated caller\nsetup. Several together → deepening candidate.\n\n1. **Scope before scanning (YAGNI)** — user direction wins; else walk\n   `git log --oneline` for hot spots. Read `.devin\u002FCONTEXT.md` + ADRs first.\n   Broad\u002Funfamiliar → `research` deep-mode before the sub-agent.\n2. **Explore** with an `architect`\u002F`researcher` sub-agent — organic, noting\n   friction; apply the deletion test to suspects.\n3. **Present candidates** — self-contained HTML report in OS temp dir\n   (`$TMPDIR`\u002F`\u002Ftmp`\u002F`%TEMP%`, `architecture-review-\u003Cts>.html`), Tailwind +\n   Mermaid via CDN, before\u002Fafter visuals, per candidate: files, problem,\n   solution, locality\u002Fleverage benefits, strength badge (Strong \u002F Worth\n   exploring \u002F Speculative). Open it for the user.\n4. **Act** — pick the refactor move per dependency category\n   (`reference\u002FDEEPENING.md`); tests land at the deepened interface.\n\n## Legacy modernization protocol\n\n1. **Characterization tests first** — capture current behavior before touching.\n2. **Find seams** — where new code can replace old.\n3. **Strangle incrementally** — route small slices through new impls.\n4. **Refactor locally** — extract, rename, deduplicate.\n5. **Verify each step** — tests + diff-check.\n6. **Document** — ADRs for architecture changes and deprecated paths.\n\nEach commit leaves the system testable and no worse than before. Report\nbefore\u002Fafter: tests, complexity, migration status.\n","# Architecture\n\nDesign **deep modules** — a lot of behaviour behind a small interface at a\nclean seam, testable through that interface. Aim: leverage for callers,\nlocality for maintainers, testability for everyone.\n\nReference docs: `reference\u002FDEEPENING.md` (dependency categories + refactor\nmoves), `reference\u002FDESIGN-IT-TWICE.md`, `reference\u002FHTML-REPORT.md` (report\nformat).\n\n## Glossary — use these terms exactly\n\nDon't drift into \"component,\" \"service,\" \"API,\" or \"boundary.\"\n\n- **Module** — anything with an interface and an implementation (scale-agnostic).\n- **Interface** — everything a caller must know: signature, invariants,\n  ordering, error modes, config, performance.\n- **Depth** — leverage at the interface: behaviour exercisable per unit of\n  interface learned. Deep = small interface + lots of implementation.\n- **Seam** (Feathers) — a place you can alter behaviour without editing there.\n- **Adapter** — a concrete thing satisfying an interface at a seam (role, not\n  substance).\n- **Leverage** — what callers get from depth. **Locality** — what maintainers\n  get: change and bugs concentrate in one place.\n\n## Principles\n\n- **Depth is a property of the interface**, not the implementation.\n- **The deletion test** — delete the module: complexity vanishes →\n  pass-through; reappears across callers → earning its keep.\n- **The interface is the test surface** — callers and tests cross the same\n  seam.\n- **One adapter = hypothetical seam; two = real.** Don't add a seam unless\n  something varies across it.\n- Accept dependencies, don't create them; collapse pass-through wrappers;\n  co-locate decisions; hide parameter clusters; push I\u002FO to the seam; delete\n  tests on deleted shallow modules.\n\n## Deepening process (evaluate + act)\n\nSymptoms of shallowness: wide interface\u002Fthin impl; chains of tiny modules\nper concept; setup-heavy test explosion; dependency fan-out; repeated caller\nsetup. Several together → deepening candidate.\n\n1. **Scope before scanning (YAGNI)** — user direction wins; else walk\n   `git log --oneline` for hot spots. Read `.devin\u002FCONTEXT.md` + ADRs first.\n   Broad\u002Funfamiliar → `research` deep-mode before the sub-agent.\n2. **Explore** with an `architect`\u002F`researcher` sub-agent — organic, noting\n   friction; apply the deletion test to suspects.\n3. **Present candidates** — self-contained HTML report in OS temp dir\n   (`$TMPDIR`\u002F`\u002Ftmp`\u002F`%TEMP%`, `architecture-review-\u003Cts>.html`), Tailwind +\n   Mermaid via CDN, before\u002Fafter visuals, per candidate: files, problem,\n   solution, locality\u002Fleverage benefits, strength badge (Strong \u002F Worth\n   exploring \u002F Speculative). Open it for the user.\n4. **Act** — pick the refactor move per dependency category\n   (`reference\u002FDEEPENING.md`); tests land at the deepened interface.\n\n## Legacy modernization protocol\n\n1. **Characterization tests first** — capture current behavior before touching.\n2. **Find seams** — where new code can replace old.\n3. **Strangle incrementally** — route small slices through new impls.\n4. **Refactor locally** — extract, rename, deduplicate.\n5. **Verify each step** — tests + diff-check.\n6. **Document** — ADRs for architecture changes and deprecated paths.\n\nEach commit leaves the system testable and no worse than before. Report\nbefore\u002Fafter: tests, complexity, migration status.\n",{"name":5,"agent":24,"triggers":25,"description":7},"architect",[26,27],"user","model","main","02b95ddb62959a00b3c31442c2046aca0d19563c","skills\u002Farchitecture",1,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle","https:\u002F\u002Fleostruka.github.io\u002Fdevin-bundle\u002F","https:\u002F\u002Fgithub.com\u002FLeostruka","2026-11-15 05:19:58",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add Leostruka\u002Fdevin-bundle --skill architecture",{"tool":42,"command":43},"bunx","bunx skills add Leostruka\u002Fdevin-bundle --skill architecture",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Leostruka\u002Fdevin-bundle --skill architecture","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Farchitecture\u002FSKILL.md",true,[50,56,60],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"reference\u002FDEEPENING.md","REFERENCE","参考文档",2559,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Farchitecture\u002Freference\u002FDEEPENING.md",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"reference\u002FDESIGN-IT-TWICE.md",2700,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Farchitecture\u002Freference\u002FDESIGN-IT-TWICE.md",{"path":61,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":62,"sourceHtmlUrl":63},"reference\u002FHTML-REPORT.md",6676,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Farchitecture\u002Freference\u002FHTML-REPORT.md",[65,72,79,86,93,100],{"skillNo":66,"name":67,"nameZh":6,"description":68,"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":19},"01M7E0K3MG2XC4FSRV0MK6SFR1","montador-de-ideias","Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening\u002Foptimization, and high-impact contact surfaces.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fmontador-de-ideias\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7E0J7JJWZ8QMK01RZ3B3C9Z","git-github-adaptive-engineering","Use when any task touches git history, GitHub issues\u002FPRs\u002Freleases\u002FCI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit\u002FPR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug\u002Ffinish skills.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fgit-github-adaptive-engineering\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7E0GJFRPFEVQQMXEM58EWDM","adaptive-agenda-calendar-routine-engine","Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions\u002Fgcal\u002Fwrapper.py.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fadaptive-agenda-calendar-routine-engine\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7AE2K9FTY0BVS48N0A9JFKF","demo","Use when demonstrating a skill in a fixture project.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7AE2G3DP38PTV3B1N7MW5TS","duplicate-skill","Use when testing duplicate skill name detection.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":101,"name":95,"nameZh":6,"description":96,"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":19},"01M7AE2DBR8ZHT6T875MJ392GK","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Falpha\u002FSKILL.md",[],[]]