[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MCC0CW8NNEBXTAAGRZ4B7G":3,"skill-same:01M6MCC0CW8NNEBXTAAGRZ4B7G":121},{"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":26,"publishedAt":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":59,"commitSha":60,"skillDirectory":61,"forksCount":62,"repositoryHtmlUrl":63,"repositoryHomepageUrl":64,"ownerHtmlUrl":65,"ownerBlogUrl":66,"ownerDescription":67,"updatedAt":68,"install":69,"resources":82},"01M6MCC0CW8NNEBXTAAGRZ4B7G","go-cli-testing",null,"Design, implement, stabilize, and review Go CLI tests across fresh command trees, pure logic, table-driven cases, streams, typed configuration, files, environment, function-backed HTTP fakes, repositories, subprocesses, capability profiles, race checks, and artifact behavior. Use when adding command tests, diagnosing flaky Go tests, choosing test boundaries, or verifying human-, agent-, and CI-facing CLI contracts.","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-testing\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"go cli testing","cli","go","testing","contracts","when","capability","subprocess","streams","integration-tests","fresh","across","human","artifact","files","command","table","ci","code","review","design","2026-11-10 10:12:30",false,"---\nname: go-cli-testing\ndescription: Design, implement, stabilize, and review Go CLI tests across fresh command trees, pure logic, table-driven cases, streams, typed configuration, files, environment, function-backed HTTP fakes, repositories, subprocesses, capability profiles, race checks, and artifact behavior. Use when adding command tests, diagnosing flaky Go tests, choosing test boundaries, or verifying human-, agent-, and CI-facing CLI contracts.\nlicense: MIT\ncompatibility: Codex, Claude Code, and other Agent Skills-compatible clients.\nmetadata:\n  version: \"0.4.0\"\n  displayName: Go CLI Testing\n  category: Go\n  tags: go,golang,cli,testing,table-tests,integration-tests,subprocess\n---\n\n# Go CLI Testing\n\nTest observable behavior at the narrowest boundary that proves it. Isolate every\nmutable resource and reserve executable tests for process-level semantics.\n\n## Core Workflow\n\n1. Inventory success, invalid, boundary, dependency-failure, and cancellation behavior.\n2. Map each case to a pure, command, adapter, integration, or binary test.\n3. Inject arguments, streams, configuration, clocks, and effectful dependencies.\n4. Isolate files, environment, servers, repositories, ports, and subprocesses.\n5. Assert stdout, stderr, exit behavior, and errors according to the public contract.\n6. Gate live or platform-specific tests and make their changes reversible.\n7. Run standard, race, tagged, and relevant platform checks.\n8. Execute every supported build profile and smoke-test final artifacts.\n9. Interpret coverage gaps without treating execution as behavioral proof.\n\n## Read Next\n\n| Task | Load |\n|---|---|\n| Build or overhaul a CLI test suite | `guidelines.md`, `workflows\u002Ftest-cli-command.md` |\n| Stabilize a flaky asynchronous test | `workflows\u002Fstabilize-flaky-test.md` |\n| Write focused command tests | `references\u002Fcli-testing\u002Frules.md`, `references\u002Fcli-testing\u002Fexamples.md` |\n| Add subprocess, HTTP, repository, or integration tests | `references\u002Fcli-testing\u002Fpatterns.md` |\n| Review coverage, isolation, or flakiness | `references\u002Fcli-testing\u002Fchecklist.md` |\n| Choose the right test boundary | `references\u002Fcli-testing\u002Fknowledge.md` |\n| Benchmark or profile performance | Use `go-performance-testing` |\n\n## Guardrails\n\n- Do not mutate developer data or depend on fixed temporary paths and ports.\n- Do not run parallel tests that replace process-global state.\n- Replace timing sleeps with synchronization, deadlines, or fake clocks.\n- Use `testing\u002Fsynctest` only when the minimum Go version supports it and the\n  behavior fits an isolated bubble.\n- Inspect wrapped errors structurally unless exact diagnostics are contractual.\n- Prefer one valuable executable flow over many slow end-to-end tests.\n- Construct a fresh command tree and typed configuration for every test.\n- Assert both `Execute` errors and stream output.\n\n## Source Notes\n\nGuidance is transformed and paraphrased from testing material throughout\nRicardo Gerardi, *Powerful Command-Line Applications in Go* (Pragmatic\nBookshelf, 2021), especially Chapters 1-7 and 11. Examples are original.\n\nBook: https:\u002F\u002Fpragprog.com\u002Ftitles\u002Frggo\u002Fpowerful-command-line-applications-in-go\u002F\n\nModern test APIs should be verified against https:\u002F\u002Fpkg.go.dev\u002Ftesting and the\ncurrent Go documentation before implementation.\n\nFresh command-tree, HTTP fake, configuration, and build-profile guidance also\nincorporates transformed material from Marian Montagnino, *Building Modern CLI\nApplications in Go* (Packt, 2023), especially Chapters 4, 6, and 11.\n\nSubtest, coverage, parser, concurrency, HTTP server, and SQL adapter guidance\nalso incorporates transformed material from Inanc Gumus, *Go by Example:\nProgrammer's Guide to Idiomatic and Testable Programs* (Manning, 2025),\nChapters 2-10.\n\nTest categorization, race\u002Fshuffle execution, deterministic time, `iotest`, and\nbenchmark-correctness guidance also incorporates transformed material from\nTeiva Harsanyi, *100 Go Mistakes and How to Avoid Them* (Manning, 2022),\nChapter 11.\n","# Go CLI Testing\n\nTest observable behavior at the narrowest boundary that proves it. Isolate every\nmutable resource and reserve executable tests for process-level semantics.\n\n## Core Workflow\n\n1. Inventory success, invalid, boundary, dependency-failure, and cancellation behavior.\n2. Map each case to a pure, command, adapter, integration, or binary test.\n3. Inject arguments, streams, configuration, clocks, and effectful dependencies.\n4. Isolate files, environment, servers, repositories, ports, and subprocesses.\n5. Assert stdout, stderr, exit behavior, and errors according to the public contract.\n6. Gate live or platform-specific tests and make their changes reversible.\n7. Run standard, race, tagged, and relevant platform checks.\n8. Execute every supported build profile and smoke-test final artifacts.\n9. Interpret coverage gaps without treating execution as behavioral proof.\n\n## Read Next\n\n| Task | Load |\n|---|---|\n| Build or overhaul a CLI test suite | `guidelines.md`, `workflows\u002Ftest-cli-command.md` |\n| Stabilize a flaky asynchronous test | `workflows\u002Fstabilize-flaky-test.md` |\n| Write focused command tests | `references\u002Fcli-testing\u002Frules.md`, `references\u002Fcli-testing\u002Fexamples.md` |\n| Add subprocess, HTTP, repository, or integration tests | `references\u002Fcli-testing\u002Fpatterns.md` |\n| Review coverage, isolation, or flakiness | `references\u002Fcli-testing\u002Fchecklist.md` |\n| Choose the right test boundary | `references\u002Fcli-testing\u002Fknowledge.md` |\n| Benchmark or profile performance | Use `go-performance-testing` |\n\n## Guardrails\n\n- Do not mutate developer data or depend on fixed temporary paths and ports.\n- Do not run parallel tests that replace process-global state.\n- Replace timing sleeps with synchronization, deadlines, or fake clocks.\n- Use `testing\u002Fsynctest` only when the minimum Go version supports it and the\n  behavior fits an isolated bubble.\n- Inspect wrapped errors structurally unless exact diagnostics are contractual.\n- Prefer one valuable executable flow over many slow end-to-end tests.\n- Construct a fresh command tree and typed configuration for every test.\n- Assert both `Execute` errors and stream output.\n\n## Source Notes\n\nGuidance is transformed and paraphrased from testing material throughout\nRicardo Gerardi, *Powerful Command-Line Applications in Go* (Pragmatic\nBookshelf, 2021), especially Chapters 1-7 and 11. Examples are original.\n\nBook: https:\u002F\u002Fpragprog.com\u002Ftitles\u002Frggo\u002Fpowerful-command-line-applications-in-go\u002F\n\nModern test APIs should be verified against https:\u002F\u002Fpkg.go.dev\u002Ftesting and the\ncurrent Go documentation before implementation.\n\nFresh command-tree, HTTP fake, configuration, and build-profile guidance also\nincorporates transformed material from Marian Montagnino, *Building Modern CLI\nApplications in Go* (Packt, 2023), especially Chapters 4, 6, and 11.\n\nSubtest, coverage, parser, concurrency, HTTP server, and SQL adapter guidance\nalso incorporates transformed material from Inanc Gumus, *Go by Example:\nProgrammer's Guide to Idiomatic and Testable Programs* (Manning, 2025),\nChapters 2-10.\n\nTest categorization, race\u002Fshuffle execution, deterministic time, `iotest`, and\nbenchmark-correctness guidance also incorporates transformed material from\nTeiva Harsanyi, *100 Go Mistakes and How to Avoid Them* (Manning, 2022),\nChapter 11.\n",{"name":5,"license":15,"metadata":53,"description":7,"compatibility":58},{"tags":54,"version":55,"category":56,"displayName":57},"go,golang,cli,testing,table-tests,integration-tests,subprocess","0.4.0","Go","Go CLI Testing","Codex, Claude Code, and other Agent Skills-compatible clients.","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-testing",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":70,"prompt":80,"zipAvailable":81},[71,74,77],{"tool":72,"command":73},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cli-testing",{"tool":75,"command":76},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cli-testing",{"tool":78,"command":79},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cli-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-testing\u002FSKILL.md",true,[83,89,93,97,101,105,109,113,117],{"path":84,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":87,"sourceHtmlUrl":88},"agents\u002Fopenai.yaml","REFERENCE","参考文档",226,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-testing\u002Fagents\u002Fopenai.yaml",{"path":90,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":91,"sourceHtmlUrl":92},"guidelines.md",3871,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-testing\u002Fguidelines.md",{"path":94,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Fcli-testing\u002Fchecklist.md",8024,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-testing\u002Freferences\u002Fcli-testing\u002Fchecklist.md",{"path":98,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":99,"sourceHtmlUrl":100},"references\u002Fcli-testing\u002Fexamples.md",5008,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-testing\u002Freferences\u002Fcli-testing\u002Fexamples.md",{"path":102,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":103,"sourceHtmlUrl":104},"references\u002Fcli-testing\u002Fknowledge.md",7289,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-testing\u002Freferences\u002Fcli-testing\u002Fknowledge.md",{"path":106,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":107,"sourceHtmlUrl":108},"references\u002Fcli-testing\u002Fpatterns.md",9507,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-testing\u002Freferences\u002Fcli-testing\u002Fpatterns.md",{"path":110,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":111,"sourceHtmlUrl":112},"references\u002Fcli-testing\u002Frules.md",7218,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-testing\u002Freferences\u002Fcli-testing\u002Frules.md",{"path":114,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":115,"sourceHtmlUrl":116},"workflows\u002Fstabilize-flaky-test.md",1464,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-testing\u002Fworkflows\u002Fstabilize-flaky-test.md",{"path":118,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":119,"sourceHtmlUrl":120},"workflows\u002Ftest-cli-command.md",4921,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-testing\u002Fworkflows\u002Ftest-cli-command.md",[122,131,139,147,155,163],{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":126,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":130},"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":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":130},"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":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":130},"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":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":130},"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":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":130},"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":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":167,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":130},"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",[],[]]