Index of every page on this site: llms.txt
All skills
gillmacedo avatar

/reviewing-go-services

@e7bd192
Run it yourself

Reviews a Go service for production risks by parsing its source, including HTTP servers and clients with no timeouts, no graceful shutdown on SIGTERM, database connection pools with no limits, request contexts ignored in handlers, goroutines that outlive requests, unbounded request bodies and libraries that exit the process. Use when the user asks if a Go service is production ready, wants a Go backend reviewed before launch, or is debugging hangs, dropped requests during deploys or connection exhaustion.

  • 1 file
  • 1.9 KB
  • Updated 3 weeks ago
  • GitHub
Use this Skill: https://skilld.dev/gh/gillmacedo/gosturdy/reviewing-go-services

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈133 tokens for metadata: the name and description. ≈344 when used: this file.

Description uses 6.7% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈534 characters, or 6.7%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Reviewing Go services

Run the bundled tool first. It only parses source, so it needs Go installed but never builds or runs the project.

go run "${CLAUDE_PLUGIN_ROOT}/scripts/gosturdy.go" PATH

Add --format markdown for a table. Exit code 1 means high severity findings, or files it couldn't parse.

Check each finding before reporting it

The tool sees code shape, without types. So for each finding, read the code:

  • A wrapper, middleware or framework may already handle it.
  • GS101 next to a graceful server may be a debug or metrics port. Check that it isn't public.
  • GS201 and GS202 matter less if every request has a context deadline. Confirm that rather than assuming.
  • Say which findings you confirmed, and which you dismissed and why.

Report

  1. List confirmed risks, worst first, with file:line and what happens in production.
  2. Show the smallest fix for each one, matching the project's style.
  3. Say what this doesn't cover: runtime behavior, Kubernetes settings such as probes and terminationGracePeriodSeconds, retries, observability and load. Don't call a service production ready because the tool found nothing.

Don't

Don't change code unless the user asks. Timeouts need values that fit the service, so propose them and explain the choice. Add //gosturdy:ignore RULE reason only when the user agrees the risk is accepted.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at e7bd192. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 3 weeks ago

README badge

README badge for gillmacedo/gosturdy