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.

69

Quality

86%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Discovery

100%

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

This is an excellent skill description that hits all the marks. It provides comprehensive specificity with numerous concrete topics, includes abundant natural trigger terms covering both language and database variants, explicitly states both what it does and when to use it, and even includes a helpful exclusion clause to reduce conflict with related skills. The third-person voice is used correctly throughout.

DimensionReasoningScore

Specificity

The description lists numerous specific concrete actions and topics: parameterized queries, struct scanning, NULLable columns, transactions, isolation levels, SELECT FOR UPDATE, connection pool, batch processing, context propagation, and migration tooling. This is highly specific and comprehensive.

3 / 3

Completeness

Clearly answers both 'what' (comprehensive guide for Go database access with specific topics listed) and 'when' ('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'). Also includes a helpful exclusion clause ('Does NOT generate database schemas or migration SQL').

3 / 3

Trigger Term Quality

Excellent coverage of natural terms users would say: 'Go', 'Golang', 'PostgreSQL', 'MariaDB', 'MySQL', 'SQLite', 'database/sql', 'sqlx', 'pgx', 'transactions', 'parameterized queries', 'connection pool'. These are terms developers naturally use when seeking help with Go database code.

3 / 3

Distinctiveness Conflict Risk

Highly distinctive — it targets a clear niche (Go language + database access) with specific library names (sqlx, pgx, database/sql) and specific databases. The exclusion clause further reduces conflict risk by clarifying what it does NOT do, helping distinguish it from schema generation or migration skills.

3 / 3

Total

12

/

12

Passed

Implementation

72%

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

This is a well-structured, comprehensive Go database skill with strong actionability through executable code examples and excellent progressive disclosure via clearly referenced deep-dive files. The main weaknesses are moderate verbosity (some redundant explanations and sections that repeat points) and missing explicit validation/feedback loops in multi-step workflows like transaction handling or migration application. The persona and modes section at the top is a nice touch for guiding Claude's behavior.

Suggestions

Trim the 'Why NOT ORMs' section and 'Schema Creation' section — the points are already covered in the best practices summary; a single line each would suffice.

Add explicit validation checkpoints for transaction workflows (e.g., verify commit succeeded, handle rollback on partial failure) to strengthen workflow clarity.

DimensionReasoningScore

Conciseness

Generally efficient but includes some unnecessary explanations Claude already knows (e.g., 'ORMs hide SQL, generate unpredictable queries' rationale, the extended 'Why NOT ORMs' section, explaining what connection pooling settings do). The best practices summary is useful but partially redundant with the detailed sections below. The 'Schema Creation' section repeats points already made in the best practices summary and migrations section.

2 / 3

Actionability

Provides fully executable Go code examples for parameterized queries, dynamic IN clauses, column allowlists, error handling, rows closing, and connection pool configuration. The code is copy-paste ready with both good and bad patterns clearly marked. The error handling table with specific detection methods and actions is highly actionable.

3 / 3

Workflow Clarity

The 'Modes' section (write mode vs review/debug mode) provides useful workflow guidance with sub-agent usage. However, there are no explicit validation checkpoints or feedback loops for multi-step operations like transaction handling or batch processing. The migration workflow mentions CI/CD but lacks specific validation steps. The best practices are listed but not sequenced into a clear workflow.

2 / 3

Progressive Disclosure

Excellent structure with a clear overview in the main file and well-signaled one-level-deep references to transactions, testing, performance, and scanning reference files. Cross-references to related skills are clearly organized. The Deep Dives section provides a clean navigation index with brief descriptions of what each reference covers.

3 / 3

Total

10

/

12

Passed

Validation

81%

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

Validation9 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_field

'metadata' should map string keys to string values

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

9

/

11

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.