golang-pro

Design and improve Go applications with concurrency, testing, and performance tuning.

2|Updated Apr 18, 2021
One-click install
npx skills add https://github.com/rabbicse/go-projects --skill golang-pro-rabbicse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golang-pro
Source: https://github.com/rabbicse/go-projects/tree/main/projects/movie-ticket-booking/.claude/skills/golang-pro
Command: npx skills add https://github.com/rabbicse/go-projects --skill golang-pro-rabbicse

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you design, implement, and harden Go applications that need safe concurrency, clean architecture, strong testing, and production-ready performance.

Core Features & Use Cases

  • Concurrent programming: Build goroutine and channel workflows with clear cancellation, bounded lifetimes, and safe error propagation.
  • Microservices development: Create idiomatic Go services with REST or gRPC interfaces, modular project structure, and maintainable package boundaries.
  • Performance and reliability: Improve throughput with profiling, benchmarks, race detection, and careful allocation control.
  • Testing and correctness: Write table-driven tests, subtests, fuzz tests, and interface-based mocks for dependable validation.
  • Use case: Apply it when you need help turning a Go prototype into a well-structured service, CLI tool, or concurrent pipeline that is easier to test and maintain.

Quick Start

Ask me to review your Go project and produce idiomatic implementation guidance, concurrency patterns, tests, and performance improvements for the code you are working on.

Frequently Asked Questions about golang-pro

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

FAQPage Schema
How do I build race-safe goroutine workflows with proper error propagation in Go?

Race-safe goroutine workflows require clear cancellation, bounded lifetimes, and safe error propagation using channels and context. Apply concurrency patterns to prevent race conditions and ensure reliable pipeline execution.

What is the best way to structure a gRPC microservice in Go for production?

Production gRPC microservices need idiomatic Go interfaces, modular project structure, and maintainable package boundaries. Design services with context propagation and strict error handling for reliable network communication.

How do I write table-driven tests and fuzz tests for Go applications?

Table-driven tests and fuzz tests validate Go application correctness using subtests and interface-based mocks. Structure test cases systematically to ensure dependable validation across concurrent and sequential logic.

Does Go support generics for building type-safe channel pipelines?

Go generics support type-safe channel pipelines by parameterizing data flows without runtime type assertions. Combine generics with concurrency patterns to build reusable, compile-time safe data processing workflows.

How do I profile Go application performance and control memory allocations?

Profile Go application performance using benchmarks, race detection, and careful allocation control. Identify throughput bottlenecks through profiling tools to optimize memory usage and execution speed in production.

When should I use context propagation in Go microservices and CLI tools?

Use context propagation in Go microservices and CLI tools when managing cancellation, timeouts, and request-scoped values. Idiomatic error handling ensures context flows safely across goroutine boundaries and network endpoints.