[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MCAKDJ3KPHSN02TQJ6N8YM":3,"skill-same:01M6MCAKDJ3KPHSN02TQJ6N8YM":106},{"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":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":57,"ownerHtmlUrl":58,"ownerBlogUrl":59,"ownerDescription":60,"updatedAt":61,"install":62,"resources":75},"01M6MCAKDJ3KPHSN02TQJ6N8YM","go-cli-application-architecture",null,"Design and review maintainable Go CLI application boundaries, package layout, dependency direction, command factories, configuration ownership, adapters, services, storage, and composition roots. Use when starting a multi-command CLI, extracting business logic from Cobra, untangling globals, adding external dependencies, or deciding what belongs under cmd, internal, or reusable packages.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-application-architecture\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"cli","go","application architecture","architecture","go cli application architecture","application","command","when","extracting","cobra","direction","layout","dependency-injection","dependency","design","Composition","injection","package","code","packages","storage","review","2026-11-10 10:12:30",false,"---\nname: go-cli-application-architecture\ndescription: Design and review maintainable Go CLI application boundaries, package layout, dependency direction, command factories, configuration ownership, adapters, services, storage, and composition roots. Use when starting a multi-command CLI, extracting business logic from Cobra, untangling globals, adding external dependencies, or deciding what belongs under cmd, internal, or reusable packages.\nlicense: MIT\ncompatibility: Codex, Claude Code, and other Agent Skills-compatible clients.\nmetadata:\n  version: \"0.3.0\"\n  displayName: Go CLI Application Architecture\n  category: Go\n  tags: go,golang,cli,architecture,packages,dependency-injection\n---\n\n# Go CLI Application Architecture\n\nOrganize around dependency direction and testable behavior, not a copied folder\ntemplate. Keep CLI framework code as an adapter around application services.\n\n## Core Workflow\n\n1. Identify commands, domain actions, external effects, and shared policies.\n2. Separate parsing\u002Frendering from application orchestration and adapters.\n3. Define interfaces at the consumer that needs substitution.\n4. Construct dependencies once in a composition root and pass them explicitly.\n5. Keep configuration immutable after validation; give mutable state a dedicated store.\n6. Record ownership and cleanup for every acquired resource and background task.\n7. Test inward from pure logic to adapters and one assembled executable path.\n\n## Read Next\n\n| Task | Load |\n|---|---|\n| Design or refactor boundaries | `guidelines.md`, `workflows\u002Fdesign-application-boundaries.md` |\n| Review ownership and cleanup | `workflows\u002Freview-resource-lifecycle.md` |\n| Decide package and interface placement | `references\u002Fapplication-architecture\u002Frules.md` |\n| Review patterns and examples | `references\u002Fapplication-architecture\u002Fexamples.md` |\n| Understand dependency direction | `references\u002Fapplication-architecture\u002Fknowledge.md` |\n\n## Guardrails\n\n- Do not put domain behavior in Cobra `Run` functions.\n- Avoid a central interfaces package and broad catch-all service abstractions.\n- Do not use package globals or `init` for dependency construction.\n- Keep fallible I\u002FO and order-dependent startup out of `init`; use explicit composition.\n- Keep runtime configuration distinct from mutable application storage.\n- Add layers only when they create a real seam, invariant, or dependency boundary.\n\n## Source Notes\n\nGuidance is transformed and paraphrased from Marian Montagnino,\n*Building Modern CLI Applications in Go* (Packt, 2023), especially Chapters\n2-3, with original adaptations aligned to current Go conventions.\n\nConcrete-first interfaces, dependency ownership, and adapter lifecycle guidance\nalso incorporates transformed material from Inanc Gumus, *Go by Example:\nProgrammer's Guide to Idiomatic and Testable Programs* (Manning, 2025),\nChapters 5 and 8-10.\n\nInitialization and lifecycle guidance also incorporates transformed material\nfrom Teiva Harsanyi, *100 Go Mistakes and How to Avoid Them* (Manning, 2022),\nChapters 2, 6, 7, and 10.\n","# Go CLI Application Architecture\n\nOrganize around dependency direction and testable behavior, not a copied folder\ntemplate. Keep CLI framework code as an adapter around application services.\n\n## Core Workflow\n\n1. Identify commands, domain actions, external effects, and shared policies.\n2. Separate parsing\u002Frendering from application orchestration and adapters.\n3. Define interfaces at the consumer that needs substitution.\n4. Construct dependencies once in a composition root and pass them explicitly.\n5. Keep configuration immutable after validation; give mutable state a dedicated store.\n6. Record ownership and cleanup for every acquired resource and background task.\n7. Test inward from pure logic to adapters and one assembled executable path.\n\n## Read Next\n\n| Task | Load |\n|---|---|\n| Design or refactor boundaries | `guidelines.md`, `workflows\u002Fdesign-application-boundaries.md` |\n| Review ownership and cleanup | `workflows\u002Freview-resource-lifecycle.md` |\n| Decide package and interface placement | `references\u002Fapplication-architecture\u002Frules.md` |\n| Review patterns and examples | `references\u002Fapplication-architecture\u002Fexamples.md` |\n| Understand dependency direction | `references\u002Fapplication-architecture\u002Fknowledge.md` |\n\n## Guardrails\n\n- Do not put domain behavior in Cobra `Run` functions.\n- Avoid a central interfaces package and broad catch-all service abstractions.\n- Do not use package globals or `init` for dependency construction.\n- Keep fallible I\u002FO and order-dependent startup out of `init`; use explicit composition.\n- Keep runtime configuration distinct from mutable application storage.\n- Add layers only when they create a real seam, invariant, or dependency boundary.\n\n## Source Notes\n\nGuidance is transformed and paraphrased from Marian Montagnino,\n*Building Modern CLI Applications in Go* (Packt, 2023), especially Chapters\n2-3, with original adaptations aligned to current Go conventions.\n\nConcrete-first interfaces, dependency ownership, and adapter lifecycle guidance\nalso incorporates transformed material from Inanc Gumus, *Go by Example:\nProgrammer's Guide to Idiomatic and Testable Programs* (Manning, 2025),\nChapters 5 and 8-10.\n\nInitialization and lifecycle guidance also incorporates transformed material\nfrom Teiva Harsanyi, *100 Go Mistakes and How to Avoid Them* (Manning, 2022),\nChapters 2, 6, 7, and 10.\n",{"name":5,"license":15,"metadata":46,"description":7,"compatibility":51},{"tags":47,"version":48,"category":49,"displayName":50},"go,golang,cli,architecture,packages,dependency-injection","0.3.0","Go","Go CLI Application Architecture","Codex, Claude Code, and other Agent Skills-compatible clients.","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-application-architecture",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cli-application-architecture",{"tool":68,"command":69},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cli-application-architecture",{"tool":71,"command":72},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cli-application-architecture","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-application-architecture\u002FSKILL.md",true,[76,82,86,90,94,98,102],{"path":77,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":81},"agents\u002Fopenai.yaml","REFERENCE","参考文档",240,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-application-architecture\u002Fagents\u002Fopenai.yaml",{"path":83,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":84,"sourceHtmlUrl":85},"guidelines.md",2054,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-application-architecture\u002Fguidelines.md",{"path":87,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fapplication-architecture\u002Fexamples.md",1753,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-application-architecture\u002Freferences\u002Fapplication-architecture\u002Fexamples.md",{"path":91,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fapplication-architecture\u002Fknowledge.md",3365,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-application-architecture\u002Freferences\u002Fapplication-architecture\u002Fknowledge.md",{"path":95,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Fapplication-architecture\u002Frules.md",2667,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-application-architecture\u002Freferences\u002Fapplication-architecture\u002Frules.md",{"path":99,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":100,"sourceHtmlUrl":101},"workflows\u002Fdesign-application-boundaries.md",1518,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-application-architecture\u002Fworkflows\u002Fdesign-application-boundaries.md",{"path":103,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":104,"sourceHtmlUrl":105},"workflows\u002Freview-resource-lifecycle.md",1674,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-application-architecture\u002Fworkflows\u002Freview-resource-lifecycle.md",[107,116,124,132,140,148],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":111,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":115},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":120,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":115},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":128,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":115},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":136,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":115},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":144,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":115},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":152,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":115},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]