Skip to content
Back to skills

Stack Go

ASecurity

Conventions for the Go HTTP service stack (internal/<f> packages, init() registry, go test). Use when adding a handler, service, package or test in this repo.

  • 24 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 9, 2026
ai-agentsgobashapi

Works with

  • api

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add JoahanMorales/upiixia-agentic-kit --skill stack-go --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Stack Go?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Stack Go
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/joahanmorales-stack-go/badge)](https://www.skillsdirectory.com/skills/joahanmorales-stack-go)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: stack-go
description: Conventions for the Go HTTP service stack (internal/<f> packages, init() registry, go test). Use when adding a handler, service, package or test in this repo.
---
# Go stack
Setup: `.uak/stacks/go/STACK.md`.

| Rule | Why |
|---|---|
| One task = one package `internal/<f>/` that registers its routes with `httpx.Register` in `init()` | disjoint claims; main never changes |
| Go 1.22+ patterns: `"GET /api/<f>/{id}"`, read with `r.PathValue("id")` | no router dependency |
| Table-driven tests with `httptest` in `<f>_test.go` | reviewers run `go test ./internal/<f>/` |
| External calls with `context.WithTimeout` and a labeled fallback (`"demo_data": true`) | the demo survives a dead API |
| New modules: ask the owner of `go.mod`; never commit `go.sum` from a feature task | lockfiles go to the human queue |

```bash
bash .uak/bin/q go test ./internal/<f>/ && go vet ./internal/<f>/
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.