tattooinmtl/dariusai/go
Claude Code and agent skill by tattooinmtl/dariusai
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Production Go 1.22+ codebase starter, Go Modules, Goroutines, Channels, Context propagation, golangci-lint, go test, and harness verification for Go engineering.
Install
npx vskill@latest install tattooinmtl/dariusai/goSKILL.md
The same SKILL.md was published earlier as tattooinmtl/dariusai/go.
Go Codebase & Engineering Skill
Comprehensive operational guide, starter architecture, best practices, and harness controls for high-performance Go microservices and CLI tools.
1. Stack Overview & Dependencies
- Runtime: Go 1.22 / Go 1.23+
- Module Manager: Go Modules (
go.mod) - Core Dependencies:
net/http(standard library with Go 1.22+ enhanced routing) orgin/chigolang.org/x/sync/errgroup: Structured goroutine concurrencygithub.com/stretchr/testify: Testing & assertion frameworkgolangci-lint: Fast multi-linter static analysis toolgopls: Official Go language server
2. Standard Codebase Structure
3. How-To Workflows
Initialize & Download Dependencies
Build & Compile Executable
Dev Run Mode
Static Analysis & Formatting
Testing & Verification
4. Best Practices & Design Patterns
- Explicit Error Check: Always inspect returned errors immediately (
if err != nil { return fmt.Errorf("...: %w", err) }). Wrap errors using%wto supporterrors.Isanderrors.As. - Context Propagation: Pass
ctx context.Contextas the first parameter to functions performing IO or cancellation-aware tasks. Respectctx.Done(). - Goroutine Leak Prevention: Always ensure spawned goroutines have a guaranteed termination path (via channel close, context cancellation, or sync.WaitGroup).
- Interface Segregation: Accept interfaces, return concrete structs. Keep interfaces small and consumer-focused.
- Zero-Value Usability: Design structs so their zero value (
var s Struct) is immediately usable without requiring explicit constructor setup where possible.
5. Tips, Tricks & Pitfalls
- Race Detector: Always run unit tests with
-race(go test -race ./...) during CI builds to catch data races early. - Defer Overhead: Use
defer file.Close()immediately after successful resource acquisition. - Slice Allocation: Pre-allocate slice capacity when length is known (
make([]T, 0, capacity)).
6. Harness Hooks & Safety Enforcement
- PreToolUse Guard: Run
go vet ./...before permitting binary compilation. - PostToolUse Verification: Trigger
go test -race ./...automatically after editing Go files.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingaddon/skills/codebase-starters/go/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tattooinmtl/dariusai/go)