[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MCBNVQRTDK86M9ZDF4EP24":3,"skill-same:01M6MCBNVQRTDK86M9ZDF4EP24":126},{"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},"01M6MCBNVQRTDK86M9ZDF4EP24","go-cli-sql-storage",null,"Design, implement, test, and ship SQL-backed persistence for Go CLIs using database\u002Fsql, explicit pool ownership, bounded startup checks, embedded migrations, transaction boundaries, parameterized queries, adapter error mapping, Scanner and Valuer types, SQLite or server databases, and real-driver integration tests. Use when a Go command stores durable state in SQL, initializes a local database, applies schema changes, or needs safe repository and transaction behavior.","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-sql-storage\u002FSKILL.md",[18,23,26],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":27,"categoryName":28,"taxonomyType":29,"taxonomyTypeDesc":30},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],"cli","go","storage","sql","go cli sql storage","when","design","types","error","mapping","local","scanner","databases","command","ship","sqlite","repository","server","database","code","safe","2026-11-10 10:12:30",false,"---\nname: go-cli-sql-storage\ndescription: Design, implement, test, and ship SQL-backed persistence for Go CLIs using database\u002Fsql, explicit pool ownership, bounded startup checks, embedded migrations, transaction boundaries, parameterized queries, adapter error mapping, Scanner and Valuer types, SQLite or server databases, and real-driver integration tests. Use when a Go command stores durable state in SQL, initializes a local database, applies schema changes, or needs safe repository and transaction behavior.\nlicense: MIT\ncompatibility: Codex, Claude Code, and other Agent Skills-compatible clients.\nmetadata:\n  version: \"0.2.0\"\n  displayName: Go CLI SQL Storage\n  category: Go\n  tags: go,golang,cli,sql,database,storage\n---\n\n# Go CLI SQL Storage\n\nTreat `*sql.DB` as a long-lived pool owned by the composition root. Keep SQL,\ndriver behavior, migrations, and sensitive connection details inside adapters.\n\n## Core Workflow\n\n1. Choose the database and driver from workload, platform, and distribution needs.\n2. Define domain operations and transaction ownership before repository methods.\n3. Open and configure one long-lived pool at the composition root.\n4. Verify required startup connectivity with a bounded `PingContext`.\n5. Apply versioned migrations using an explicit serialization policy.\n6. Implement parameterized queries and map driver errors to stable domain errors.\n7. Test consumers with fakes and adapters with the real driver and production schema.\n8. Build the final artifact and smoke-test database initialization.\n\n## Read Next\n\n| Task | Load |\n|---|---|\n| Design storage for a CLI | `guidelines.md`, `workflows\u002Fbuild-sql-storage.md` |\n| Add or change migrations | `workflows\u002Fapply-schema-migrations.md` |\n| Test an adapter | `workflows\u002Ftest-sql-adapter.md` |\n| Review pools, transactions, queries, or conversions | `references\u002Fsql-storage\u002Frules.md` |\n| Understand driver and pool contracts | `references\u002Fsql-storage\u002Fknowledge.md` |\n| Build a multi-process SQLite cache | `references\u002Fsql-storage\u002Fsqlite.md` |\n| Review patterns | `references\u002Fsql-storage\u002Fexamples.md` |\n\n## Guardrails\n\n- Do not treat `sql.Open` as a connectivity check.\n- Do not interpolate untrusted values or identifiers into SQL.\n- Do not treat embedded schema text as a migration system.\n- Do not expose driver error types as the application contract.\n- Do not use a broad repository interface that mirrors an adapter.\n- Do not assume an in-memory SQLite database is shared across pooled connections.\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),\nChapter 10. Examples are original.\n\nNullable values, row lifecycle, and pool guidance also incorporates transformed\nmaterial from Teiva Harsanyi, *100 Go Mistakes and How to Avoid Them* (Manning,\n2022), Chapter 10.\n\nBook: https:\u002F\u002Fwww.manning.com\u002Fbooks\u002Fgo-by-example\n\nVerify current contracts against https:\u002F\u002Fpkg.go.dev\u002Fdatabase\u002Fsql,\nhttps:\u002F\u002Fpkg.go.dev\u002Fdatabase\u002Fsql\u002Fdriver, and the selected driver's documentation.\nFor SQLite, also verify https:\u002F\u002Fsqlite.org\u002Fwal.html,\nhttps:\u002F\u002Fsqlite.org\u002Flang_transaction.html, and https:\u002F\u002Fsqlite.org\u002Fbackup.html.\n","# Go CLI SQL Storage\n\nTreat `*sql.DB` as a long-lived pool owned by the composition root. Keep SQL,\ndriver behavior, migrations, and sensitive connection details inside adapters.\n\n## Core Workflow\n\n1. Choose the database and driver from workload, platform, and distribution needs.\n2. Define domain operations and transaction ownership before repository methods.\n3. Open and configure one long-lived pool at the composition root.\n4. Verify required startup connectivity with a bounded `PingContext`.\n5. Apply versioned migrations using an explicit serialization policy.\n6. Implement parameterized queries and map driver errors to stable domain errors.\n7. Test consumers with fakes and adapters with the real driver and production schema.\n8. Build the final artifact and smoke-test database initialization.\n\n## Read Next\n\n| Task | Load |\n|---|---|\n| Design storage for a CLI | `guidelines.md`, `workflows\u002Fbuild-sql-storage.md` |\n| Add or change migrations | `workflows\u002Fapply-schema-migrations.md` |\n| Test an adapter | `workflows\u002Ftest-sql-adapter.md` |\n| Review pools, transactions, queries, or conversions | `references\u002Fsql-storage\u002Frules.md` |\n| Understand driver and pool contracts | `references\u002Fsql-storage\u002Fknowledge.md` |\n| Build a multi-process SQLite cache | `references\u002Fsql-storage\u002Fsqlite.md` |\n| Review patterns | `references\u002Fsql-storage\u002Fexamples.md` |\n\n## Guardrails\n\n- Do not treat `sql.Open` as a connectivity check.\n- Do not interpolate untrusted values or identifiers into SQL.\n- Do not treat embedded schema text as a migration system.\n- Do not expose driver error types as the application contract.\n- Do not use a broad repository interface that mirrors an adapter.\n- Do not assume an in-memory SQLite database is shared across pooled connections.\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),\nChapter 10. Examples are original.\n\nNullable values, row lifecycle, and pool guidance also incorporates transformed\nmaterial from Teiva Harsanyi, *100 Go Mistakes and How to Avoid Them* (Manning,\n2022), Chapter 10.\n\nBook: https:\u002F\u002Fwww.manning.com\u002Fbooks\u002Fgo-by-example\n\nVerify current contracts against https:\u002F\u002Fpkg.go.dev\u002Fdatabase\u002Fsql,\nhttps:\u002F\u002Fpkg.go.dev\u002Fdatabase\u002Fsql\u002Fdriver, and the selected driver's documentation.\nFor SQLite, also verify https:\u002F\u002Fsqlite.org\u002Fwal.html,\nhttps:\u002F\u002Fsqlite.org\u002Flang_transaction.html, and https:\u002F\u002Fsqlite.org\u002Fbackup.html.\n",{"name":5,"license":15,"metadata":58,"description":7,"compatibility":63},{"tags":59,"version":60,"category":61,"displayName":62},"go,golang,cli,sql,database,storage","0.2.0","Go","Go CLI SQL Storage","Codex, Claude Code, and other Agent Skills-compatible clients.","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-sql-storage",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-sql-storage",{"tool":80,"command":81},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cli-sql-storage",{"tool":83,"command":84},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cli-sql-storage","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-sql-storage\u002FSKILL.md",true,[88,94,98,102,106,110,114,118,122],{"path":89,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":92,"sourceHtmlUrl":93},"agents\u002Fopenai.yaml","REFERENCE","参考文档",199,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-sql-storage\u002Fagents\u002Fopenai.yaml",{"path":95,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":96,"sourceHtmlUrl":97},"guidelines.md",1182,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-sql-storage\u002Fguidelines.md",{"path":99,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fsql-storage\u002Fexamples.md",1079,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-sql-storage\u002Freferences\u002Fsql-storage\u002Fexamples.md",{"path":103,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Fsql-storage\u002Fknowledge.md",2665,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-sql-storage\u002Freferences\u002Fsql-storage\u002Fknowledge.md",{"path":107,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":108,"sourceHtmlUrl":109},"references\u002Fsql-storage\u002Frules.md",2283,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-sql-storage\u002Freferences\u002Fsql-storage\u002Frules.md",{"path":111,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":112,"sourceHtmlUrl":113},"references\u002Fsql-storage\u002Fsqlite.md",2038,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-sql-storage\u002Freferences\u002Fsql-storage\u002Fsqlite.md",{"path":115,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":116,"sourceHtmlUrl":117},"workflows\u002Fapply-schema-migrations.md",915,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-sql-storage\u002Fworkflows\u002Fapply-schema-migrations.md",{"path":119,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":120,"sourceHtmlUrl":121},"workflows\u002Fbuild-sql-storage.md",1040,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-sql-storage\u002Fworkflows\u002Fbuild-sql-storage.md",{"path":123,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":124,"sourceHtmlUrl":125},"workflows\u002Ftest-sql-adapter.md",1084,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-sql-storage\u002Fworkflows\u002Ftest-sql-adapter.md",[127,136,144,152,160,168],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":131,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":135},"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":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":135},"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":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":135},"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":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":135},"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":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":135},"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":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":172,"sourceHtmlUrl":173,"categories":174,"keywords":175,"publishedAt":135},"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",[],[]]