Synaptic SkillsSynapticSkills
MarketplaceSkill GraphCriar SkillMCP ServerPlataformaEnterprise
v0.1.0-beta
Voltar ao Marketplace
DevelopmentMédio

Go Database Best Practices

porsamber·samber· v1.0.0 · atualizado em 2026-04-10
83
Score

Comprehensive guide for Go database access. Covers parameterized queries, struct scanning, NULLable column handling, error patterns, transactions, isolation levels, SELECT FOR UPDATE, connection pool, batch processing, context propagation, and migration tooling. Use this skill whenever writing, reviewing, or debugging Golang code that interacts with PostgreSQL, MariaDB, MySQL, or SQLite. Also triggers for database testing or any question about database/sql, sqlx, pgx, or SQL queries in Golang. This skill explicitly does NOT generate database schemas or migration SQL.

golangdatabasesqlsqlxpgxdatabase-accessdata-integrity
0Stars
0Forks
0Usos
Fork

Documento do Skill

SKILL.mdgolang-database/workflow
1. Identify the database operation required (query, update, transaction).
2. Determine the appropriate Go library to use (sqlx, pgx, database/sql).
3. Construct the SQL query using parameterized placeholders.
4. Implement error handling, including checking for `sql.ErrNoRows`.
5. Use context propagation for all database operations.
6. Manage transactions for multi-statement operations.
7. Ensure proper connection pool configuration.

Telemetria de Agentes

Execuções
0
total
Taxa de Sucesso
0%
últimos 30d
Latência Média
0.0s
p50
Alucinação
0.0%
detecção
Tokens Entrada
0
avg 0/exec
Tokens Saída
0
avg 0/exec

Uso por Plataforma

Skills Relacionados

Compõe comGo Testing Patterns
70%
Hebbian Synapse
Composite0.700
w = 0.3·α + 0.5·β + 0.2·γ
83
Compõe comGo Error Handling Best Practices
70%
Hebbian Synapse
Composite0.700
w = 0.3·α + 0.5·β + 0.2·γ
80
Compõe comGo Security
70%
Hebbian Synapse
Composite0.700
w = 0.3·α + 0.5·β + 0.2·γ
85
Compõe comGo context.Context Best Practices
70%
Hebbian Synapse
Composite0.700
w = 0.3·α + 0.5·β + 0.2·γ
80
Similar aSolana Development Skill (framework-kit-first)
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
85
Similar aCoder
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
81
Similar aElysiaJS Development Skill
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
84

Árvore do Skill

Go Database Best Practices
golang-database
Fases Cognitivas6
1.SENSE
2.CONTEXTUALIZE
3.HYPOTHESIZE
4.EVALUATE
5.RECOMMEND
6.ACT
Triggers8
write a golang function to query a databasereview golang database code for vulnerabilitiesdebug a golang database queryhow to use sqlx with golangbest practices for golang database interactionshandle nullable columns in golang databaseuse parameterized queries in golangimplement database transactions in golang

Avaliar este Skill

Score Breakdown

⭐Avaliação Humana0%
🤖Sucesso de Agentes0%
🕐Atualidade100%
🔗Saúde de Dependências100%
🕸️Centralidade no Grafo0%
🛡️Segurança50%
CompositeScore = α·Humano + β·Agente + γ·Recência + δ·Deps + ε·Centralidade + ζ·Segurança

Instalação

$ synaptic mcp download golang-database
$ synaptic skills detail golang-database
$ synaptic skills live golang-database

Dependências

database/sqlsqlxpgxgolang-migrateFlywayAtlas

Links

GitHub Repository