Skip to content
stacks

Java CLI (picocli)

A Java command-line tool on picocli, built with Maven and make into one runnable jar. Layered TOML config (file, env, flags), one error table mapped to exit codes, text or JSON output, Logback logs to stderr, Error Prone and NullAway, and tests that run the packaged jar.

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, smoke, 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 java-cli stack for this project. 1. Run npx @steamfield/stacks show java-cli --json and check that it fits the project. If it does not, explain why before changing files. 2. Run npx @steamfield/stacks new java-cli 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 java-cli stack for a quick local experiment. 1. Run npx @steamfield/stacks show java-cli --json and check that it fits the project. If it does not, explain why before changing files. 2. Run npx @steamfield/stacks new java-cli --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 java-cli
npx @steamfield/stacks new java-cli --sandbox
Verify steps
StepPhaseLayerCommand
installsetupinstallmake install
fmt-checkchecklintmake fmt-check
lintchecklintmake lint
compilechecktypecheckmake compile
testchecktestmake coverage
test-integrationchecktestmake test-integration
buildcheckbuildmake build
smokechecktestmake smoke
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 rate25 Oct 2026: 79% (60–91%, n=25)1 Nov 2026: 76% (58–88%, n=30)
Jul 1Oct 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate25 Oct 2026: 79% (60–91%, n=25)1 Nov 2026: 76% (58–88%, n=30)
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate25 Oct 2026: 79% (60–91%, n=25)1 Nov 2026: 76% (58–88%, n=30)
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate25 Oct 2026: 79% (60–91%, n=25)1 Nov 2026: 76% (58–88%, n=30)
Jul 1Oct 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate25 Oct 2026: 79% (60–91%, n=25)1 Nov 2026: 76% (58–88%, n=30)
Jul 1Oct 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate25 Oct 2026: 79% (60–91%, n=25)1 Nov 2026: 76% (58–88%, n=30)
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate25 Oct 2026: 79% (60–91%, n=25)1 Nov 2026: 76% (58–88%, n=30)
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 10%50%100%95% Wilson interval95% Wilson intervalPublished 28-day green rate25 Oct 2026: 79% (60–91%, n=25)1 Nov 2026: 76% (58–88%, n=30)

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 projects5–
19 Jul 2026hidden: too few projects10–
26 Jul 2026hidden: too few projects15–
2 Aug 2026hidden: too few projects20–
9 Aug 2026hidden: too few projects20–
16 Aug 2026hidden: too few projects20–
23 Aug 2026hidden: too few projects20–
30 Aug 2026hidden: too few projects25–
6 Sept 2026hidden: too few projects30–
13 Sept 2026hidden: too few projects30–
20 Sept 2026hidden: too few projects30–
27 Sept 2026hidden: too few projects35–
4 Oct 2026hidden: too few projects30–
11 Oct 2026hidden: too few projects30–
18 Oct 2026hidden: too few projects30–
25 Oct 202679% (60–91%, n=25)30–
1 Nov 202676% (58–88%, n=30)35–

Weekly projects by preset

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

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

By preset

Green verify outcomes by the preset chosen at scaffold time.

default

71%50–86%, n=20

sandboxhidden: too few projects

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

Data table
NameGreen rateProjects
default71% (50–86%, n=20)25
sandboxhidden: too few projects15

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.

test33%
fmt-check33%
test-integration14%
build10%
compile5%
smoke5%
Environment blocked0%

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

Data table
StepShare
test33%
compile5%
fmt-check33%
build10%
smoke5%
test-integration14%
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

rrhidden: too few projects
ce-plugin22%

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

Data table
FragmentMeasureShare
agent-opsKept–
git-hooksKept–
ci-githubKept–
rrAttached–
ce-pluginAttached22%
By composition 6 fingerprints

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

CompositionGreen rateSeenChange in life
defaults − git-hooks · 18d5523chidden: too few projects26 Jul 2026 – 1 Nov 2026None
defaults + ce-plugin + rr · 41049dcbhidden: too few projects6 Sept 2026 – 25 Oct 2026None
defaults · 7bd8c81c73% (52–87%, n=20)12 Jul 2026 – 1 Nov 2026None
defaults + ce-plugin · 97259cefhidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults − agent-ops · b06c39d0hidden: too few projects30 Aug 2026 – 1 Nov 2026None
defaults − ci-github · e0e6434chidden: too few projects13 Sept 2026 – 1 Nov 2026None

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