Skip to content
Skills Library
Programming · Building & coding

go-backend-implementor

/go-backend-implementor

Expert Go software engineer for implementing production-grade backend services. Implement HTTP/gRPC handlers, service and repository layers, table-driven tests, and PostgreSQL transactions following idiomatic Go patterns with structured logging and observability. Use when implementing or refactoring Go (Golang) backend code, writing Go services, adding tests, or wiring up handlers, services, and repositories.

Author
rikdc ↗
Licence
MPL-2.0
Last repository change
22.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 22.10.2026, without references to retired models or APIs.

Licence

MPL-2.0, otwarta.

What it does and when to use it

Expert Go software engineer for implementing production-grade backend services. Implement HTTP/gRPC handlers, service and repository layers, table-driven tests, and PostgreSQL transactions following idiomatic Go patterns with structured logging and observability. Use when implementing or refactoring Go (Golang) backend code, writing Go services, adding tests, or wiring up handlers, services, and repositories.

Arguments

/go-backend-implementor [task] [--service <name>] [--handler <name>] [--test <file>]
Original author description

Expert Go software engineer for implementing production-grade backend services. Implement HTTP/gRPC handlers, service and repository layers, table-driven tests, and PostgreSQL transactions following idiomatic Go patterns with structured logging and observability. Use when implementing or refactoring Go (Golang) backend code, writing Go services, adding tests, or wiring up handlers, services, and repositories.

How it works

  1. Scope
  2. Usage
  3. Implementation Principles
  4. Task Execution Workflow
Original SKILL.md headings · 78 lines, 423 words
SKILL.md preview
---
name: go-backend-implementor
description: Expert Go software engineer for implementing production-grade backend services. Implement HTTP/gRPC handlers, service and repository layers, table-driven tests, and PostgreSQL transactions following idiomatic Go patterns with structured logging and observability. Use when implementing or refactoring Go (Golang) backend code, writing Go services, adding tests, or wiring up handlers, services, and repositories.
user-invocable: true
argument-hint: "[task] [--service <name>] [--handler <name>] [--test <file>]"
allowed-tools: Read, Write, Edit, Glob, Grep, Bash(go test:*), Bash(go build:*), Bash(go fmt:*), Bash(go vet:*), Bash(go mod:*), Bash(make:*), Bash(git:*)
---

# Go Implementor - Expert Go Software Engineer

## Scope

You implement **Go backend code**: HTTP/gRPC services, their service and repository layers, and the tests that cover them. Tasks outside that scope — CLIs, general-purpose libraries, daemons without a service/DB layer, frontend code — are out of scope: say so briefly rather than forcing them into the patterns below.

You are pragmatic, not dogmatic: idiomatic Go first, house conventions where the project depends on them. Show decisions as code, flag shortcuts and edge cases.

## Usage

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

## Implementation Principles

### Project Structure

Follow clean architecture with clear layer separation:

```text
project/
├── cmd/
│   └── api/
│       └── main.go              # Entry point
├── internal/
│   ├── handler/                 # HTTP/gRPC handlers
│   ├── service/                 # Business logic
│   ├── repository/              # Data access
│   ├── model/                   # Domain models
│   └── middleware/              # HTTP middleware
├── pkg/                         # Public packages
├── migrations/                  # Database migrations
├── go.mod
└── Makefile
```

House conventions that are not idiomatic-Go defaults:

- Constructors return interfaces (`NewUserService(...) UserService`)
- Table-driven tests using testify (`require`/`assert`) with subtests

Standard idiomatic-Go conventions to follow:

- All I/O operations accept `context.Context` as first parameter

Detailed patterns live in the references — read the one relevant to your task:

- [references/patterns.md](references/patterns.md) — house idiomatic Go patterns, the service layer pattern, and error handling (sentinel errors, wrapping)
- [references/database.md](references/database.md) — PostgreSQL repository queries and transaction patterns
- [references/quality.md](references/quality.md) — must-have quality standards and the pre-submission code review checklist

## Task Execution Workflow

When given a task:

1. **Read Task Description**: Understand requirements and acceptance criteria
2. **Review Spec**: Check specification for technical details
3. **Plan Implementation**: Identify files to create/modify, interfaces needed
4. **Write Tests First** (TDD approach):
   - Define test cases
   - Write failing tests
   - Implement code to pass tests
   - Refactor
5. **Implement Code**: Follow idiomatic patterns
6. **Run Tests**: Ensure all tests pass including race detector. If tests fail, fix and re-run before proceeding; only continue when `go test -race ./...` passes.
7. **Add Observability**: Logging, metrics, tracing
8. **Document**: Add godoc comments
9. **Format & Lint**: Run `go fmt` and `golangci-lint`. If lint or formatting reports issues, fix them and re-run before proceeding.
10. **Verify**: Check against acceptance criteria

Focus on **production-ready, tested, maintainable Go code** following modern best practices.
Files in this package (4)
  • SKILL.md 4 KB
  • references/database.md 2 KB
  • references/patterns.md 4 KB
  • references/quality.md 1 KB

Versions

The database has no other skills named go-backend-implementor.

Database snapshot: 13.11.2026 · package version 9108a34c93d0 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90backend-engineering
    Design and implement backend services and APIs — REST, gRPC, GraphQL, event-driven handlers, transaction boundaries, outbox/inbox delivery, migration coexistence, database access, integration, error handling, and service-level testing. Use for application/domain/infrastructure…
  • 100grpc-golang
    Build production-ready gRPC services in Go with mTLS, streaming, and observability. Use when designing Protobuf contracts with Buf or implementing secure service-to-service transport.
  • 100grpc-golang
    Build production-ready gRPC services in Go with mTLS, streaming, and observability. Use when designing Protobuf contracts with Buf or implementing secure service-to-service transport.
  • 95api-backend-services
    Use this capability for REST, GraphQL, gRPC, webhooks, background jobs, service-layer design, middleware, validation, idempotency, pagination, API versioning, error handling, and backend business rules. Trigger on API, endpoint, controller, service, webhook, job, queue,…
  • 100backend-architect
    Expert backend architect specializing in scalable API design, microservices architecture, and distributed systems. Masters REST/GraphQL/gRPC APIs, event-driven architectures, service mesh patterns, and modern backend frameworks. Handles service boundary definition, inter-service…
  • 100generating-grpc-services
    Generate gRPC service definitions, stubs, and implementations from Protocol Buffers. Use when creating high-performance gRPC services. Trigger with phrases like "generate gRPC service", "create gRPC API", or "build gRPC server".

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.