Comprehensive guide for Go database access — parameterized queries, struct scanning, NULLable columns, transactions, isolation levels, SELECT FOR UPDATE, connection pool, batch processing, context propagation, and migration tooling.
安装
npx skills add samber/cc-skills-golang --skill golang-databasenpx skills add samber/cc-skills-golang --skill golang-database -a claude-code -gnpx skills add samber/cc-skills-golang --skill golang-database -a codex -ggemini skills install https://github.com/samber/cc-skills-golang.git --path skills/golang-databasegh skill install samber/cc-skills-golang golang-databasegit clone --depth 1 https://github.com/samber/cc-skills-golang /tmp/samber__cc-skills-golang
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/samber__cc-skills-golang/skills/golang-database ~/.claude/skills/golang-database # Claude Code
cp -R /tmp/samber__cc-skills-golang/skills/golang-database ~/.agents/skills/golang-database # Codex, Cursor, Gemini CLI, Copilot, OpenCode