[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MCAKDJ3KPHSN02TQJ6N8YM":3,"skill-same:01M6MCAKDJ3KPHSN02TQJ6N8YM":111},{"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":23,"publishedAt":46,"linkOnly":47,"markdownContent":48,"markdownBody":49,"frontMatter":50,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":62,"ownerHtmlUrl":63,"ownerBlogUrl":64,"ownerDescription":65,"updatedAt":66,"install":67,"resources":80},"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",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],"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":51,"description":7,"compatibility":56},{"tags":52,"version":53,"category":54,"displayName":55},"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":68,"prompt":78,"zipAvailable":79},[69,72,75],{"tool":70,"command":71},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cli-application-architecture",{"tool":73,"command":74},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cli-application-architecture",{"tool":76,"command":77},"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,[81,87,91,95,99,103,107],{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"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":88,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":89,"sourceHtmlUrl":90},"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":92,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":93,"sourceHtmlUrl":94},"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":96,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":97,"sourceHtmlUrl":98},"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":100,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":101,"sourceHtmlUrl":102},"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":104,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":105,"sourceHtmlUrl":106},"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":108,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":109,"sourceHtmlUrl":110},"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",[112,121,129,137,145,153],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":116,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":120},"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":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":125,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":120},"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":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":133,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":120},"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":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":141,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":120},"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":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":149,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":120},"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":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":157,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":120},"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",[],[]]