moai-lang-go

Reference enterprise Go patterns for web, RPC, and concurrency development.

Updated Nov 24, 2025
One-click install
npx skills add https://github.com/jg-chalk-io/Nora-LiveKit --skill moai-lang-go-jg-chalk-io
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-lang-go
Source: https://github.com/jg-chalk-io/Nora-LiveKit/tree/main/.claude/skills/moai-lang-go
Command: npx skills add https://github.com/jg-chalk-io/Nora-LiveKit --skill moai-lang-go-jg-chalk-io

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill captures enterprise Go patterns for systems programming, networking, and reliable back-end development.

Core Features & Use Cases

  • Memory-safe concurrency: Go patterns for safe parallelism.
  • Web & RPC: Fiber/Echo/Chi web patterns and gRPC usage.
  • Testing & Quality: standard testing, benchmarking.

Quick Start

Scaffold a minimal Go service with a router and a test, then iteratively add concurrency patterns.

Frequently Asked Questions about moai-lang-go

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

FAQPage Schema
How do I build scalable Go services with goroutines and channels?

Go concurrency uses goroutines for lightweight parallelism and channels for safe inter-goroutine communication. This Skill provides patterns for memory-safe concurrent systems, covering goroutine orchestration, channel usage, and context-based cancellation across REST, RPC, and testing workflows.

What's the best way to structure a REST API in Go with Fiber, Echo, or Chi?

REST APIs in Go benefit from modern web frameworks—Fiber v3.x, Echo 4.13.x, and Chi 5.x each offer routing, middleware, and error handling. This Skill covers web patterns, middleware design, and error handling for all three frameworks in production contexts.

How do I implement gRPC services and Protobuf in Go?

gRPC enables high-performance RPC over HTTP/2 using Protobuf for schema definition. This Skill covers gRPC service design, Protobuf code generation, and integration with Go's concurrency patterns for scalable systems.

Can I use type-safe SQL with Go without manual query building?

Yes. sqlc generates type-safe Go code from SQL queries, and pgx provides a fast PostgreSQL driver. This Skill covers sqlc workflows and pgx integration for reliable, compile-time-checked database access.

How do I test concurrent Go code reliably?

Testing concurrent systems requires standard Go testing, benchmarking, and race detection. This Skill provides testing patterns, benchmarking setup, and quality tooling—golangci-lint, gotestsum, govulncheck—for production readiness.

Does this cover Windows and macOS or only Linux?

This Skill targets Unix/Linux-first architectures with Windows and macOS support. All patterns work cross-platform, though examples emphasize Unix/Linux deployment contexts.