Go HTTP API
A Go HTTP API on the standard library (net/http, slog) with no web framework. JSON resources share one error envelope and request logging, the server shuts down cleanly on SIGINT and SIGTERM, and race-enabled tests run against the built binary.
What done means
Your agent follows the brief, then runs stacks verify without weakening or skipping checks. What happens next
Declared steps: install, fmt-check, vet, lint, build, test, test-integration, api, readme-filled. View commands
Use this stack
Paste the prompt into the coding agent working on your project.
Uses the stack’s default fragments. Review the brief with your agent.Uses stated defaults and omits deploy, release, and app fragments unless explicitly requested.
View prompt
Or use the terminal
npx @steamfield/stacks new go-apinpx @steamfield/stacks new go-api --sandbox| Step | Phase | Layer | Command |
|---|---|---|---|
| install | setup | install | make install |
| fmt-check | check | lint | make fmt-check |
| vet | check | typecheck | make vet |
| lint | check | lint | make lint |
| build | check | build | make build |
| test | check | test | make test |
| test-integration | check | test | make test-integration |
| api | serve | serve | make serve |
| readme-filled | check | check | test -s README.md && ! grep -n 'stacks:fill' README.md |
Usage and outcomes
Usage over time
Showing 180 days of history.
History
The 28-day green rate at each weekly observation. Gaps mean the sample was too small to publish.
Shaded band: 95% Wilson interval. Dashed rules: content changes. Missing observations remain gaps.
Stacks projects · 28 days through 30 Oct 2026. Counts rounded to 5.
Data table
| Through | Green rate | Projects | Content change |
|---|---|---|---|
| 5 Jul 2026 | 76% (69–82%, n=155) | 175 | – |
| 12 Jul 2026 | 77% (73–80%, n=440) | 495 | – |
| 19 Jul 2026 | 77% (74–79%, n=835) | 940 | – |
| 26 Jul 2026 | 77% (74–79%, n=1,290) | 1,470 | – |
| 2 Aug 2026 | 77% (75–79%, n=1,675) | 1,905 | – |
| 9 Aug 2026 | 76% (74–78%, n=1,920) | 2,185 | – |
| 16 Aug 2026 | 76% (74–78%, n=2,135) | 2,425 | – |
| 23 Aug 2026 | 76% (74–78%, n=2,255) | 2,580 | – |
| 30 Aug 2026 | 76% (74–78%, n=2,365) | 2,715 | – |
| 6 Sept 2026 | 76% (75–78%, n=2,550) | 2,930 | – |
| 13 Sept 2026 | 76% (74–77%, n=2,705) | 3,090 | – |
| 20 Sept 2026 | 76% (74–77%, n=2,920) | 3,310 | – |
| 27 Sept 2026 | 76% (74–77%, n=3,070) | 3,470 | – |
| 4 Oct 2026 | 76% (74–78%, n=2,325) | 3,670 | – |
| 11 Oct 2026 | 76% (75–78%, n=2,420) | 3,860 | – |
| 18 Oct 2026 | 76% (74–77%, n=2,570) | 4,055 | – |
| 25 Oct 2026 | 74% (72–76%, n=2,620) | 4,200 | – |
Weekly projects by preset
Non-overlapping seven-day project counts, grouped by the preset used to start the project.
- default
- sandbox
Stacks projects per UTC week through 30 Oct 2026. Published preset counts only; hidden cells are not zero.
Data table
| Week ending | Preset | Projects |
|---|---|---|
| 5 Jul 2026 | default | 105 |
| 12 Jul 2026 | default | 210 |
| 19 Jul 2026 | default | 310 |
| 26 Jul 2026 | default | 345 |
| 2 Aug 2026 | default | 405 |
| 9 Aug 2026 | default | 390 |
| 16 Aug 2026 | default | 460 |
| 23 Aug 2026 | default | 435 |
| 30 Aug 2026 | default | 510 |
| 6 Sept 2026 | default | 540 |
| 13 Sept 2026 | default | 555 |
| 20 Sept 2026 | default | 570 |
| 27 Sept 2026 | default | 585 |
| 4 Oct 2026 | default | 690 |
| 11 Oct 2026 | default | 700 |
| 18 Oct 2026 | default | 715 |
| 25 Oct 2026 | default | 680 |
| 5 Jul 2026 | sandbox | 75 |
| 12 Jul 2026 | sandbox | 105 |
| 19 Jul 2026 | sandbox | 135 |
| 26 Jul 2026 | sandbox | 185 |
| 2 Aug 2026 | sandbox | 205 |
| 9 Aug 2026 | sandbox | 210 |
| 16 Aug 2026 | sandbox | 230 |
| 23 Aug 2026 | sandbox | 250 |
| 30 Aug 2026 | sandbox | 235 |
| 6 Sept 2026 | sandbox | 270 |
| 13 Sept 2026 | sandbox | 300 |
| 20 Sept 2026 | sandbox | 330 |
| 27 Sept 2026 | sandbox | 320 |
| 4 Oct 2026 | sandbox | 320 |
| 11 Oct 2026 | sandbox | 345 |
| 18 Oct 2026 | sandbox | 385 |
| 25 Oct 2026 | sandbox | 370 |
By preset
Green verify outcomes by the preset chosen at scaffold time.
72%69–74%, n=1,620
80%77–82%, n=850
Stacks projects · 28 days through 30 Oct 2026. Counts rounded to 5.
Data table
| Name | Green rate | Projects |
|---|---|---|
| default | 72% (69–74%, n=1,620) | 2,575 |
| sandbox | 80% (77–82%, n=850) | 1,365 |
By agent
Within this stack, listed alphabetically. These are project outcomes, not an agent ranking.
73%71–75%, n=1,410
76%72–79%, n=600
78%72–83%, n=235
77%66–85%, n=70
71%61–79%, n=105
83%71–91%, n=55
Stacks projects · 28 days through 30 Oct 2026. Counts rounded to 5.
Data table
| Name | Green rate | Projects |
|---|---|---|
| claude | 73% (71–75%, n=1,410) | 2,245 |
| codex | 76% (72–79%, n=600) | 955 |
| cursor | 78% (72–83%, n=235) | 375 |
| none | 77% (66–85%, n=70) | 100 |
| opencode | 71% (61–79%, n=105) | 190 |
| other | 83% (71–91%, n=55) | 85 |
Time to green
Published time summaries on a shared minutes scale. First passing test is a median; 75% reached green by the 75th percentile.
- Verify runs to green
- 1
Stacks projects · 28 days through 30 Oct 2026. Counts rounded to 5.
Data table
| Measure | Time / runs |
|---|---|
| Median to green | 23 minutes |
| 75th percentile | 31 minutes |
| First passing test | 14 minutes |
| Verify runs to green | 1 |
Where it breaks
A run can fail more than one step. Environment failures are shown separately.
Share of failed runs before first green. Environment blocked describes the machine, not the stack.
Data table
| Step | Share |
|---|---|
| test | 22% |
| fmt-check | 6% |
| test-integration | 22% |
| build | 11% |
| api | 6% |
| vet | 6% |
| lint | 13% |
| install | 6% |
| readme-filled | 7% |
| Environment blocked | 0% |
What people change
Defaults people keep, and optional fragments they choose to attach.
Default, kept rate
Optional, attach rate
Share of the window's 3,940 projects. Kept rate is 1 minus the without rate.
Data table
| Fragment | Measure | Share |
|---|---|---|
| agent-ops | Kept | 91% |
| git-hooks | Kept | 92% |
| ci-github | Kept | 91% |
| rest-api | Kept | 91% |
| docker-deploy | Attached | 17% |
| rr | Attached | 18% |
| ce-plugin | Attached | 16% |
By composition 73 fingerprints
Each row is a distinct fragment composition, with its own sample and content history.
| Composition | Green rate | Seen | Change in life |
|---|---|---|---|
| defaults + rr − ci-github − rest-api · 057d0f6a | hidden: too few projects | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + rr − git-hooks − rest-api · 07ef2ccb | hidden: too few projects | 26 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin − git-hooks − rest-api · 0ec1842c | hidden: too few projects | 9 Aug 2026 – 4 Oct 2026 | None |
| defaults + ce-plugin + docker-deploy + rr · 0edf1b72 | hidden: too few projects | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin − ci-github − git-hooks − rest-api · 13b82b07 | hidden: too few projects | 11 Oct 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin + rr · 17a037bc | 75% (62–84%, n=60) | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + docker-deploy + rr − rest-api · 1940a629 | hidden: too few projects | 19 Jul 2026 – 25 Oct 2026 | None |
| defaults − agent-ops − git-hooks · 19b498f0 | hidden: too few projects | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin · 1c327ac6 | 72% (66–77%, n=275) | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + rr − ci-github · 1c76b105 | hidden: too few projects | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + rr · 1cd6a4b7 | 74% (69–78%, n=320) | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults − ci-github − git-hooks · 203e8978 | hidden: too few projects | 12 Jul 2026 – 25 Oct 2026 | None |
| defaults + docker-deploy + rr − git-hooks · 2526c990 | hidden: too few projects | 26 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin + docker-deploy − agent-ops − git-hooks · 2f11248e | hidden: too few projects | 23 Aug 2026 – 11 Oct 2026 | None |
| defaults − agent-ops − rest-api · 327dbe16 | hidden: too few projects | 12 Jul 2026 – 25 Oct 2026 | None |
| defaults + docker-deploy + rr − agent-ops · 33e8ef41 | hidden: too few projects | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults · 372ebd64 | 74% (71–76%, n=1,420) | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin + docker-deploy · 3c0ecab1 | 78% (66–87%, n=55) | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults − agent-ops − git-hooks − rest-api · 3c482027 | hidden: too few projects | 9 Aug 2026 – 25 Oct 2026 | None |
| defaults − ci-github − git-hooks − rest-api · 3d9500e7 | hidden: too few projects | 12 Jul 2026 – 25 Oct 2026 | None |
| defaults − agent-ops − ci-github − git-hooks · 405d396d | hidden: too few projects | 13 Sept 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin + rr − git-hooks · 429014ec | hidden: too few projects | 9 Aug 2026 – 25 Oct 2026 | None |
| defaults + docker-deploy + rr · 4b5ae6be | 80% (68–89%, n=55) | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin + rr − ci-github − git-hooks · 4b99408a | hidden: too few projects | 11 Oct 2026 – 25 Oct 2026 | None |
| defaults + rr − agent-ops · 52906b97 | hidden: too few projects | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin − agent-ops · 5454c108 | hidden: too few projects | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + docker-deploy − ci-github · 55ad6db4 | hidden: too few projects | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + docker-deploy + rr − agent-ops − git-hooks − rest-api · 57497884 | hidden: too few projects | 11 Oct 2026 – 25 Oct 2026 | None |
| defaults + rr − agent-ops − rest-api · 5751bcfa | hidden: too few projects | 26 Jul 2026 – 25 Oct 2026 | None |
| defaults + rr − rest-api · 5c1c8962 | hidden: too few projects | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin + docker-deploy + rr − git-hooks · 63be67bd | hidden: too few projects | 23 Aug 2026 – 25 Oct 2026 | None |
| defaults + docker-deploy + rr − agent-ops − ci-github · 69283ac3 | hidden: too few projects | 18 Oct 2026 – 25 Oct 2026 | None |
| defaults + docker-deploy − agent-ops − rest-api · 7215d2de | hidden: too few projects | 12 Jul 2026 – 25 Oct 2026 | None |
| defaults + rr − agent-ops − git-hooks · 775c9166 | hidden: too few projects | 9 Aug 2026 – 25 Oct 2026 | None |
| defaults + rr − git-hooks · 78515f6e | hidden: too few projects | 19 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin − git-hooks · 7c0d8f83 | hidden: too few projects | 12 Jul 2026 – 25 Oct 2026 | None |
| defaults + docker-deploy − rest-api · 7eed48c7 | hidden: too few projects | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults − agent-ops · 7f917a4f | hidden: too few projects | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin − agent-ops − git-hooks · 8822a7a1 | hidden: too few projects | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin + docker-deploy − rest-api · 888c065c | hidden: too few projects | 12 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin − rest-api · 8f01cf26 | hidden: too few projects | 12 Jul 2026 – 25 Oct 2026 | None |
| defaults + docker-deploy − agent-ops − ci-github − git-hooks · 8fc960d3 | hidden: too few projects | 30 Oct 2026 – 30 Oct 2026 | None |
| defaults + ce-plugin + docker-deploy − ci-github · 934c85e3 | hidden: too few projects | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + docker-deploy + rr − ci-github · 999b2157 | hidden: too few projects | 19 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin + rr − rest-api · 9d09ffe3 | hidden: too few projects | 19 Jul 2026 – 25 Oct 2026 | None |
| defaults − ci-github · ab14763c | hidden: too few projects | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + docker-deploy · acface87 | 78% (73–82%, n=270) | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin − agent-ops − rest-api · ba7ea526 | hidden: too few projects | 26 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin + docker-deploy + rr − rest-api · bc0b3a7f | hidden: too few projects | 12 Jul 2026 – 25 Oct 2026 | None |
| defaults + rr − agent-ops − ci-github · bca5994e | hidden: too few projects | 2 Aug 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin + docker-deploy − git-hooks − rest-api · bf50c7c1 | hidden: too few projects | 26 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin + rr − agent-ops · c1795cd1 | hidden: too few projects | 19 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin + docker-deploy − agent-ops · cbda99fb | hidden: too few projects | 19 Jul 2026 – 25 Oct 2026 | None |
| defaults + rr − ci-github − git-hooks · ccd1bf15 | hidden: too few projects | 2 Aug 2026 – 25 Oct 2026 | None |
| defaults + docker-deploy − agent-ops · cf5f72d8 | hidden: too few projects | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin − ci-github − rest-api · d05d2d31 | hidden: too few projects | 19 Jul 2026 – 25 Oct 2026 | None |
| defaults − git-hooks − rest-api · d442131e | hidden: too few projects | 26 Jul 2026 – 25 Oct 2026 | None |
| defaults − git-hooks · d6a38335 | hidden: too few projects | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin + docker-deploy + rr − agent-ops · d8939f04 | hidden: too few projects | 19 Jul 2026 – 25 Oct 2026 | None |
| defaults + docker-deploy − ci-github − rest-api · d8e73bdf | hidden: too few projects | 12 Jul 2026 – 25 Oct 2026 | None |
| defaults + docker-deploy − ci-github − git-hooks · dae12f50 | hidden: too few projects | 9 Aug 2026 – 25 Oct 2026 | None |
| defaults − ci-github − rest-api · db4319ed | hidden: too few projects | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin − ci-github − git-hooks · dc6e9daf | hidden: too few projects | 9 Aug 2026 – 25 Oct 2026 | None |
| defaults + docker-deploy − git-hooks − rest-api · e0b2fe11 | hidden: too few projects | 16 Aug 2026 – 25 Oct 2026 | None |
| defaults − agent-ops − ci-github · e2786e08 | hidden: too few projects | 19 Jul 2026 – 25 Oct 2026 | None |
| defaults + docker-deploy − git-hooks · e7d8a6aa | hidden: too few projects | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + docker-deploy − agent-ops − ci-github · eb37cab9 | hidden: too few projects | 2 Aug 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin + rr − ci-github · ee23a26d | hidden: too few projects | 12 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin − ci-github · ee74ec82 | hidden: too few projects | 5 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin + docker-deploy − git-hooks · efd8f2ca | hidden: too few projects | 12 Jul 2026 – 25 Oct 2026 | None |
| defaults + ce-plugin − agent-ops − ci-github · f13b3c54 | hidden: too few projects | 19 Jul 2026 – 25 Oct 2026 | None |
| defaults + docker-deploy − agent-ops − git-hooks · f77ce5fa | hidden: too few projects | 13 Sept 2026 – 25 Oct 2026 | None |
| defaults − rest-api · fe97d183 | hidden: too few projects | 5 Jul 2026 – 25 Oct 2026 | None |
Dependencies in use
Major versions reported by this stack's projects in the 28-day window. Declared dependencies remain listed above.
This compares projects; it isn't an effect of the dependency.
Computed 31 Oct 2026, through 30 Oct 2026. Numbers describe stacks projects, not the ecosystem.