aashutosh396/mindpalace/golang-pro

Claude Code and agent skill by aashutosh396/mindpalace

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when building Go 1.21+ applications with concurrent goroutine/channel patterns, gRPC or REST microservices, generics, or high-performance systems. Triggers: Go, Golang, goroutines, channels, gRPC, microservices Go, Go generics, concurrent programming, Go interfaces, pprof.

Install

npx vskill@latest install aashutosh396/mindpalace/golang-pro

SKILL.md

The same SKILL.md was published earlier as aashutosh396/mindpalace/golang-pro.

Golang Pro

Idiomatic Go 1.21+, concurrency, and cloud-native microservices.

When to use

Concurrent programming (goroutines/channels); gRPC or REST microservices; generics; interface-driven design; pprof performance work; CLI tools; benchmarks/fuzzing.

Core workflow

  1. Analyze — module structure, interfaces, concurrency patterns.
  2. Design interfaces — small, focused, composed.
  3. Implement — idiomatic Go, error handling, context propagation; go vet ./....
  4. Lint — golangci-lint run, fix all.
  5. Optimize — pprof, benchmarks, fewer allocations.
  6. Test — table-driven with -race, fuzzing, 80%+ coverage.

Key pattern

go
// Bounded goroutine with context cancellation + error propagation
func worker(ctx context.Context, jobs <-chan Job, errCh chan<- error) {
for {
select {
case <-ctx.Done():
errCh <- fmt.Errorf("worker cancelled: %w", ctx.Err()); return
case job, ok := <-jobs:
if !ok { return } // channel closed; clean exit
if err := process(ctx, job); err != nil {
errCh <- fmt.Errorf("process %v: %w", job.ID, err); return
}
}
}
}

Properties: bounded lifetime via ctx, %w error wrapping, no goroutine leak on cancel.

Constraints

MUST: gofmt + golangci-lint; context.Context on blocking ops; handle all errors explicitly; table-driven tests with subtests; doc all exported symbols; wrap errors with %w; run -race. MUST NOT: ignore errors (_ without reason); panic for normal errors; spawn goroutines without lifecycle; skip context cancellation; reflection without justification; hardcode config (use functional options/env).

Output

  1. Interface definitions (contracts first). 2. Implementation with package structure. 3. Table-driven tests. 4. Brief note on concurrency patterns.

Knowledge

Go 1.21+, goroutines, channels, select, sync, generics/constraints, io.Reader/Writer, gRPC, context, error wrapping, pprof, benchmarks, fuzzing, go.mod, internal packages, functional options.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/aashutosh396/mindpalace/golang-pro/badge)](https://verified-skill.com/skills/aashutosh396/mindpalace/golang-pro)

Something wrong with this skill or its page? Tell us.