[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MCCTF60H8PVRJPJRWEYTCK":3,"skill-same:01M6MCCTF60H8PVRJPJRWEYTCK":120},{"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":37,"publishedAt":59,"linkOnly":60,"markdownContent":61,"markdownBody":62,"frontMatter":63,"refName":70,"commitSha":71,"skillDirectory":72,"forksCount":73,"repositoryHtmlUrl":74,"repositoryHomepageUrl":75,"ownerHtmlUrl":76,"ownerBlogUrl":77,"ownerDescription":78,"updatedAt":79,"install":80,"resources":93},"01M6MCCTF60H8PVRJPJRWEYTCK","go-idiomatic-api-design",null,"Design and review stable, idiomatic Go package APIs covering naming, exported declarations, embedding, receivers, typed-nil interfaces, generics, functional options, method sets, errors, wire contracts, compatibility, and examples. Use when creating a reusable Go package, reviewing its public surface, evolving an exported API, or choosing concrete types, functions, methods, fields, interfaces, or type parameters.","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-idiomatic-api-design\u002FSKILL.md",[18,23,26,29,34],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":27,"categoryName":28,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":30,"categoryName":31,"taxonomyType":32,"taxonomyTypeDesc":33},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",{"categoryNo":35,"categoryName":36,"taxonomyType":32,"taxonomyTypeDesc":33},"01JBSEEDCAT000000000000032","设计师",[38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58],"go","api design","go idiomatic api design","api","idiomatic","go idiomatic","design","options","when","exported","errors","api-design","functional","types","embedding","methods","compatibility","contracts","code","packages","review","2026-11-10 10:12:30",false,"---\nname: go-idiomatic-api-design\ndescription: Design and review stable, idiomatic Go package APIs covering naming, exported declarations, embedding, receivers, typed-nil interfaces, generics, functional options, method sets, errors, wire contracts, compatibility, and examples. Use when creating a reusable Go package, reviewing its public surface, evolving an exported API, or choosing concrete types, functions, methods, fields, interfaces, or type parameters.\nlicense: MIT\ncompatibility: Codex, Claude Code, and other Agent Skills-compatible clients.\nmetadata:\n  version: \"0.2.0\"\n  displayName: Go Idiomatic API Design\n  category: Go\n  tags: go,golang,api-design,packages,interfaces,compatibility\n---\n\n# Go Idiomatic API Design\n\nDesign from the caller's code inward. Prefer the smallest coherent public\nsurface that preserves invariants and can evolve without needless interfaces.\n\n## Core Workflow\n\n1. Identify callers, supported operations, and compatibility constraints.\n2. Sketch realistic call sites before choosing exported names or types.\n3. Keep packages cohesive and names clear without package-name stutter.\n4. Prefer concrete provider APIs; define narrow interfaces at consumers.\n5. Decide zero-value, mutation, copying, concurrency, and error contracts.\n6. Review embedding, receiver method sets, typed nils, generics, and option conflicts.\n7. Integrate standard interfaces only when their semantics truly match.\n8. Prove the public surface with external tests and executable examples.\n9. Review the change for accidental compatibility commitments.\n\n## Read Next\n\n| Task | Load |\n|---|---|\n| Design or evolve an API | `guidelines.md`, `workflows\u002Freview-public-api.md` |\n| Choose types, fields, methods, or interfaces | `references\u002Fapi-design\u002Frules.md` |\n| Understand compatibility and method sets | `references\u002Fapi-design\u002Fknowledge.md` |\n| Review concrete patterns | `references\u002Fapi-design\u002Fexamples.md` |\n\n## Guardrails\n\n- Do not export a field merely to avoid writing behavior.\n- Do not define a provider-wide interface as a mirror of its methods.\n- Do not accept an interface before a real consumer requires substitution.\n- Do not use a standard interface when its conventional semantics are surprising.\n- Do not claim conformance assertions prove behavior.\n- Do not embed a public type unless every promoted behavior is intentional.\n- Do not return a typed nil pointer through an interface success path.\n- Check the module's Go language version before giving version-sensitive advice.\n\n## Source Notes\n\nGuidance is transformed and paraphrased from Inanc Gumus, *Go by Example:\nProgrammer's Guide to Idiomatic and Testable Programs* (Manning, 2025),\nespecially Chapters 1, 2, 5, 9, and 10. Examples are original.\n\nEmbedding, receivers, generics, functional options, and typed-nil guidance also\nincorporates transformed material from Teiva Harsanyi, *100 Go Mistakes and\nHow to Avoid Them* (Manning, 2022), Chapters 2 and 6.\n\nBook: https:\u002F\u002Fwww.manning.com\u002Fbooks\u002Fgo-by-example\n\nCurrent language and documentation contracts should be verified against\nhttps:\u002F\u002Fgo.dev\u002Fref\u002Fspec, https:\u002F\u002Fgo.dev\u002Fdoc\u002Fcomment, and the module's pinned Go\nversion.\n","# Go Idiomatic API Design\n\nDesign from the caller's code inward. Prefer the smallest coherent public\nsurface that preserves invariants and can evolve without needless interfaces.\n\n## Core Workflow\n\n1. Identify callers, supported operations, and compatibility constraints.\n2. Sketch realistic call sites before choosing exported names or types.\n3. Keep packages cohesive and names clear without package-name stutter.\n4. Prefer concrete provider APIs; define narrow interfaces at consumers.\n5. Decide zero-value, mutation, copying, concurrency, and error contracts.\n6. Review embedding, receiver method sets, typed nils, generics, and option conflicts.\n7. Integrate standard interfaces only when their semantics truly match.\n8. Prove the public surface with external tests and executable examples.\n9. Review the change for accidental compatibility commitments.\n\n## Read Next\n\n| Task | Load |\n|---|---|\n| Design or evolve an API | `guidelines.md`, `workflows\u002Freview-public-api.md` |\n| Choose types, fields, methods, or interfaces | `references\u002Fapi-design\u002Frules.md` |\n| Understand compatibility and method sets | `references\u002Fapi-design\u002Fknowledge.md` |\n| Review concrete patterns | `references\u002Fapi-design\u002Fexamples.md` |\n\n## Guardrails\n\n- Do not export a field merely to avoid writing behavior.\n- Do not define a provider-wide interface as a mirror of its methods.\n- Do not accept an interface before a real consumer requires substitution.\n- Do not use a standard interface when its conventional semantics are surprising.\n- Do not claim conformance assertions prove behavior.\n- Do not embed a public type unless every promoted behavior is intentional.\n- Do not return a typed nil pointer through an interface success path.\n- Check the module's Go language version before giving version-sensitive advice.\n\n## Source Notes\n\nGuidance is transformed and paraphrased from Inanc Gumus, *Go by Example:\nProgrammer's Guide to Idiomatic and Testable Programs* (Manning, 2025),\nespecially Chapters 1, 2, 5, 9, and 10. Examples are original.\n\nEmbedding, receivers, generics, functional options, and typed-nil guidance also\nincorporates transformed material from Teiva Harsanyi, *100 Go Mistakes and\nHow to Avoid Them* (Manning, 2022), Chapters 2 and 6.\n\nBook: https:\u002F\u002Fwww.manning.com\u002Fbooks\u002Fgo-by-example\n\nCurrent language and documentation contracts should be verified against\nhttps:\u002F\u002Fgo.dev\u002Fref\u002Fspec, https:\u002F\u002Fgo.dev\u002Fdoc\u002Fcomment, and the module's pinned Go\nversion.\n",{"name":5,"license":15,"metadata":64,"description":7,"compatibility":69},{"tags":65,"version":66,"category":67,"displayName":68},"go,golang,api-design,packages,interfaces,compatibility","0.2.0","Go","Go Idiomatic API Design","Codex, Claude Code, and other Agent Skills-compatible clients.","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-idiomatic-api-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":81,"prompt":91,"zipAvailable":92},[82,85,88],{"tool":83,"command":84},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-idiomatic-api-design",{"tool":86,"command":87},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-idiomatic-api-design",{"tool":89,"command":90},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-idiomatic-api-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-idiomatic-api-design\u002FSKILL.md",true,[94,100,104,108,112,116],{"path":95,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":98,"sourceHtmlUrl":99},"agents\u002Fopenai.yaml","REFERENCE","参考文档",234,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-idiomatic-api-design\u002Fagents\u002Fopenai.yaml",{"path":101,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":102,"sourceHtmlUrl":103},"guidelines.md",1851,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-idiomatic-api-design\u002Fguidelines.md",{"path":105,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fapi-design\u002Fexamples.md",1546,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-idiomatic-api-design\u002Freferences\u002Fapi-design\u002Fexamples.md",{"path":109,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Fapi-design\u002Fknowledge.md",3896,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-idiomatic-api-design\u002Freferences\u002Fapi-design\u002Fknowledge.md",{"path":113,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":114,"sourceHtmlUrl":115},"references\u002Fapi-design\u002Frules.md",2707,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-idiomatic-api-design\u002Freferences\u002Fapi-design\u002Frules.md",{"path":117,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":118,"sourceHtmlUrl":119},"workflows\u002Freview-public-api.md",1588,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-idiomatic-api-design\u002Fworkflows\u002Freview-public-api.md",[121,130,138,146,154,162],{"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":129},"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":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":134,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":129},"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":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":142,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":129},"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":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":150,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":129},"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":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":158,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":129},"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":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":166,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":129},"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",[],[]]