[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MCB3C6KW77SDDXCW2ZHXH8":3,"skill-same:01M6MCB3C6KW77SDDXCW2ZHXH8":115},{"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":28,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":61,"commitSha":62,"skillDirectory":63,"forksCount":64,"repositoryHtmlUrl":65,"repositoryHomepageUrl":66,"ownerHtmlUrl":67,"ownerBlogUrl":68,"ownerDescription":69,"updatedAt":70,"install":71,"resources":84},"01M6MCB3C6KW77SDDXCW2ZHXH8","go-cli-errors-observability",null,"Design and review recoverable Go CLI errors, exit semantics, structured logging, debug modes, traces, profiles, redaction, and user-consented diagnostic bundles. Use when a CLI needs actionable failures, safe support evidence, production troubleshooting, or observability that does not corrupt command output or expose secrets.","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-errors-observability\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"cli","go cli errors observability","go","errors","observability","secrets","when","modes","profiles","structured logging","actionable","exit","evidence","command","design","logging","code","diagnostics","support","safe","review","2026-11-10 10:12:30",false,"---\nname: go-cli-errors-observability\ndescription: Design and review recoverable Go CLI errors, exit semantics, structured logging, debug modes, traces, profiles, redaction, and user-consented diagnostic bundles. Use when a CLI needs actionable failures, safe support evidence, production troubleshooting, or observability that does not corrupt command output or expose secrets.\nlicense: MIT\ncompatibility: Codex, Claude Code, and other Agent Skills-compatible clients.\nmetadata:\n  version: \"0.3.0\"\n  displayName: Go CLI Errors and Observability\n  category: Go\n  tags: go,golang,cli,errors,observability,logging,diagnostics\n---\n\n# Go CLI Errors and Observability\n\nDesign failures for recovery first, then add the minimum safe evidence needed to\ndiagnose them. Keep internal detail out of the normal user contract.\n\n## Core Workflow\n\n1. Classify failures by user action, dependency, cancellation, and internal defect.\n2. Preserve machine-checkable causes with wrapping, types, or sentinels.\n3. Map causes to concise user messages and stable exit behavior at the boundary.\n4. Assign one terminal owner to render, log, and map each failure.\n5. Preserve material cleanup failures without hiding the primary cause.\n6. Add opt-in verbosity and structured logs on stderr or a dedicated sink.\n7. Allowlist and redact diagnostic evidence; require consent before collection or upload.\n8. Test recovery guidance, output separation, redaction, and cancellation.\n\n## Read Next\n\n| Task | Load |\n|---|---|\n| Design error taxonomy and recovery | `guidelines.md`, `workflows\u002Fdesign-error-recovery.md` |\n| Add logging or support diagnostics | `references\u002Ferrors-observability\u002Frules.md`, `workflows\u002Fadd-safe-diagnostics.md` |\n| Review code patterns | `references\u002Ferrors-observability\u002Fexamples.md` |\n| Understand layering and privacy | `references\u002Ferrors-observability\u002Fknowledge.md` |\n\n## Guardrails\n\n- Never log secrets, authorization headers, raw config, or unreviewed environment data.\n- Do not make normal stdout depend on log level.\n- Preserve cancellation and timeout identity with `errors.Is`.\n- Do not both log and return the same failure at intermediate layers.\n- Do not use panic for ordinary validation, dependency, or user errors.\n- Do not collect or upload diagnostics without a visible allowlist and consent.\n- Protect profiling or debug servers; default them off and bind locally.\n\n## Source Notes\n\nGuidance is transformed and paraphrased from Marian Montagnino,\n*Building Modern CLI Applications in Go* (Packt, 2023), especially Chapter 9,\nand Ricardo Gerardi, *Powerful Command-Line Applications in Go* (2021).\n\nHandler composition, context correlation, and joined-error guidance also\nincorporates transformed material from Inanc Gumus, *Go by Example:\nProgrammer's Guide to Idiomatic and Testable Programs* (Manning, 2025),\nChapter 9.\n\nError ownership, panic boundaries, and cleanup-failure guidance also\nincorporates transformed material from Teiva Harsanyi, *100 Go Mistakes and\nHow to Avoid Them* (Manning, 2022), Chapter 7.\n\nVerify current logging APIs against https:\u002F\u002Fpkg.go.dev\u002Flog\u002Fslog and error APIs\nagainst the current Go standard library documentation.\n","# Go CLI Errors and Observability\n\nDesign failures for recovery first, then add the minimum safe evidence needed to\ndiagnose them. Keep internal detail out of the normal user contract.\n\n## Core Workflow\n\n1. Classify failures by user action, dependency, cancellation, and internal defect.\n2. Preserve machine-checkable causes with wrapping, types, or sentinels.\n3. Map causes to concise user messages and stable exit behavior at the boundary.\n4. Assign one terminal owner to render, log, and map each failure.\n5. Preserve material cleanup failures without hiding the primary cause.\n6. Add opt-in verbosity and structured logs on stderr or a dedicated sink.\n7. Allowlist and redact diagnostic evidence; require consent before collection or upload.\n8. Test recovery guidance, output separation, redaction, and cancellation.\n\n## Read Next\n\n| Task | Load |\n|---|---|\n| Design error taxonomy and recovery | `guidelines.md`, `workflows\u002Fdesign-error-recovery.md` |\n| Add logging or support diagnostics | `references\u002Ferrors-observability\u002Frules.md`, `workflows\u002Fadd-safe-diagnostics.md` |\n| Review code patterns | `references\u002Ferrors-observability\u002Fexamples.md` |\n| Understand layering and privacy | `references\u002Ferrors-observability\u002Fknowledge.md` |\n\n## Guardrails\n\n- Never log secrets, authorization headers, raw config, or unreviewed environment data.\n- Do not make normal stdout depend on log level.\n- Preserve cancellation and timeout identity with `errors.Is`.\n- Do not both log and return the same failure at intermediate layers.\n- Do not use panic for ordinary validation, dependency, or user errors.\n- Do not collect or upload diagnostics without a visible allowlist and consent.\n- Protect profiling or debug servers; default them off and bind locally.\n\n## Source Notes\n\nGuidance is transformed and paraphrased from Marian Montagnino,\n*Building Modern CLI Applications in Go* (Packt, 2023), especially Chapter 9,\nand Ricardo Gerardi, *Powerful Command-Line Applications in Go* (2021).\n\nHandler composition, context correlation, and joined-error guidance also\nincorporates transformed material from Inanc Gumus, *Go by Example:\nProgrammer's Guide to Idiomatic and Testable Programs* (Manning, 2025),\nChapter 9.\n\nError ownership, panic boundaries, and cleanup-failure guidance also\nincorporates transformed material from Teiva Harsanyi, *100 Go Mistakes and\nHow to Avoid Them* (Manning, 2022), Chapter 7.\n\nVerify current logging APIs against https:\u002F\u002Fpkg.go.dev\u002Flog\u002Fslog and error APIs\nagainst the current Go standard library documentation.\n",{"name":5,"license":15,"metadata":55,"description":7,"compatibility":60},{"tags":56,"version":57,"category":58,"displayName":59},"go,golang,cli,errors,observability,logging,diagnostics","0.3.0","Go","Go CLI Errors and Observability","Codex, Claude Code, and other Agent Skills-compatible clients.","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-errors-observability",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":72,"prompt":82,"zipAvailable":83},[73,76,79],{"tool":74,"command":75},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cli-errors-observability",{"tool":77,"command":78},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cli-errors-observability",{"tool":80,"command":81},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cli-errors-observability","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-errors-observability\u002FSKILL.md",true,[85,91,95,99,103,107,111],{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"agents\u002Fopenai.yaml","REFERENCE","参考文档",255,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-errors-observability\u002Fagents\u002Fopenai.yaml",{"path":92,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":93,"sourceHtmlUrl":94},"guidelines.md",1520,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-errors-observability\u002Fguidelines.md",{"path":96,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Ferrors-observability\u002Fexamples.md",1675,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-errors-observability\u002Freferences\u002Ferrors-observability\u002Fexamples.md",{"path":100,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Ferrors-observability\u002Fknowledge.md",3041,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-errors-observability\u002Freferences\u002Ferrors-observability\u002Fknowledge.md",{"path":104,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Ferrors-observability\u002Frules.md",2206,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-errors-observability\u002Freferences\u002Ferrors-observability\u002Frules.md",{"path":108,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":109,"sourceHtmlUrl":110},"workflows\u002Fadd-safe-diagnostics.md",1528,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-errors-observability\u002Fworkflows\u002Fadd-safe-diagnostics.md",{"path":112,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":113,"sourceHtmlUrl":114},"workflows\u002Fdesign-error-recovery.md",974,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-errors-observability\u002Fworkflows\u002Fdesign-error-recovery.md",[116,125,133,141,149,157],{"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":124},"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":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":129,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":124},"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":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":137,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":124},"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":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":145,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":124},"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":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":153,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":124},"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":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":161,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":124},"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",[],[]]