CtrlK
BlogDocsLog inGet started
Tessl Logo

golang-database

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. Use when writing, reviewing, or debugging Golang code that interacts with PostgreSQL, MariaDB, MySQL, or SQLite; for database testing; or for questions about database/sql, sqlx, or pgx. Does NOT generate database schemas or migration SQL.

72

Quality

90%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

80%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is an actionable, well-structured reference with executable Go examples and clean progressive disclosure into four real reference files. Its main weakness is workflow clarity: it reads as a best-practices catalog rather than a sequenced workflow, and lacks explicit validation feedback loops for destructive or batch database operations.

Suggestions

Add an explicit validate→fix→retry feedback loop for destructive or batch database operations (e.g., a transaction workflow that checks rows.Err()/serialization error 40001 and retries, with a verification step before commit) so workflow_clarity can exceed the destructive/batch cap of 3.

De-duplicate the schema-creation and hidden-SQL guidance: state each rule once in its dedicated section and reference it from the summary instead of restating it, to tighten conciseness.

Consider promoting the two 'Modes' into a short numbered workflow (1. grep existing patterns, 2. generate following the rules, 3. verify close/error/context checks) with explicit checkpoints, rather than prose bullet guidance.

DimensionReasoningScore

Conciseness

Mostly lean and table/list-driven with no padding about concepts Claude already knows, but the schema-creation and hidden-SQL guidance is repeated across the summary, dedicated sections, and migrations, and the 'Why NOT ORMs' list is mildly explanatory.

4 / 5

Actionability

Provides copy-paste-ready Go examples for the common cases — parameterized queries, dynamic IN with Rebind, allowlisted column names, ErrNoRows handling, rows.Close + rows.Err(), context variants, and pool tuning — covering the routine scenarios concretely.

5 / 5

Workflow Clarity

The two modes give a rough sequence (grep conventions first, then generate) and the best-practices summary is ordered, but there is no explicit validate→fix→retry feedback loop for batch or destructive database operations, so the destructive/batch cap applies.

3 / 5

Progressive Disclosure

SKILL.md is a concise overview that points to four real one-level-deep references (transactions.md, testing.md, performance.md, scanning.md), clearly signaled via inline links and a 'Deep Dives' section, with bulk detail appropriately split out.

5 / 5

Total

17

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is specific, trigger-rich, complete, and well-bounded: it lists concrete capabilities, gives explicit natural-language use conditions covering multiple databases and libraries, and carves out a clear negative scope. Third-person voice is maintained throughout.

DimensionReasoningScore

Specificity

Enumerates many concrete actions — 'parameterized queries, struct scanning, NULLable columns, transactions, isolation levels, SELECT FOR UPDATE, connection pool, batch processing, context propagation, and migration tooling' — giving comprehensive coverage of the skill's capabilities.

5 / 5

Completeness

Explicitly answers both 'what' (the enumerated capability list) and 'when' ('Use when writing, reviewing, or debugging Golang code that interacts with...; for database testing; or for questions about database/sql, sqlx, or pgx.'), plus a concrete negative boundary.

5 / 5

Trigger Term Quality

Covers natural terms and synonyms users would say — 'Go database access', 'Golang code', 'PostgreSQL, MariaDB, MySQL, or SQLite', 'database testing', and 'database/sql, sqlx, or pgx' — including library names and file/tech synonyms.

5 / 5

Distinctiveness Conflict Risk

Clear Go-database niche with library-specific triggers and an explicit exclusion ('Does NOT generate database schemas or migration SQL'), minimizing overlap with adjacent skills.

5 / 5

Total

20

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_field

'metadata' should map string keys to string values

Warning

Total

15

/

16

Passed

Repository
samber/cc-skills-golang
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.