Go Database Access
Safe database code in Go — parameterized queries, transactions, isolation levels, connection pools, migrations
- What
- Safe database code in Go — parameterized queries, transactions, isolation levels, connection pools, migrations
- Cost
- Free
- Needs
- a Go project (the go toolchain); a database to talk to (PostgreSQL, MariaDB, MySQL, or SQLite)
- Install
- Copy the installer prompt below into your Muse — your agent does the rest.
Curated by Skill Harbor — a Go database skill with a clear stance: treat SQL as a first-class language — no ORMs, no magic. It covers parameterized queries, struct scanning, NULLable columns, transactions and isolation levels, SELECT FOR UPDATE, connection pool tuning, batch processing, context propagation, and migration tooling for PostgreSQL, MariaDB, MySQL, and SQLite via database/sql, sqlx, or pgx — with write mode (grep the codebase for existing query patterns before generating) and review mode (scan for missing rows.Close(), un-parameterized queries, absent error checks). Distinct from the already-published samber skills — the database layer had no coverage until now; it does NOT generate schemas or migration SQL, by design. By @samber, listed here with credit to its creator. Honest caveats: the no-ORM stance is a philosophy, not a law — if your team uses one, this skill will fight you on it; data integrity issues get caught at the boundary, which means writing more boundary code. Skill Harbor never reviews the code, review it yourself before use.
Version:
Install
Prerequisites: a Go project (the go toolchain); a database to talk to (PostgreSQL, MariaDB, MySQL, or SQLite) Install "Go Database Access" for me. Safe database code in Go — parameterized queries, transactions, isolation levels, connection pools, migrations Repository: https://github.com/samber/cc-skills-golang/blob/main/skills/golang-database/SKILL.md 1. Fetch the SKILL.md file for the samber-golang-database skill from the repository into a temporary folder and summarize what it does in one or two sentences. 2. Safety check: review the SKILL.md and scripts for anything suspicious (unexpected network calls, shell commands, credential harvesting). This repo should contain zero secrets in code, credentials only via the secure vault, allowed hosts declared in the SKILL.md. Verify that holds here; STOP on any red flag and tell me. 3. Install it as a skill: copy SKILL.md and its helper files into the agent's skills directory, in a folder named "samber-golang-database". 4. Verify with no network calls: frontmatter valid, files in place. 5. Report what was installed, where, and what I still need to do myself (e.g. any accounts, API keys, or CLI tools mentioned in the prerequisites above). GitHub is optional: if I have a GitHub account or the gh CLI, you may use it; otherwise public access is fine. Never require it unless it's in the prerequisites above. Rules: don't touch anything outside the temp folder and the install target. Never ask me to paste secrets in chat — credentials go through the secure vault or environment variables. If anything looks off, stop and ask me.
Questions
How do I install a build?
Every product page includes a copy-paste install prompt. Paste it into your Muse and it sets the build up for you — no manual configuration.
Where does my money go?
Straight to the seller. Skill Harbor never processes payments: checkout happens on the seller’s own page, usually Stripe.
What does the ✓ next to a creator’s name mean?
It means we confirmed the identity of the person behind the listing. It says nothing about the code itself — always check a build before installing it.