Skip to content
stacks

Spring Boot REST API (Java)

A Java JSON API on Spring Boot with Spring MVC and Actuator, built with Maven and make. One error envelope for every failure, validated settings, request ids and structured JSON logs, Error Prone and NullAway at compile time, and tests through Spring's MockMvc and a real server.

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, lint, compile, test, test-integration, build, api, 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 spring-boot-api stack for this project. 1. Run npx @steamfield/stacks show spring-boot-api --json and check that it fits the project. If it does not, explain why before changing files. 2. Run npx @steamfield/stacks new spring-boot-api 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 spring-boot-api stack for a quick local experiment. 1. Run npx @steamfield/stacks show spring-boot-api --json and check that it fits the project. If it does not, explain why before changing files. 2. Run npx @steamfield/stacks new spring-boot-api --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 spring-boot-api
npx @steamfield/stacks new spring-boot-api --sandbox
Verify steps
StepPhaseLayerCommand
installsetupinstallmake install
fmt-checkchecklintmake fmt-check
lintchecklintmake lint
compilechecktypecheckmake compile
testchecktestmake coverage
test-integrationchecktestmake test-integration
buildcheckbuildmake build
apiserveservemake 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 rate30 Aug 2026: 77% (57–90%, n=20)6 Sept 2026: 78% (59–89%, n=25)13 Sept 2026: 79% (60–91%, n=25)20 Sept 2026: 83% (65–92%, n=30)27 Sept 2026: 76% (57–89%, n=25)11 Oct 2026: 77% (59–88%, n=30)18 Oct 2026: 71% (55–84%, n=35)25 Oct 2026: 76% (61–86%, n=40)1 Nov 2026: 73% (57–85%, n=35)
Jul 1Oct 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate30 Aug 2026: 77% (57–90%, n=20)6 Sept 2026: 78% (59–89%, n=25)13 Sept 2026: 79% (60–91%, n=25)20 Sept 2026: 83% (65–92%, n=30)27 Sept 2026: 76% (57–89%, n=25)11 Oct 2026: 77% (59–88%, n=30)18 Oct 2026: 71% (55–84%, n=35)25 Oct 2026: 76% (61–86%, n=40)1 Nov 2026: 73% (57–85%, n=35)
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate30 Aug 2026: 77% (57–90%, n=20)6 Sept 2026: 78% (59–89%, n=25)13 Sept 2026: 79% (60–91%, n=25)20 Sept 2026: 83% (65–92%, n=30)27 Sept 2026: 76% (57–89%, n=25)11 Oct 2026: 77% (59–88%, n=30)18 Oct 2026: 71% (55–84%, n=35)25 Oct 2026: 76% (61–86%, n=40)1 Nov 2026: 73% (57–85%, n=35)
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate30 Aug 2026: 77% (57–90%, n=20)6 Sept 2026: 78% (59–89%, n=25)13 Sept 2026: 79% (60–91%, n=25)20 Sept 2026: 83% (65–92%, n=30)27 Sept 2026: 76% (57–89%, n=25)11 Oct 2026: 77% (59–88%, n=30)18 Oct 2026: 71% (55–84%, n=35)25 Oct 2026: 76% (61–86%, n=40)1 Nov 2026: 73% (57–85%, n=35)
Jul 1Oct 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate30 Aug 2026: 77% (57–90%, n=20)6 Sept 2026: 78% (59–89%, n=25)13 Sept 2026: 79% (60–91%, n=25)20 Sept 2026: 83% (65–92%, n=30)27 Sept 2026: 76% (57–89%, n=25)11 Oct 2026: 77% (59–88%, n=30)18 Oct 2026: 71% (55–84%, n=35)25 Oct 2026: 76% (61–86%, n=40)1 Nov 2026: 73% (57–85%, n=35)
Jul 1Oct 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate30 Aug 2026: 77% (57–90%, n=20)6 Sept 2026: 78% (59–89%, n=25)13 Sept 2026: 79% (60–91%, n=25)20 Sept 2026: 83% (65–92%, n=30)27 Sept 2026: 76% (57–89%, n=25)11 Oct 2026: 77% (59–88%, n=30)18 Oct 2026: 71% (55–84%, n=35)25 Oct 2026: 76% (61–86%, n=40)1 Nov 2026: 73% (57–85%, n=35)
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate30 Aug 2026: 77% (57–90%, n=20)6 Sept 2026: 78% (59–89%, n=25)13 Sept 2026: 79% (60–91%, n=25)20 Sept 2026: 83% (65–92%, n=30)27 Sept 2026: 76% (57–89%, n=25)11 Oct 2026: 77% (59–88%, n=30)18 Oct 2026: 71% (55–84%, n=35)25 Oct 2026: 76% (61–86%, n=40)1 Nov 2026: 73% (57–85%, n=35)
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate30 Aug 2026: 77% (57–90%, n=20)6 Sept 2026: 78% (59–89%, n=25)13 Sept 2026: 79% (60–91%, n=25)20 Sept 2026: 83% (65–92%, n=30)27 Sept 2026: 76% (57–89%, n=25)11 Oct 2026: 77% (59–88%, n=30)18 Oct 2026: 71% (55–84%, n=35)25 Oct 2026: 76% (61–86%, n=40)1 Nov 2026: 73% (57–85%, n=35)

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 projects5–
26 Jul 2026hidden: too few projects10–
2 Aug 2026hidden: too few projects20–
9 Aug 2026hidden: too few projects25–
16 Aug 2026hidden: too few projects30–
23 Aug 2026hidden: too few projects35–
30 Aug 202677% (57–90%, n=20)40–
6 Sept 202678% (59–89%, n=25)40–
13 Sept 202679% (60–91%, n=25)40–
20 Sept 202683% (65–92%, n=30)40–
27 Sept 202676% (57–89%, n=25)40–
4 Oct 2026hidden: too few projects40–
11 Oct 202677% (59–88%, n=30)45–
18 Oct 202671% (55–84%, n=35)50–
25 Oct 202676% (61–86%, n=40)60–
1 Nov 202673% (57–85%, n=35)60–

Weekly projects by preset

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

Jul 1Oct 105101520default · 26 Jul 2026: 5default · 2 Aug 2026: 5default · 9 Aug 2026: 5default · 16 Aug 2026: 5default · 23 Aug 2026: 10default · 30 Aug 2026: 10sandbox · 30 Aug 2026: 5default · 6 Sept 2026: 5default · 13 Sept 2026: 5default · 20 Sept 2026: 10default · 27 Sept 2026: 10default · 4 Oct 2026: 5default · 11 Oct 2026: 10default · 18 Oct 2026: 10sandbox · 18 Oct 2026: 10default · 25 Oct 2026: 10sandbox · 25 Oct 2026: 5default · 1 Nov 2026: 10sandbox · 1 Nov 2026: 5
Jul 1Oct 105101520default · 26 Jul 2026: 5default · 2 Aug 2026: 5default · 9 Aug 2026: 5default · 16 Aug 2026: 5default · 23 Aug 2026: 10default · 30 Aug 2026: 10sandbox · 30 Aug 2026: 5default · 6 Sept 2026: 5default · 13 Sept 2026: 5default · 20 Sept 2026: 10default · 27 Sept 2026: 10default · 4 Oct 2026: 5default · 11 Oct 2026: 10default · 18 Oct 2026: 10sandbox · 18 Oct 2026: 10default · 25 Oct 2026: 10sandbox · 25 Oct 2026: 5default · 1 Nov 2026: 10sandbox · 1 Nov 2026: 5
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 105101520default · 26 Jul 2026: 5default · 2 Aug 2026: 5default · 9 Aug 2026: 5default · 16 Aug 2026: 5default · 23 Aug 2026: 10default · 30 Aug 2026: 10sandbox · 30 Aug 2026: 5default · 6 Sept 2026: 5default · 13 Sept 2026: 5default · 20 Sept 2026: 10default · 27 Sept 2026: 10default · 4 Oct 2026: 5default · 11 Oct 2026: 10default · 18 Oct 2026: 10sandbox · 18 Oct 2026: 10default · 25 Oct 2026: 10sandbox · 25 Oct 2026: 5default · 1 Nov 2026: 10sandbox · 1 Nov 2026: 5
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 105101520default · 26 Jul 2026: 5default · 2 Aug 2026: 5default · 9 Aug 2026: 5default · 16 Aug 2026: 5default · 23 Aug 2026: 10default · 30 Aug 2026: 10sandbox · 30 Aug 2026: 5default · 6 Sept 2026: 5default · 13 Sept 2026: 5default · 20 Sept 2026: 10default · 27 Sept 2026: 10default · 4 Oct 2026: 5default · 11 Oct 2026: 10default · 18 Oct 2026: 10sandbox · 18 Oct 2026: 10default · 25 Oct 2026: 10sandbox · 25 Oct 2026: 5default · 1 Nov 2026: 10sandbox · 1 Nov 2026: 5
Jul 1Oct 105101520default · 26 Jul 2026: 5default · 2 Aug 2026: 5default · 9 Aug 2026: 5default · 16 Aug 2026: 5default · 23 Aug 2026: 10default · 30 Aug 2026: 10sandbox · 30 Aug 2026: 5default · 6 Sept 2026: 5default · 13 Sept 2026: 5default · 20 Sept 2026: 10default · 27 Sept 2026: 10default · 4 Oct 2026: 5default · 11 Oct 2026: 10default · 18 Oct 2026: 10sandbox · 18 Oct 2026: 10default · 25 Oct 2026: 10sandbox · 25 Oct 2026: 5default · 1 Nov 2026: 10sandbox · 1 Nov 2026: 5
Jul 1Oct 105101520default · 26 Jul 2026: 5default · 2 Aug 2026: 5default · 9 Aug 2026: 5default · 16 Aug 2026: 5default · 23 Aug 2026: 10default · 30 Aug 2026: 10sandbox · 30 Aug 2026: 5default · 6 Sept 2026: 5default · 13 Sept 2026: 5default · 20 Sept 2026: 10default · 27 Sept 2026: 10default · 4 Oct 2026: 5default · 11 Oct 2026: 10default · 18 Oct 2026: 10sandbox · 18 Oct 2026: 10default · 25 Oct 2026: 10sandbox · 25 Oct 2026: 5default · 1 Nov 2026: 10sandbox · 1 Nov 2026: 5
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 105101520default · 26 Jul 2026: 5default · 2 Aug 2026: 5default · 9 Aug 2026: 5default · 16 Aug 2026: 5default · 23 Aug 2026: 10default · 30 Aug 2026: 10sandbox · 30 Aug 2026: 5default · 6 Sept 2026: 5default · 13 Sept 2026: 5default · 20 Sept 2026: 10default · 27 Sept 2026: 10default · 4 Oct 2026: 5default · 11 Oct 2026: 10default · 18 Oct 2026: 10sandbox · 18 Oct 2026: 10default · 25 Oct 2026: 10sandbox · 25 Oct 2026: 5default · 1 Nov 2026: 10sandbox · 1 Nov 2026: 5
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 105101520default · 26 Jul 2026: 5default · 2 Aug 2026: 5default · 9 Aug 2026: 5default · 16 Aug 2026: 5default · 23 Aug 2026: 10default · 30 Aug 2026: 10sandbox · 30 Aug 2026: 5default · 6 Sept 2026: 5default · 13 Sept 2026: 5default · 20 Sept 2026: 10default · 27 Sept 2026: 10default · 4 Oct 2026: 5default · 11 Oct 2026: 10default · 18 Oct 2026: 10sandbox · 18 Oct 2026: 10default · 25 Oct 2026: 10sandbox · 25 Oct 2026: 5default · 1 Nov 2026: 10sandbox · 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 2026default5
2 Aug 2026default5
9 Aug 2026default5
16 Aug 2026default5
23 Aug 2026default10
30 Aug 2026default10
6 Sept 2026default5
13 Sept 2026default5
20 Sept 2026default10
27 Sept 2026default10
4 Oct 2026default5
11 Oct 2026default10
18 Oct 2026default10
25 Oct 2026default10
1 Nov 2026default10
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 2026sandbox5
6 Sept 2026sandbox–
13 Sept 2026sandbox–
20 Sept 2026sandbox–
27 Sept 2026sandbox–
4 Oct 2026sandbox–
11 Oct 2026sandbox–
18 Oct 2026sandbox10
25 Oct 2026sandbox5
1 Nov 2026sandbox5

By preset

Green verify outcomes by the preset chosen at scaffold time.

default

73%52–87%, n=20

sandboxhidden: too few projects

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

Data table
NameGreen rateProjects
default73% (52–87%, n=20)40
sandboxhidden: too few projects20

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: 25 minutes75th percentile: 31 minutes15 min25 min31 min
0102030MinutesFirst passing testMedian to green75th percentileFirst passing test: 15 minutesMedian to green: 25 minutes75th percentile: 31 minutes15 min25 min31 min
0102030MinutesFirst passing testMedian to green75th percentileFirst passing test: 15 minutesMedian to green: 25 minutes75th percentile: 31 minutes15 min25 min31 min
0102030MinutesFirst passing testMedian to green75th percentileFirst passing test: 15 minutesMedian to green: 25 minutes75th percentile: 31 minutes15 min25 min31 min
02030MinutesFirst passing testMedian to green75th percentileFirst passing test: 15 minutesMedian to green: 25 minutes75th percentile: 31 minutes15 min25 min31 min
0102030MinutesFirst passing testMedian to green75th percentileFirst passing test: 15 minutesMedian to green: 25 minutes75th percentile: 31 minutes15 min25 min31 min
0102030MinutesFirst passing testMedian to green75th percentileFirst passing test: 15 minutesMedian to green: 25 minutes75th percentile: 31 minutes15 min25 min31 min
0102030MinutesFirst passing testMedian to green75th percentileFirst passing test: 15 minutesMedian to green: 25 minutes75th percentile: 31 minutes15 min25 min31 min
Verify runs to green
1

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

Data table
MeasureTime / runs
Median to green25 minutes
75th percentile31 minutes
First passing test15 minutes
Verify runs to green1

Where it breaks

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

test-integration28%
test23%
lint18%
build13%
install10%
fmt-check8%
api3%
Environment blocked0%

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

Data table
StepShare
lint18%
test23%
build13%
install10%
test-integration28%
fmt-check8%
api3%
Environment blocked0%

What people change

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

Default, kept rate

agent-ops92%
git-hooks92%
ci-githubhidden: too few projects
rest-apihidden: too few projects

Optional, attach rate

rr12%
ce-plugin12%

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

Data table
FragmentMeasureShare
agent-opsKept92%
git-hooksKept92%
ci-githubKept–
rest-apiKept–
rrAttached12%
ce-pluginAttached12%
By composition 12 fingerprints

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

CompositionGreen rateSeenChange in life
defaults + rr − rest-api · 1720d86bhidden: too few projects11 Oct 2026 – 1 Nov 2026None
defaults + ce-plugin · 27a0fe68hidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults + rr − agent-ops · 2db321c6hidden: too few projects23 Aug 2026 – 1 Nov 2026None
defaults − ci-github · 435520b5hidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults + rr · 6698442ahidden: too few projects19 Jul 2026 – 1 Nov 2026None
defaults − agent-ops − git-hooks · 79165d65hidden: too few projects23 Aug 2026 – 1 Nov 2026None
defaults − rest-api · 8d29d388hidden: too few projects19 Jul 2026 – 1 Nov 2026None
defaults − agent-ops · a2264423hidden: too few projects16 Aug 2026 – 1 Nov 2026None
defaults + ce-plugin − rest-api · d6b53f62hidden: too few projects20 Sept 2026 – 1 Nov 2026None
defaults − git-hooks · d8c87907hidden: too few projects26 Jul 2026 – 1 Nov 2026None
defaults + ce-plugin + rr · ed66a6eahidden: too few projects25 Oct 2026 – 1 Nov 2026None
defaults · ffc1465c71% (53–85%, n=30)26 Jul 2026 – 1 Nov 2026None

Computed 5 Nov 2026, through 4 Nov 2026. Numbers describe stacks projects, not the ecosystem.