golang-fullstack-best-practices

Comprehensive Go + GORM + PostgreSQL review meta-skill. Coordinates 9 specialized domain skills for fullstack Go application audits. Covers concurrency, architecture, idioms, queries, SQL performance, and migration safety.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "golang-fullstack-best-practices" with this command: npx skills add saifoelloh/golang-best-practices-skill/saifoelloh-golang-best-practices-skill-golang-best-practices

Golang Fullstack Best Practices (Meta-Skill)

Comprehensive code review skill coordinating 9 specialized domain skills for Go backend services using GORM with PostgreSQL.

v3.0.0: The "Ultimate Merger" release. Unified 89 rules across Go language and Database layers.

Available Skills

Go Language Domains

  1. Concurrency Safety — Goroutines, channels, race conditions.
  2. Clean Architecture — Layered architecture, gRPC, dependency rules.
  3. Design Patterns — Code smells, GoF patterns, refactoring.
  4. Idiomatic Go — Go conventions, interface design, pointers.

Database Layer Domains

  1. GORM Query Patterns — ORM queries, transactions, context.
  2. PostgreSQL Syntax — Raw SQL, Postgres-specific functions, quoting.
  3. Query Performance — N+1 detection, indexing, connection pooling.
  4. Migration Safety — Zero-downtime schema changes, rollbacks.

Unified Core

  1. Error Handling — Combined Go error patterns + PostgreSQL error codes.

Rule Count by Priority

PriorityCountFocus
CRITICAL20Bugs, crashes, data loss, SQL injection
HIGH30Reliability, performance, architecture
MEDIUM34Quality, idioms, maintainability
ARCH5Clean Architecture compliance
TOTAL89

Unified Routing Logic

- Concurrency/Channels/Goroutines → concurrency-safety
- Layers/gRPC/Usecases/Dipendencies → clean-architecture
- Complex logic/Refactoring/Code smells → design-patterns
- Pointer usage/Interfaces/Idioms → idiomatic-go
- DB Errors/Postgres codes/errors.Is/As → error-handling
- GORM queries/db.Find/Transactions → gorm-query-patterns
- Raw SQL/Pg-specific functions/Syntax → postgresql-syntax
- Slow queries/Indexes/N+1/Pool → query-performance
- ALTER TABLE/AutoMigrate/Rollback → migration-safety
- Full Audit → all 9 skills

How to Use

For Full Audit

"Review this Go service for all language and database best practices"

For Targeted Reviews

"Audit this repository file for GORM query performance and N+1 issues" "Review these goroutines for race conditions and context leaks" "Is this database migration safe for production?"

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

golang-best-practices

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

golang-best-practices

No summary provided by upstream source.

Repository SourceNeeds Review
Security

skillguard-hardened

Security guard for OpenClaw skills, developed and maintained by rose北港(小红帽 / 猫猫帽帽). Audits installed or incoming skills with local rules plus Zenmux AI intent review, then recommends pass, warn, block, or quarantine.

Archived SourceRecently Updated
Security

api-contract-auditor

审查 API 文档、示例和字段定义是否一致,输出 breaking change 风险。;use for api, contract, audit workflows;do not use for 直接改线上接口, 替代契约测试平台.

Archived SourceRecently Updated