go-backend-implementor
/go-backend-implementor
Implementuje usługi backendowe w Go gotowe do produkcji: handlery HTTP i gRPC, warstwy usług i repozytoriów, testy tabelaryczne, transakcje PostgreSQL, logowanie strukturalne i obserwowalność.
- Autor
- rikdc ↗
- Repozytorium
- claude_code_template ↗
- Licencja
- MPL-2.0
- Ostatnia zmiana repozytorium
- 22.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 4
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 22.10.2026, bez odwołań do wycofanych modeli i API.
MPL-2.0, otwarta.
Co robi i kiedy
Implementuje usługi backendowe w Go gotowe do produkcji: handlery HTTP i gRPC, warstwy usług i repozytoriów, testy tabelaryczne, transakcje PostgreSQL, logowanie strukturalne i obserwowalność.
Argumenty
/go-backend-implementor [task] [--service <name>] [--handler <name>] [--test <file>]
Oryginalny opis (EN)
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.
Jak działa
- Scope
- Usage
- Implementation Principles
- Task Execution Workflow
Podgląd SKILL.md
--- 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.
Pliki w paczce (4)
- SKILL.md 4 KB
- references/database.md 2 KB
- references/patterns.md 4 KB
- references/quality.md 1 KB
Wersje
W bazie nie ma innych skilli o nazwie go-backend-implementor.
Migawka bazy z 13.11.2026 · wersja paczki 9108a34c93d0 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 2 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90backend-engineering
Projektuje i implementuje usługi backendowe i API (REST, gRPC, GraphQL, handlery zdarzeń, granice transakcji, outbox/inbox, dostęp do bazy, obsługa błędów, testy usług), niezależnie od języka. - 100grpc-golang
Buduje gotowe do produkcji usługi gRPC w Go z mTLS, strumieniowaniem i obserwowalnością, w tym kontrakty Protobuf z Buf i bezpieczny transport między usługami. - 100grpc-golang
Buduje gotowe do produkcji usługi gRPC w Go z mTLS, strumieniowaniem i obserwowalnością, w tym kontrakty Protobuf z Buf i bezpieczny transport między usługami. - 95api-backend-services
Projektuje i buduje usługi backendowe: REST, GraphQL, gRPC, webhooki, walidację, idempotencję, stronicowanie i obsługę błędów. - 100backend-architect
Projektuje skalowalne architektury backendu: granice usług, komunikację między nimi, REST, GraphQL, gRPC i zdarzenia. - 100generating-grpc-services
Generuje definicje usług gRPC, stuby i implementacje z Protocol Buffers dla wydajnych usług gRPC.