[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MCC5KVVRYEYF3TKCTRRTY6":3,"skill-same:01M6MCC5KVVRYEYF3TKCTRRTY6":113},{"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":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":60,"ownerHtmlUrl":61,"ownerBlogUrl":62,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M6MCC5KVVRYEYF3TKCTRRTY6","go-cobra-applications",null,"Build, refactor, test, and review Cobra-based Go applications with intentional command trees, fresh constructors, suggestions, typed boundaries, scoped flags, local or remote configuration, explicit precedence, safe live reload, context propagation, stable streams, shell completion, and generated documentation. Use for Cobra or Viper CLI architecture and implementation.","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-cobra-applications\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],"go cobra applications","go","cobra","applications","context","streams","remote","fresh","live","local","flags","generated","review","command","refactor","code","documentation","architecture","safe","cli","2026-11-10 10:12:30",false,"---\nname: go-cobra-applications\ndescription: Build, refactor, test, and review Cobra-based Go applications with intentional command trees, fresh constructors, suggestions, typed boundaries, scoped flags, local or remote configuration, explicit precedence, safe live reload, context propagation, stable streams, shell completion, and generated documentation. Use for Cobra or Viper CLI architecture and implementation.\nlicense: MIT\ncompatibility: Codex, Claude Code, and other Agent Skills-compatible clients.\nmetadata:\n  version: \"0.4.0\"\n  displayName: Go Cobra Applications\n  category: Go\n  tags: go,golang,cli,cobra,viper,command-tree,configuration\n---\n\n# Go Cobra Applications\n\nKeep Cobra and Viper at the application edge. Construct a fresh command tree\nper execution and translate CLI state into typed application calls.\n\n## Core Workflow\n\n1. Model the tree around user resources, workflows, and operations.\n2. Define invocation contracts, argument validation, examples, and flag scope.\n3. Construct fresh root and subcommands with explicit dependencies and streams.\n4. Keep handlers thin, propagate context, and return errors.\n5. Resolve defaults, config, environment, and flags into a validated typed config.\n6. Test parsing, inheritance, precedence, help, errors, and repeated execution.\n7. Generate completion and documentation from the same runtime tree.\n\n## Read Next\n\n| Task | Load |\n|---|---|\n| Build or restructure a Cobra application | `guidelines.md`, `workflows\u002Fbuild-cobra-command-tree.md` |\n| Apply command-tree, flag, config, and testing rules | `references\u002Fcobra-applications\u002Frules.md` |\n| Use constructors and focused implementation examples | `references\u002Fcobra-applications\u002Fexamples.md` |\n| Inject services or resolve configuration | `references\u002Fcobra-applications\u002Fpatterns.md` |\n| Review a Cobra\u002FViper application | `references\u002Fcobra-applications\u002Fchecklist.md` |\n| Understand architecture, completion, and docs | `references\u002Fcobra-applications\u002Fknowledge.md` |\n\n## Guardrails\n\n- Avoid mutable package-global commands and `init`-driven application wiring.\n- Domain packages must not import Cobra or Viper.\n- Use persistent flags only when descendants genuinely share the option.\n- Treat configuration as validated runtime policy, not mutable application storage.\n- Validate reload candidates and atomically publish only last-known-good state.\n- Show usage for syntax errors, not routine operational failures.\n- Verify generator, completion, docs, and configuration APIs against pinned versions.\n\n## Source Notes\n\nGuidance is transformed and paraphrased from Ricardo Gerardi,\n*Powerful Command-Line Applications in Go* (Pragmatic Bookshelf, 2021),\nespecially Chapter 7. Examples are original adaptations.\n\nBook: https:\u002F\u002Fpragprog.com\u002Ftitles\u002Frggo\u002Fpowerful-command-line-applications-in-go\u002F\n\nThe book's 2021 generator flow is historical. Verify current APIs and tooling\nagainst https:\u002F\u002Fcobra.dev\u002F and https:\u002F\u002Fgithub.com\u002Fspf13\u002Fviper before use.\n\nSuggestion, remote configuration, and live-reload guidance also incorporates\ntransformed material from Marian Montagnino, *Building Modern CLI Applications\nin Go* (Packt, 2023), especially Chapter 4.\n\nParser-boundary guidance also incorporates transformed material from Inanc\nGumus, *Go by Example: Programmer's Guide to Idiomatic and Testable Programs*\n(Manning, 2025), Chapter 4.\n","# Go Cobra Applications\n\nKeep Cobra and Viper at the application edge. Construct a fresh command tree\nper execution and translate CLI state into typed application calls.\n\n## Core Workflow\n\n1. Model the tree around user resources, workflows, and operations.\n2. Define invocation contracts, argument validation, examples, and flag scope.\n3. Construct fresh root and subcommands with explicit dependencies and streams.\n4. Keep handlers thin, propagate context, and return errors.\n5. Resolve defaults, config, environment, and flags into a validated typed config.\n6. Test parsing, inheritance, precedence, help, errors, and repeated execution.\n7. Generate completion and documentation from the same runtime tree.\n\n## Read Next\n\n| Task | Load |\n|---|---|\n| Build or restructure a Cobra application | `guidelines.md`, `workflows\u002Fbuild-cobra-command-tree.md` |\n| Apply command-tree, flag, config, and testing rules | `references\u002Fcobra-applications\u002Frules.md` |\n| Use constructors and focused implementation examples | `references\u002Fcobra-applications\u002Fexamples.md` |\n| Inject services or resolve configuration | `references\u002Fcobra-applications\u002Fpatterns.md` |\n| Review a Cobra\u002FViper application | `references\u002Fcobra-applications\u002Fchecklist.md` |\n| Understand architecture, completion, and docs | `references\u002Fcobra-applications\u002Fknowledge.md` |\n\n## Guardrails\n\n- Avoid mutable package-global commands and `init`-driven application wiring.\n- Domain packages must not import Cobra or Viper.\n- Use persistent flags only when descendants genuinely share the option.\n- Treat configuration as validated runtime policy, not mutable application storage.\n- Validate reload candidates and atomically publish only last-known-good state.\n- Show usage for syntax errors, not routine operational failures.\n- Verify generator, completion, docs, and configuration APIs against pinned versions.\n\n## Source Notes\n\nGuidance is transformed and paraphrased from Ricardo Gerardi,\n*Powerful Command-Line Applications in Go* (Pragmatic Bookshelf, 2021),\nespecially Chapter 7. Examples are original adaptations.\n\nBook: https:\u002F\u002Fpragprog.com\u002Ftitles\u002Frggo\u002Fpowerful-command-line-applications-in-go\u002F\n\nThe book's 2021 generator flow is historical. Verify current APIs and tooling\nagainst https:\u002F\u002Fcobra.dev\u002F and https:\u002F\u002Fgithub.com\u002Fspf13\u002Fviper before use.\n\nSuggestion, remote configuration, and live-reload guidance also incorporates\ntransformed material from Marian Montagnino, *Building Modern CLI Applications\nin Go* (Packt, 2023), especially Chapter 4.\n\nParser-boundary guidance also incorporates transformed material from Inanc\nGumus, *Go by Example: Programmer's Guide to Idiomatic and Testable Programs*\n(Manning, 2025), Chapter 4.\n",{"name":5,"license":15,"metadata":49,"description":7,"compatibility":54},{"tags":50,"version":51,"category":52,"displayName":53},"go,golang,cli,cobra,viper,command-tree,configuration","0.4.0","Go","Go Cobra Applications","Codex, Claude Code, and other Agent Skills-compatible clients.","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cobra-applications",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":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cobra-applications",{"tool":71,"command":72},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cobra-applications",{"tool":74,"command":75},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cobra-applications","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cobra-applications\u002FSKILL.md",true,[79,85,89,93,97,101,105,109],{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"agents\u002Fopenai.yaml","REFERENCE","参考文档",217,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cobra-applications\u002Fagents\u002Fopenai.yaml",{"path":86,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":87,"sourceHtmlUrl":88},"guidelines.md",3154,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cobra-applications\u002Fguidelines.md",{"path":90,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fcobra-applications\u002Fchecklist.md",6574,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cobra-applications\u002Freferences\u002Fcobra-applications\u002Fchecklist.md",{"path":94,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Fcobra-applications\u002Fexamples.md",4517,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cobra-applications\u002Freferences\u002Fcobra-applications\u002Fexamples.md",{"path":98,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":99,"sourceHtmlUrl":100},"references\u002Fcobra-applications\u002Fknowledge.md",5492,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cobra-applications\u002Freferences\u002Fcobra-applications\u002Fknowledge.md",{"path":102,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":103,"sourceHtmlUrl":104},"references\u002Fcobra-applications\u002Fpatterns.md",5475,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cobra-applications\u002Freferences\u002Fcobra-applications\u002Fpatterns.md",{"path":106,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":107,"sourceHtmlUrl":108},"references\u002Fcobra-applications\u002Frules.md",6302,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cobra-applications\u002Freferences\u002Fcobra-applications\u002Frules.md",{"path":110,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":111,"sourceHtmlUrl":112},"workflows\u002Fbuild-cobra-command-tree.md",4519,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cobra-applications\u002Fworkflows\u002Fbuild-cobra-command-tree.md",[114,123,131,139,147,155],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":118,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":122},"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":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":127,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":122},"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":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":135,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":122},"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":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":143,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":122},"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":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":151,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":122},"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":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":159,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":122},"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",[],[]]