Skip to content
stacks

Go web app (templ + htmx)

A server-rendered Go web app on the standard library, with type-checked templ components and htmx for partial page updates without a JavaScript build. Forms validate on the server and re-render with inline errors, and tests assert the rendered HTML.

What done means

Your agent follows the brief, then runs stacks verify without weakening or skipping checks. What happens next

Declared steps: install, generate-check, templ-fmt, htmx-vendored, fmt-check, vet, lint, build, tidy, test, test-integration, web, readme-filled. View commands

Use this stack

Paste the prompt into the coding agent working on your project.

Project intent

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
Use the go-htmx stack for this project. 1. Run npx @steamfield/stacks show go-htmx --json and check that it fits the project. If it does not, explain why before changing files. 2. Run npx @steamfield/stacks new go-htmx and follow the brief it prints. 3. From the generated project directory, run npx @steamfield/stacks verify. Fix failures without weakening or skipping verification steps. 4. Summarize what changed and the verification result. Quote published stats only when they are available, including their interval and sample size. The stacks docs, written for agents, are at https://stacks.steamfield.io/llms.txt.
Use the go-htmx stack for a quick local experiment. 1. Run npx @steamfield/stacks show go-htmx --json and check that it fits the project. If it does not, explain why before changing files. 2. Run npx @steamfield/stacks new go-htmx --sandbox and follow the brief it prints. 3. From the generated project directory, run npx @steamfield/stacks verify. Fix failures without weakening or skipping verification steps. 4. Summarize what changed and the verification result. Quote published stats only when they are available, including their interval and sample size. The stacks docs, written for agents, are at https://stacks.steamfield.io/llms.txt.
Or use the terminal
npx @steamfield/stacks new go-htmx
npx @steamfield/stacks new go-htmx --sandbox
Verify steps
StepPhaseLayerCommand
installsetupinstallmake install
generate-checkcheckcheckmake generate-check
templ-fmtchecklintmake templ-fmt-check
htmx-vendoredcheckcheckmake htmx-check
fmt-checkchecklintmake fmt-check
vetchecktypecheckmake vet
lintchecklintmake lint
buildcheckbuildmake build
tidycheckcheckmake tidy-check
testchecktestmake test
test-integrationchecktestmake test-integration
webserveservemake serve
readme-filledcheckchecktest -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.

Jul 1Oct 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate13 Sept 2026: 65% (43–82%, n=20)20 Sept 2026: 65% (43–82%, n=20)27 Sept 2026: 71% (51–85%, n=25)4 Oct 2026: 78% (58–90%, n=25)18 Oct 2026: 82% (64–92%, n=30)25 Oct 2026: 76% (58–88%, n=30)1 Nov 2026: 73% (54–86%, n=25)
Jul 1Oct 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate13 Sept 2026: 65% (43–82%, n=20)20 Sept 2026: 65% (43–82%, n=20)27 Sept 2026: 71% (51–85%, n=25)4 Oct 2026: 78% (58–90%, n=25)18 Oct 2026: 82% (64–92%, n=30)25 Oct 2026: 76% (58–88%, n=30)1 Nov 2026: 73% (54–86%, n=25)
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate13 Sept 2026: 65% (43–82%, n=20)20 Sept 2026: 65% (43–82%, n=20)27 Sept 2026: 71% (51–85%, n=25)4 Oct 2026: 78% (58–90%, n=25)18 Oct 2026: 82% (64–92%, n=30)25 Oct 2026: 76% (58–88%, n=30)1 Nov 2026: 73% (54–86%, n=25)
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate13 Sept 2026: 65% (43–82%, n=20)20 Sept 2026: 65% (43–82%, n=20)27 Sept 2026: 71% (51–85%, n=25)4 Oct 2026: 78% (58–90%, n=25)18 Oct 2026: 82% (64–92%, n=30)25 Oct 2026: 76% (58–88%, n=30)1 Nov 2026: 73% (54–86%, n=25)
Jul 1Oct 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate13 Sept 2026: 65% (43–82%, n=20)20 Sept 2026: 65% (43–82%, n=20)27 Sept 2026: 71% (51–85%, n=25)4 Oct 2026: 78% (58–90%, n=25)18 Oct 2026: 82% (64–92%, n=30)25 Oct 2026: 76% (58–88%, n=30)1 Nov 2026: 73% (54–86%, n=25)
Jul 1Oct 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate13 Sept 2026: 65% (43–82%, n=20)20 Sept 2026: 65% (43–82%, n=20)27 Sept 2026: 71% (51–85%, n=25)4 Oct 2026: 78% (58–90%, n=25)18 Oct 2026: 82% (64–92%, n=30)25 Oct 2026: 76% (58–88%, n=30)1 Nov 2026: 73% (54–86%, n=25)
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate13 Sept 2026: 65% (43–82%, n=20)20 Sept 2026: 65% (43–82%, n=20)27 Sept 2026: 71% (51–85%, n=25)4 Oct 2026: 78% (58–90%, n=25)18 Oct 2026: 82% (64–92%, n=30)25 Oct 2026: 76% (58–88%, n=30)1 Nov 2026: 73% (54–86%, n=25)
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate13 Sept 2026: 65% (43–82%, n=20)20 Sept 2026: 65% (43–82%, n=20)27 Sept 2026: 71% (51–85%, n=25)4 Oct 2026: 78% (58–90%, n=25)18 Oct 2026: 82% (64–92%, n=30)25 Oct 2026: 76% (58–88%, n=30)1 Nov 2026: 73% (54–86%, n=25)

Shaded band: 95% Wilson interval. Dashed rules: content changes. Missing observations remain gaps.

Stacks projects · 28 days through 4 Nov 2026. Counts rounded to 5.

Data table
ThroughGreen rateProjectsContent change
5 Jul 2026hidden: too few projects––
12 Jul 2026hidden: too few projects––
19 Jul 2026hidden: too few projects––
26 Jul 2026hidden: too few projects10–
2 Aug 2026hidden: too few projects15–
9 Aug 2026hidden: too few projects20–
16 Aug 2026hidden: too few projects15–
23 Aug 2026hidden: too few projects25–
30 Aug 2026hidden: too few projects20–
6 Sept 2026hidden: too few projects25–
13 Sept 202665% (43–82%, n=20)30–
20 Sept 202665% (43–82%, n=20)30–
27 Sept 202671% (51–85%, n=25)35–
4 Oct 202678% (58–90%, n=25)35–
11 Oct 2026hidden: too few projects40–
18 Oct 202682% (64–92%, n=30)40–
25 Oct 202676% (58–88%, n=30)35–
1 Nov 202673% (54–86%, n=25)35–

Weekly projects by preset

Non-overlapping seven-day project counts, grouped by the preset used to start the project.

Jul 1Oct 10246810default · 2 Aug 2026: 5default · 23 Aug 2026: 5sandbox · 6 Sept 2026: 5sandbox · 20 Sept 2026: 5default · 27 Sept 2026: 5default · 4 Oct 2026: 10default · 11 Oct 2026: 5sandbox · 11 Oct 2026: 5sandbox · 18 Oct 2026: 5default · 25 Oct 2026: 5default · 1 Nov 2026: 5
Jul 1Oct 10246810default · 2 Aug 2026: 5default · 23 Aug 2026: 5sandbox · 6 Sept 2026: 5sandbox · 20 Sept 2026: 5default · 27 Sept 2026: 5default · 4 Oct 2026: 10default · 11 Oct 2026: 5sandbox · 11 Oct 2026: 5sandbox · 18 Oct 2026: 5default · 25 Oct 2026: 5default · 1 Nov 2026: 5
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 10246810default · 2 Aug 2026: 5default · 23 Aug 2026: 5sandbox · 6 Sept 2026: 5sandbox · 20 Sept 2026: 5default · 27 Sept 2026: 5default · 4 Oct 2026: 10default · 11 Oct 2026: 5sandbox · 11 Oct 2026: 5sandbox · 18 Oct 2026: 5default · 25 Oct 2026: 5default · 1 Nov 2026: 5
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 10246810default · 2 Aug 2026: 5default · 23 Aug 2026: 5sandbox · 6 Sept 2026: 5sandbox · 20 Sept 2026: 5default · 27 Sept 2026: 5default · 4 Oct 2026: 10default · 11 Oct 2026: 5sandbox · 11 Oct 2026: 5sandbox · 18 Oct 2026: 5default · 25 Oct 2026: 5default · 1 Nov 2026: 5
Jul 1Oct 10246810default · 2 Aug 2026: 5default · 23 Aug 2026: 5sandbox · 6 Sept 2026: 5sandbox · 20 Sept 2026: 5default · 27 Sept 2026: 5default · 4 Oct 2026: 10default · 11 Oct 2026: 5sandbox · 11 Oct 2026: 5sandbox · 18 Oct 2026: 5default · 25 Oct 2026: 5default · 1 Nov 2026: 5
Jul 1Oct 10246810default · 2 Aug 2026: 5default · 23 Aug 2026: 5sandbox · 6 Sept 2026: 5sandbox · 20 Sept 2026: 5default · 27 Sept 2026: 5default · 4 Oct 2026: 10default · 11 Oct 2026: 5sandbox · 11 Oct 2026: 5sandbox · 18 Oct 2026: 5default · 25 Oct 2026: 5default · 1 Nov 2026: 5
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 10246810default · 2 Aug 2026: 5default · 23 Aug 2026: 5sandbox · 6 Sept 2026: 5sandbox · 20 Sept 2026: 5default · 27 Sept 2026: 5default · 4 Oct 2026: 10default · 11 Oct 2026: 5sandbox · 11 Oct 2026: 5sandbox · 18 Oct 2026: 5default · 25 Oct 2026: 5default · 1 Nov 2026: 5
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 10246810default · 2 Aug 2026: 5default · 23 Aug 2026: 5sandbox · 6 Sept 2026: 5sandbox · 20 Sept 2026: 5default · 27 Sept 2026: 5default · 4 Oct 2026: 10default · 11 Oct 2026: 5sandbox · 11 Oct 2026: 5sandbox · 18 Oct 2026: 5default · 25 Oct 2026: 5default · 1 Nov 2026: 5
  • default
  • sandbox

Stacks projects per UTC week through 4 Nov 2026. Published preset counts only; hidden cells are not zero.

Data table
Week endingPresetProjects
5 Jul 2026default–
12 Jul 2026default–
19 Jul 2026default–
26 Jul 2026default–
2 Aug 2026default5
9 Aug 2026default–
16 Aug 2026default–
23 Aug 2026default5
30 Aug 2026default–
6 Sept 2026default–
13 Sept 2026default–
20 Sept 2026default–
27 Sept 2026default5
4 Oct 2026default10
11 Oct 2026default5
18 Oct 2026default–
25 Oct 2026default5
1 Nov 2026default5
5 Jul 2026sandbox–
12 Jul 2026sandbox–
19 Jul 2026sandbox–
26 Jul 2026sandbox–
2 Aug 2026sandbox–
9 Aug 2026sandbox–
16 Aug 2026sandbox–
23 Aug 2026sandbox–
30 Aug 2026sandbox–
6 Sept 2026sandbox5
13 Sept 2026sandbox–
20 Sept 2026sandbox5
27 Sept 2026sandbox–
4 Oct 2026sandbox–
11 Oct 2026sandbox5
18 Oct 2026sandbox5
25 Oct 2026sandbox–
1 Nov 2026sandbox–

By preset

Green verify outcomes by the preset chosen at scaffold time.

Not enough runs in this breakdown yet.

Stacks projects · 28 days through 4 Nov 2026. Counts rounded to 5.

By agent

Within this stack, listed alphabetically. These are project outcomes, not an agent ranking.

Not enough runs in this breakdown yet.

Stacks projects · 28 days through 4 Nov 2026. Counts rounded to 5.

Time to green

Published time summaries on a shared minutes scale. First passing test is a median; 75% reached green by the 75th percentile.

02030MinutesFirst passing testMedian to green75th percentileFirst passing test: 15 minutesMedian to green: 26 minutes75th percentile: 34 minutes15 min26 min34 min
0102030MinutesFirst passing testMedian to green75th percentileFirst passing test: 15 minutesMedian to green: 26 minutes75th percentile: 34 minutes15 min26 min34 min
0102030MinutesFirst passing testMedian to green75th percentileFirst passing test: 15 minutesMedian to green: 26 minutes75th percentile: 34 minutes15 min26 min34 min
0102030MinutesFirst passing testMedian to green75th percentileFirst passing test: 15 minutesMedian to green: 26 minutes75th percentile: 34 minutes15 min26 min34 min
02030MinutesFirst passing testMedian to green75th percentileFirst passing test: 15 minutesMedian to green: 26 minutes75th percentile: 34 minutes15 min26 min34 min
0102030MinutesFirst passing testMedian to green75th percentileFirst passing test: 15 minutesMedian to green: 26 minutes75th percentile: 34 minutes15 min26 min34 min
0102030MinutesFirst passing testMedian to green75th percentileFirst passing test: 15 minutesMedian to green: 26 minutes75th percentile: 34 minutes15 min26 min34 min
0102030MinutesFirst passing testMedian to green75th percentileFirst passing test: 15 minutesMedian to green: 26 minutes75th percentile: 34 minutes15 min26 min34 min
Verify runs to green
2

Stacks projects · 28 days through 4 Nov 2026. Counts rounded to 5.

Data table
MeasureTime / runs
Median to green26 minutes
75th percentile34 minutes
First passing test15 minutes
Verify runs to green2

Where it breaks

A run can fail more than one step. Environment failures are shown separately.

test-integration25%
build21%
vet21%
test13%
tidy8%
web4%
lint4%
fmt-check4%
Environment blocked0%

Share of failed runs before first green. Environment blocked describes the machine, not the stack.

Data table
StepShare
test-integration25%
web4%
tidy8%
test13%
build21%
vet21%
lint4%
fmt-check4%
Environment blocked0%

What people change

Defaults people keep, and optional fragments they choose to attach.

Default, kept rate

agent-opshidden: too few projects
git-hookshidden: too few projects
ci-githubhidden: too few projects

Optional, attach rate

rr23%
ce-plugin23%

Share of the window's 30 projects. Kept rate is 1 minus the without rate.

Data table
FragmentMeasureShare
agent-opsKept–
git-hooksKept–
ci-githubKept–
rrAttached23%
ce-pluginAttached23%
By composition 9 fingerprints

Each row is a distinct fragment composition, with its own sample and content history.

CompositionGreen rateSeenChange in life
defaults + ce-plugin + rr − git-hooks · 0a306a64hidden: too few projects23 Aug 2026 – 13 Sept 2026None
defaults − git-hooks · 0eaaba3dhidden: too few projects19 Jul 2026 – 1 Nov 2026None
defaults − agent-ops − ci-github · 1e9ae535hidden: too few projects1 Nov 2026 – 1 Nov 2026None
defaults + ce-plugin · 44e48380hidden: too few projects2 Aug 2026 – 1 Nov 2026None
defaults · 699f6473hidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults + rr · 99e38844hidden: too few projects9 Aug 2026 – 1 Nov 2026None
defaults − agent-ops · a2834676hidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults − ci-github · cf38f2d5hidden: too few projects30 Aug 2026 – 1 Nov 2026None
defaults + ce-plugin + rr · e43ee2d6hidden: too few projects11 Oct 2026 – 1 Nov 2026None

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 5 Nov 2026, through 4 Nov 2026. Numbers describe stacks projects, not the ecosystem.