[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MCAS0Q2HEJA7KD4193070K":3,"skill-same:01M6MCAS0Q2HEJA7KD4193070K":118},{"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":31,"publishedAt":53,"linkOnly":54,"markdownContent":55,"markdownBody":56,"frontMatter":57,"refName":64,"commitSha":65,"skillDirectory":66,"forksCount":67,"repositoryHtmlUrl":68,"repositoryHomepageUrl":69,"ownerHtmlUrl":70,"ownerBlogUrl":71,"ownerDescription":72,"updatedAt":73,"install":74,"resources":87},"01M6MCAS0Q2HEJA7KD4193070K","go-cli-command-design",null,"Design and review predictable Go command-line interfaces with canonical names and flags; explicit inputs and precedence; human, plain, and structured output; safe prompting; stdout and stderr contracts; help; errors; exit codes; cancellation; dependency injection; and platform behavior. Use when creating a Go CLI, changing its public command contract, making command code testable, or reviewing compatibility for people, scripts, AI agents, and CI.","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-command-design\u002FSKILL.md",[18,23,26],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":27,"categoryName":28,"taxonomyType":29,"taxonomyTypeDesc":30},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],"cli","go cli command design","go","command","design","dependency","when","errors","streams","command-line","people","scripts","line","human","flags","injection","ci","code","ai agents","safe","review","2026-11-10 10:12:30",false,"---\nname: go-cli-command-design\ndescription: Design and review predictable Go command-line interfaces with canonical names and flags; explicit inputs and precedence; human, plain, and structured output; safe prompting; stdout and stderr contracts; help; errors; exit codes; cancellation; dependency injection; and platform behavior. Use when creating a Go CLI, changing its public command contract, making command code testable, or reviewing compatibility for people, scripts, AI agents, and CI.\nlicense: MIT\ncompatibility: Codex, Claude Code, and other Agent Skills-compatible clients.\nmetadata:\n  version: \"0.4.0\"\n  displayName: Go CLI Command Design\n  category: Go\n  tags: go,golang,cli,command-design,flags,streams,portability\n---\n\n# Go CLI Command Design\n\nDesign the command as a public interface before treating it as an implementation.\nKeep results pipeable, failures diagnosable, and process-global state at the edge.\n\n## Core Workflow\n\n1. State the command purpose, invocation syntax, callers, and compatibility promises.\n2. Assign each input to a flag, operand, stdin, environment, or config source.\n3. Define precedence, validation, conflicts, defaults, and blocking behavior.\n4. Reserve stdout for results and requested help; use stderr for diagnostics,\n   invalid-usage help, and progress.\n5. Return errors from command logic and map exit codes at the process boundary.\n6. Inject streams, configuration, and effects behind a small testable runner.\n7. Verify help, invalid usage, operational failures, and supported target behavior.\n8. Verify noninteractive, color-disabled, canceled, and short-reading pipe behavior.\n\n## Read Next\n\n| Task | Load |\n|---|---|\n| Design or change a complete command contract | `guidelines.md`, `workflows\u002Fdesign-command-interface.md` |\n| Implement flags, streams, environment, or errors | `references\u002Fcommand-interface\u002Frules.md`, `references\u002Fcommand-interface\u002Fexamples.md` |\n| Understand the design rationale | `references\u002Fcommand-interface\u002Fknowledge.md` |\n| Review an existing command | `references\u002Fcommand-interface\u002Fchecklist.md` |\n\n## Guardrails\n\n- Prefer a dedicated `flag.FlagSet` over package-global flags in reusable code.\n- Do not read stdin unless the documented invocation requires it.\n- Do not call `os.Exit` below the outer process boundary.\n- Treat structured output, exact text, and exit codes as APIs when automation relies on them.\n- Never prompt, animate, or emit ANSI sequences in structured or noninteractive mode.\n- Treat closed downstream pipes as normal pipeline termination when appropriate.\n- Cross-compilation does not replace target-level smoke testing.\n\n## Source Notes\n\nGuidance is transformed and paraphrased from Ricardo Gerardi,\n*Powerful Command-Line Applications in Go* (Pragmatic Bookshelf, 2021),\nespecially Chapters 1-2. Examples are original adaptations.\n\nModern interaction, cancellation, and output-mode guidance also incorporates\ntransformed material from Marian Montagnino, *Building Modern CLI Applications\nin Go* (Packt, 2023), especially Chapters 1, 5, 8, and 10.\n\nBook: https:\u002F\u002Fpragprog.com\u002Ftitles\u002Frggo\u002Fpowerful-command-line-applications-in-go\u002F\n\nModern API details should be verified against https:\u002F\u002Fpkg.go.dev\u002Fflag and the\ncurrent Go documentation before implementation.\n\nParser grammar and validation guidance also incorporates transformed material\nfrom Inanc Gumus, *Go by Example: Programmer's Guide to Idiomatic and Testable\nPrograms* (Manning, 2025), Chapter 4.\n","# Go CLI Command Design\n\nDesign the command as a public interface before treating it as an implementation.\nKeep results pipeable, failures diagnosable, and process-global state at the edge.\n\n## Core Workflow\n\n1. State the command purpose, invocation syntax, callers, and compatibility promises.\n2. Assign each input to a flag, operand, stdin, environment, or config source.\n3. Define precedence, validation, conflicts, defaults, and blocking behavior.\n4. Reserve stdout for results and requested help; use stderr for diagnostics,\n   invalid-usage help, and progress.\n5. Return errors from command logic and map exit codes at the process boundary.\n6. Inject streams, configuration, and effects behind a small testable runner.\n7. Verify help, invalid usage, operational failures, and supported target behavior.\n8. Verify noninteractive, color-disabled, canceled, and short-reading pipe behavior.\n\n## Read Next\n\n| Task | Load |\n|---|---|\n| Design or change a complete command contract | `guidelines.md`, `workflows\u002Fdesign-command-interface.md` |\n| Implement flags, streams, environment, or errors | `references\u002Fcommand-interface\u002Frules.md`, `references\u002Fcommand-interface\u002Fexamples.md` |\n| Understand the design rationale | `references\u002Fcommand-interface\u002Fknowledge.md` |\n| Review an existing command | `references\u002Fcommand-interface\u002Fchecklist.md` |\n\n## Guardrails\n\n- Prefer a dedicated `flag.FlagSet` over package-global flags in reusable code.\n- Do not read stdin unless the documented invocation requires it.\n- Do not call `os.Exit` below the outer process boundary.\n- Treat structured output, exact text, and exit codes as APIs when automation relies on them.\n- Never prompt, animate, or emit ANSI sequences in structured or noninteractive mode.\n- Treat closed downstream pipes as normal pipeline termination when appropriate.\n- Cross-compilation does not replace target-level smoke testing.\n\n## Source Notes\n\nGuidance is transformed and paraphrased from Ricardo Gerardi,\n*Powerful Command-Line Applications in Go* (Pragmatic Bookshelf, 2021),\nespecially Chapters 1-2. Examples are original adaptations.\n\nModern interaction, cancellation, and output-mode guidance also incorporates\ntransformed material from Marian Montagnino, *Building Modern CLI Applications\nin Go* (Packt, 2023), especially Chapters 1, 5, 8, and 10.\n\nBook: https:\u002F\u002Fpragprog.com\u002Ftitles\u002Frggo\u002Fpowerful-command-line-applications-in-go\u002F\n\nModern API details should be verified against https:\u002F\u002Fpkg.go.dev\u002Fflag and the\ncurrent Go documentation before implementation.\n\nParser grammar and validation guidance also incorporates transformed material\nfrom Inanc Gumus, *Go by Example: Programmer's Guide to Idiomatic and Testable\nPrograms* (Manning, 2025), Chapter 4.\n",{"name":5,"license":15,"metadata":58,"description":7,"compatibility":63},{"tags":59,"version":60,"category":61,"displayName":62},"go,golang,cli,command-design,flags,streams,portability","0.4.0","Go","Go CLI Command Design","Codex, Claude Code, and other Agent Skills-compatible clients.","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-command-design",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":75,"prompt":85,"zipAvailable":86},[76,79,82],{"tool":77,"command":78},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cli-command-design",{"tool":80,"command":81},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cli-command-design",{"tool":83,"command":84},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cli-command-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-command-design\u002FSKILL.md",true,[88,94,98,102,106,110,114],{"path":89,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":92,"sourceHtmlUrl":93},"agents\u002Fopenai.yaml","REFERENCE","参考文档",225,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-command-design\u002Fagents\u002Fopenai.yaml",{"path":95,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":96,"sourceHtmlUrl":97},"guidelines.md",2910,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-command-design\u002Fguidelines.md",{"path":99,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fcommand-interface\u002Fchecklist.md",4809,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-command-design\u002Freferences\u002Fcommand-interface\u002Fchecklist.md",{"path":103,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Fcommand-interface\u002Fexamples.md",4438,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-command-design\u002Freferences\u002Fcommand-interface\u002Fexamples.md",{"path":107,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":108,"sourceHtmlUrl":109},"references\u002Fcommand-interface\u002Fknowledge.md",4903,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-command-design\u002Freferences\u002Fcommand-interface\u002Fknowledge.md",{"path":111,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":112,"sourceHtmlUrl":113},"references\u002Fcommand-interface\u002Frules.md",6296,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-command-design\u002Freferences\u002Fcommand-interface\u002Frules.md",{"path":115,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":116,"sourceHtmlUrl":117},"workflows\u002Fdesign-command-interface.md",4237,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-command-design\u002Fworkflows\u002Fdesign-command-interface.md",[119,128,136,144,152,160],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":123,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":127},"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":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":132,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":127},"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":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":140,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":127},"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":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":148,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":127},"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":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":156,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":127},"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":161,"name":162,"nameZh":6,"description":163,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":164,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":127},"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",[],[]]