stack-go

Enforce idiomatic Go patterns, quality gates, and testing guidelines for Go projects.

Updated Feb 11, 2026
One-click install
npx skills add https://github.com/juniorfontenele/ai-guidelines --skill stack-go
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stack-go
Source: https://github.com/juniorfontenele/ai-guidelines/tree/main/.agents/skills/stack-go
Command: npx skills add https://github.com/juniorfontenele/ai-guidelines --skill stack-go

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a robust framework for developing Go applications, ensuring idiomatic patterns, comprehensive quality gates, and effective testing strategies are consistently applied.

Core Features & Use Cases

  • Idiomatic Go Patterns: Enforces best practices for error handling, interfaces, and project structure.
  • Quality Gates: Integrates linters (golangci-lint), static analysis (go vet), and security checks (govulncheck, gosec).
  • Testing Guidelines: Promotes table-driven tests and mocking for reliable unit and integration testing.
  • Use Case: When starting a new Go microservice, use this Skill to establish a high-quality, maintainable codebase from the outset, incorporating automated checks for code quality and security.

Quick Start

Apply the stack-go skill to ensure the current Go project adheres to idiomatic patterns and quality gates.

Frequently Asked Questions about stack-go

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up quality gates for a Go project?

Idiomatic Go development patterns enforce best practices for error handling, interface usage, and project structure. This Skill provides guidelines to ensure APIs, CLIs, and microservices follow standard Go conventions.

What is the best way to structure table-driven tests in Go?

Table-driven tests in Go are structured using testing guidelines that promote mocking and reliable test cases. This Skill provides testing methodologies to ensure comprehensive unit and integration testing coverage for Go source code.

Does my Go project need a go.mod file to apply these quality gates?

Yes, these quality gates apply specifically to projects containing a go.mod file and Go source code. It targets existing Go projects aiming to establish best practices for APIs, CLIs, and microservices.

How do I run security vulnerability scanning in Go?

Security vulnerability scanning in Go is run using tools like govulncheck and gosec. This Skill integrates these security checks into your quality gates to automatically identify and prevent vulnerabilities in your codebase.

Why does my Go microservice need static analysis?

Static analysis via go vet is needed to catch structural issues and enforce idiomatic Go patterns before deployment. Integrating static analysis into quality gates ensures maintainable and secure microservices from the outset.