go
Lang: Go
Rules
- Errors: Wrap with
fmt.Errorf("...: %w", err). Never ignore. - Context:
ctx context.ContextMUST be 1st arg. - DB: Use SQLBoiler models/executors. NO GORM/Raw SQL.
- Tests: Table-Driven (
structslice) +testify/require. - Layout: Use
skill nx-monorepoifnx.jsonexists. Otherwise use standardcmd/,internal/,pkg/. - Libs: Log=
log/slog, Conc=errgroup.
Workflow
- Use
skill workflow-envbefore build/run commands. - Build:
go build ./cmd/<app> - Test:
go test -v ./... - Format:
gofmt -w .
Docs: Context7 /golang/go · Fallback: https://go.dev/doc
More from plutowang/term.conf
csharp
Auto-apply when working with C# and the .NET ecosystem. Trigger this skill when the user asks to create, modify, or debug C#, ASP.NET, Blazor, Entity Framework, MAUI, or use the dotnet CLI.
27react
Auto-apply when working with React, Next.js, or Vite. Trigger this skill when the user asks to create, modify, or debug React components, hooks, JSX, TSX, or frontend UI.
1rust
Auto-apply when working with Rust. Trigger this skill when the user asks to create, modify, or debug Rust code, Cargo projects, crates, or Rust tests.
1zig
Auto-apply when working with Zig. Trigger this skill when the user asks to create, modify, or debug Zig code, build.zig scripts, or Zig tests.
1angular
Auto-apply when working with Angular. Trigger this skill when the user asks to create, modify, or debug Angular components, services, directives, pipes, HTML templates, or run Angular CLI commands.
1aws
Auto-apply when working with Amazon Web Services (AWS) or cloud infrastructure. Trigger this skill for CDK stacks, CloudFormation, Terraform, SAM, Lambda, S3, EC2, IAM, or any AWS cloud deployments.
1