Install
$ agentstack add skill-kieutrongthien-skills-fullstack-backend-golang ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Backend - Go (Gin/Echo)
When to use this skill
- Building or updating Go HTTP APIs using Gin or Echo.
- Adding routes/handlers/middleware, validation, logging, or persistence.
- Improving performance, observability, security, or testing for Go services.
Quick start
- Install deps:
go mod tidy(orgo mod download). - Env: copy
.env.example->.envif present; load viagodotenv/config; set DB URLs, secrets, and service endpoints. - Run:
go run ./...or service-specificmake devif provided. - Test:
go test ./...; lint/format:golangci-lint runandgofmt -w/go fmt ./.... - Build:
go build ./cmd/...or project entry.
Project structure basics
cmd//main.go: entrypoint; wire router, middleware, config, logger, DI.internal/orpkg/: handlers, services/usecases, repositories, domain models, DTOs.configs/: config files; prefer typed config structs with validation.migrations/: SQL/DDL migrations if applicable.
Coding principles
- Keep handlers thin: parse/validate input, call services/usecases, map errors to HTTP responses.
- Services hold business logic; repositories isolate data access; prefer interfaces for tests.
- Validate inputs; return typed errors and map to consistent JSON error shapes.
- Use context-aware logging with request IDs; never log secrets.
- Prefer
golangci-lintandgo test ./...before merge (see scripts/dev-check.sh).
Patterns and snippets
- See references/snippets.md for Gin/Echo router setup, middleware, handlers, error mapping, and DI patterns.
- Centralize HTTP error responses; include correlation ID; avoid panics in request path.
- Use
context.Contextin all public methods; pass through layers.
Bundled resources
- scripts/dev-check.sh: run pre-commit/PR to enforce gofmt, lint, tests, and optional build.
- references/coding-standards.md: guardrails on layering, validation, errors, logging, and testing.
- references/best-practices.md: deeper guidance for Gin/Echo routing, middleware, observability, performance, and security.
- references/snippets.md: ready-to-copy snippets for Gin and Echo (routing, middleware, handlers, errors).
- assets/pr-template.md: PR checklist with testing evidence and API notes.
- assets/migration-checklist.md: use when adding DB schema changes.
Delivery checklist
gofmt/go fmtclean;golangci-lint runpasses;go test ./...green.- Config validated; secrets not logged; env vars documented.
- HTTP errors normalized; correlation/request IDs propagated.
- Migrations applied/documented if DB changes; API contracts/docs updated if endpoints change.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: kieutrongthien
- Source: kieutrongthien/skills-fullstack
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.