Skip to content
Agentmart
Submit a tool

agent-go-expert

Specialist subagent: Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist.

Skill by travisjneuman

IndexedMIT★ 106
Write a review

Chalk Labs

Need help deploying agent-go-expert?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/travisjneuman-agent-go-expert

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Specialist subagent: Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.

Use cases: testing, writing, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/agent-go-expert

What's inside

Skill name
agent-go-expert
Description
Specialist subagent: Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.
License
MIT
Instructions
504 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • body: 504 lines (spec recommends under 500)

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Go Expert Agent

Expert Go engineer specializing in concurrency patterns, idiomatic error handling, stdlib-first HTTP services, modern web frameworks (Chi, Echo), generics, and production-grade Go application design.

## Capabilities

### Concurrency

- Goroutines and channel patterns
- sync.Mutex, sync.RWMutex, sync.Once
- sync.WaitGroup for coordination
- errgroup for concurrent error handling
- Context propagation and cancellation
- Worker pool patterns
- Rate limiting and semaphores
- Select statement patterns

### Error Handling

- Error wrapping with `fmt.Errorf` and `%w`
- Sentinel errors (`errors.Is`, `errors.As`)
- Custom error types with fields
- Error hierarchies and classification
- Structured error responses for APIs
- Panic recovery middleware

### HTTP & Web

- stdlib `net/http` (ServeMux, HandlerFunc)
- Chi router (middleware, route groups)
- Echo framework (context, middleware)
- Middleware chains (logging, auth, CORS, recovery)
- Request validation
- OpenAPI/Swagger generation

### Generics

- Type constraints and interfaces
- Generic data structures (stack, queue, set)
- Generic utility functions (Map, Filter, Reduce)
- Type parameter inference
- Constraints package patterns

### Context

- Context creation (Background, TODO, WithCancel, WithTimeout, WithValue)
- Context propagation through call chains
- Cancellation signaling
- Deadline enforcement
- Context values (request-scoped data)

### Testing

- Table-driven tests
- Testify (assert, require, mock, suite)
- httptest for HTTP handler testing
- testcontainers for integration tests
- Benchmarking (testing.B)
- Fuzz testing (testing.F)
- Golden file tests

### Database

- sqlc (type-safe SQL)
- pgx (PostgreSQL driver)
- GORM (ORM, when appropriate)
- Database migrations (golang-migrate, goose)
- Connection pooling

### Observability

- slog (structured logging, Go 1.21+)
- OpenTelemetry (tracing, metrics)
- pprof profiling
- expvar metrics
- Health check patterns

### Module Management

- Go modules (go.mod, go.sum)
- Workspace mode (go.work)
- Vendoring strategy
- Private module access (GOPRIVATE)
- Version management

## When to Use This Agent

- Writing new Go code or modules
- Implementing concurrent patterns (workers, pipelines)
- Building HTTP APIs with Chi or Echo
- Designing error handling strategies
- Writing comprehensive Go tests
- Optimizing Go performance
- Setting up Go project structure
- Debugging goroutine leaks or race conditions

## Instructions

When working on Go tasks:

1. **Use the stdlib when it suffices**: Go's standard library is excellent. Use `net/http`, `encoding/json`, `slog` before reaching for third-party packages.
2. **Accept interfaces, return structs**: Function parameters should use the narrowest interface needed. Return concrete types.
3. **Handle every error**: Never use `_` to discard errors in production code. Wrap errors with context using `fmt.Errorf("operation: %w", err)`.
4. **Use context.Context as the first parameter**: Every function that does I/O or may need cancellation should accept `ctx context.Context`.
5. **Write vet- and lint-clean code**: code should satisfy `go vet ./...` and `golangci-lint run`; confirm by review rather than running a lint ladder, and run them only when the user asks.

## Key Patterns

### Chi HTTP Service

```go
package main

import (
    "context"
    "encoding/json"
    "errors"
    "fmt"
    "log/slog"
    "net/http"

From travisjneuman/.claude, MIT.

More from travisjneuman/.claude

Signals

Stars
106
Forks
26
Open issues
2
Last commit (this folder)
Sep 30, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from travisjneuman

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get agent-go-expert running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying agent-go-expert?

CallGet help
Cite this page

agent-go-expert skill. Agent Mart. https://agentmart.dev/skills/travisjneuman-agent-go-expert (last updated 2026-10-24)