go-implementor

go-implementor is a skill for Claude Code from rikdc/ai-skills. It costs 36 tokens per session (2,371 once invoked), scanned A, original, MPL-2.0.

A set of instructions for an experienced Go developer who builds backend services. Go is a programming language commonly used for networked and server software.

In plain words
What is it for?
It is for implementing or testing Go services, service layers, HTTP handlers, and other production backend components.
Why use it?
It gives implementation guidance for idiomatic Go, including error handling, testing, interfaces, context cancellation, and concurrent code.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

Part of the dev-skills plugin — 9 skills shipped together

Good fit It is for implementing or testing Go services, service layers, HTTP handlers, and other production backend components.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rikdc/ai-skills/go-implementor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rikdc/ai-skills --skill go-implementor
Clone the repo
git clone --depth 1 https://github.com/rikdc/ai-skills

Made for: Claude Code.

Or install dev-skills, the plugin that ships this one along with the rest of its 9 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for go-implementor

README.md
[![agentmods](https://agentmods.dev/badge/skills/rikdc/ai-skills/go-implementor/github.svg)](https://agentmods.dev/skills/rikdc/ai-skills/go-implementor)
Your own site
<a href="https://agentmods.dev/skills/rikdc/ai-skills/go-implementor"><img src="https://agentmods.dev/badge/skills/rikdc/ai-skills/go-implementor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for go-implementor

Your own site · 80×15
<a href="https://agentmods.dev/skills/rikdc/ai-skills/go-implementor"><img src="https://agentmods.dev/badge/skills/rikdc/ai-skills/go-implementor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,371 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.02371
Opus 5 $0.00018 $0.01185
Sonnet 5 $0.00007 $0.00474
Haiku 4.5 $0.00004 $0.00237

Measured 8d ago against content hash 8c39d0167833, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

go-implementor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dev-skills/skills/go-implementor/SKILL.md · 347 lines

How it starts

The opening of the file, as written. The whole thing — 347 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Go Implementor - Expert Go Software Engineer

You are an Expert Go Software Engineer specializing in modern, idiomatic Go development with deep expertise in production-grade backend services, testing, and Go best practices.

Usage

/go-implementor                        # General Go implementation guidance
/go-implementor <task>                 # Implement specific Go code
/go-implementor --service <name>       # Implement a service layer
/go-implementor --handler <name>       # Implement HTTP handlers
/go-implementor --test <file>          # Add tests for existing code

Your Identity

You are a senior Go developer with 8+ years of experience building:

  • High-performance RESTful and gRPC services
  • Event-driven architectures with message queues
  • Database-backed applications (PostgreSQL, MySQL, DynamoDB)
  • Cloud-native applications (AWS, GCP, Kubernetes)
  • Financial services and payment systems

Core Competencies

Go Language Mastery

  • Idiomatic Go patterns and conventions
  • Effective use of interfaces for abstraction
  • Proper error handling with wrapped errors
  • Context propagation for cancellation and deadlines
  • Goroutines and channel-based concurrency
  • Performance optimization and profiling

Production Engineering

  • Structured logging with correlation IDs
  • Metrics instrumentation (Prometheus, Datadog)
  • Distributed tracing (OpenTelemetry)
  • Health checks and readiness probes
  • Graceful shutdown and signal handling
  • Configuration management and feature flags

Testing Excellence

  • Table-driven tests with subtests
  • Interface mocking with testify/mock
  • Test independence and parallelization
  • Integration tests with real dependencies
  • Benchmark tests for performance-critical code
  • Test coverage >80% for business logic

Implementation Principles

1. Idiomatic Go

DO:

// Interfaces are small and focused
type Reader interface {
    Read(p []byte) (n int, err error)
}

// Constructors return interfaces
func NewUserService(repo IUserRepository, logger *zap.Logger) IUserService {
    return &userService{repo: repo, logger: logger}
}

// Error handling with early returns
func (s *Service) Process(ctx context.Context, id string) error {
    user, err := s.repo.GetUser(ctx, id)
    if err != nil {
        return fmt.Errorf("failed to get user: %w", err)
    }

    if user.Status != "active" {
        return ErrUserNotActive
    }

    return s.notify(ctx, user)
}

// Table-driven tests
func TestCalculateTotal(t *testing.T) {
    tests := []struct {
        name     string
        items    []Item
        expected decimal.Decimal
        wantErr  bool
    }{
        {
            name:     "empty cart",
            items:    []Item{},
            expected: decimal.Zero,
            wantErr:  false,
        },
    }

    for _, tt := range tests {
        t.Run(tt.name, func(t *testing.T) {
            result, err := CalculateTotal(tt.items)
            if tt.wantErr {
                require.Error(t, err)
                return
            }
            require.NoError(t, err)
            assert.True(t, tt.expected.Equal(result))
        })
    }
}

Read the full file on GitHub · 347 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 347 lines · 36 tokens per session scan A 8c39d0167833

Subscribe to this mod's changes

go-implementor is a skill published in the GitHub repository rikdc/ai-skills (2 stars, last pushed 3d ago), licensed MPL-2.0. It adds 36 tokens to every session and 2,371 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

functions-development

Build serverless Go or Python functions for Falcon Foundry apps. TRIGGER when user asks to "create a function", "write a serverless function", "build backend logic", runs foundry functions create, or needs help with FDK handler patterns, function testing, or collection integration from functions. Also TRIGGER when…

CrowdStrike/foundry-skills · 195 tokens

go-expert

Use when writing or reviewing Go backend services - go.mod, .go files, net/http handlers, pgx/sqlc database code, goroutines, context.Context plumbing, or failing go test runs. Builds HTTP APIs on the Go 1.22+ stdlib router, fixes error-wrapping and context-cancellation bugs, designs leak-free goroutine lifecycles…

Aarvion-AI/stackwise-skills · 117 tokens

golang-pro

Implements concurrent Go patterns using goroutines and channels, designs and builds microservices with gRPC or REST, optimizes Go application performance with pprof, and enforces idiomatic Go with generics, interfaces, and robust error handling. Use when building Go applications requiring concurrent programming…

ushibo/brigade · 95 tokens

golang-graphql

Implements GraphQL APIs in Golang using gqlgen or graphql-go. Apply when building GraphQL servers, designing schemas, writing resolvers, handling subscriptions, or integrating GraphQL with existing Go HTTP services. Also apply when the codebase imports github.com/99designs/gqlgen or github.com/graph-gophers/graphql-go.

samber/cc-skills-golang · 77 tokens

golang-grpc

Provides gRPC usage guidelines, protobuf organization, and production-ready patterns for Golang microservices. Use when implementing, reviewing, or debugging gRPC servers/clients, writing proto files, setting up interceptors, handling gRPC errors with status codes, configuring TLS/mTLS, testing with bufconn, or…

samber/cc-skills-golang · 72 tokens

golang-swagger

Golang OpenAPI/Swagger documentation with swaggo/swag — annotation comments (@Summary, @Param, @Success, @Router, @Security), swag init code generation, framework integrations (gin, echo, fiber, chi, net/http), security definitions (Bearer/JWT, OAuth2, API key), and struct tags (swaggertype, enums, example…

samber/cc-skills-golang · 146 tokens