Skip to content
stacks

NestJS API on Node

A TypeScript JSON API on NestJS served by Node, with feature modules, class-validator DTOs behind a global validation pipe, one exception filter rendering every error as the same envelope, request ids and JSON logs, Swagger docs, and Vitest unit specs plus Supertest contract tests on the real app module.

What done means

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

Declared steps: install, lint, typecheck, test, e2e, 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 nestjs-api stack for this project. 1. Run npx @steamfield/stacks show nestjs-api --json and check that it fits the project. If it does not, explain why before changing files. 2. Run npx @steamfield/stacks new nestjs-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 nestjs-api stack for a quick local experiment. 1. Run npx @steamfield/stacks show nestjs-api --json and check that it fits the project. If it does not, explain why before changing files. 2. Run npx @steamfield/stacks new nestjs-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 nestjs-api
npx @steamfield/stacks new nestjs-api --sandbox
Verify steps
StepPhaseLayerCommand
installsetupinstallbun install
lintchecklintbun run lint
typecheckchecktypecheckbun run typecheck
testchecktestbun run test
e2echecktestbun run test:e2e
buildcheckbuildbun run build
apiserveservebun run start
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%
Jul 1Oct 10%50%100%
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 10%50%100%
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 10%50%100%
Jul 1Oct 10%50%100%
Jul 1Oct 10%50%100%
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 10%50%100%
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 10%50%100%

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 projects520–
19 Jul 2026hidden: too few projects1,095–
26 Jul 2026hidden: too few projects1,975–
2 Aug 2026hidden: too few projects2,935–
9 Aug 2026hidden: too few projects3,365–
16 Aug 2026hidden: too few projects3,855–
23 Aug 2026hidden: too few projects4,165–
30 Aug 2026hidden: too few projects4,490–
6 Sept 2026hidden: too few projects4,830–
13 Sept 2026hidden: too few projects5,190–
20 Sept 2026hidden: too few projects5,455–
27 Sept 2026hidden: too few projects5,770–
4 Oct 2026hidden: too few projects6,180–
11 Oct 2026hidden: too few projects6,445–
18 Oct 2026hidden: too few projects6,805–
25 Oct 2026hidden: too few projects7,065–
1 Nov 2026hidden: too few projects7,360–

Weekly projects by preset

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

Jul 1Oct 105001k1.5k2kdefault · 12 Jul 2026: 355sandbox · 12 Jul 2026: 165default · 19 Jul 2026: 385sandbox · 19 Jul 2026: 190default · 26 Jul 2026: 575sandbox · 26 Jul 2026: 305default · 2 Aug 2026: 640sandbox · 2 Aug 2026: 320default · 9 Aug 2026: 640sandbox · 9 Aug 2026: 310default · 16 Aug 2026: 700sandbox · 16 Aug 2026: 365default · 23 Aug 2026: 780sandbox · 23 Aug 2026: 410default · 30 Aug 2026: 830sandbox · 30 Aug 2026: 455default · 6 Sept 2026: 830sandbox · 6 Sept 2026: 455default · 13 Sept 2026: 940sandbox · 13 Sept 2026: 490default · 20 Sept 2026: 930sandbox · 20 Sept 2026: 520default · 27 Sept 2026: 1,035sandbox · 27 Sept 2026: 565default · 4 Oct 2026: 1,110sandbox · 4 Oct 2026: 590default · 11 Oct 2026: 1,095sandbox · 11 Oct 2026: 600default · 18 Oct 2026: 1,140sandbox · 18 Oct 2026: 670default · 25 Oct 2026: 1,225sandbox · 25 Oct 2026: 635default · 1 Nov 2026: 1,340sandbox · 1 Nov 2026: 650
Jul 1Oct 105001k1.5k2kdefault · 12 Jul 2026: 355sandbox · 12 Jul 2026: 165default · 19 Jul 2026: 385sandbox · 19 Jul 2026: 190default · 26 Jul 2026: 575sandbox · 26 Jul 2026: 305default · 2 Aug 2026: 640sandbox · 2 Aug 2026: 320default · 9 Aug 2026: 640sandbox · 9 Aug 2026: 310default · 16 Aug 2026: 700sandbox · 16 Aug 2026: 365default · 23 Aug 2026: 780sandbox · 23 Aug 2026: 410default · 30 Aug 2026: 830sandbox · 30 Aug 2026: 455default · 6 Sept 2026: 830sandbox · 6 Sept 2026: 455default · 13 Sept 2026: 940sandbox · 13 Sept 2026: 490default · 20 Sept 2026: 930sandbox · 20 Sept 2026: 520default · 27 Sept 2026: 1,035sandbox · 27 Sept 2026: 565default · 4 Oct 2026: 1,110sandbox · 4 Oct 2026: 590default · 11 Oct 2026: 1,095sandbox · 11 Oct 2026: 600default · 18 Oct 2026: 1,140sandbox · 18 Oct 2026: 670default · 25 Oct 2026: 1,225sandbox · 25 Oct 2026: 635default · 1 Nov 2026: 1,340sandbox · 1 Nov 2026: 650
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 105001k1.5k2kdefault · 12 Jul 2026: 355sandbox · 12 Jul 2026: 165default · 19 Jul 2026: 385sandbox · 19 Jul 2026: 190default · 26 Jul 2026: 575sandbox · 26 Jul 2026: 305default · 2 Aug 2026: 640sandbox · 2 Aug 2026: 320default · 9 Aug 2026: 640sandbox · 9 Aug 2026: 310default · 16 Aug 2026: 700sandbox · 16 Aug 2026: 365default · 23 Aug 2026: 780sandbox · 23 Aug 2026: 410default · 30 Aug 2026: 830sandbox · 30 Aug 2026: 455default · 6 Sept 2026: 830sandbox · 6 Sept 2026: 455default · 13 Sept 2026: 940sandbox · 13 Sept 2026: 490default · 20 Sept 2026: 930sandbox · 20 Sept 2026: 520default · 27 Sept 2026: 1,035sandbox · 27 Sept 2026: 565default · 4 Oct 2026: 1,110sandbox · 4 Oct 2026: 590default · 11 Oct 2026: 1,095sandbox · 11 Oct 2026: 600default · 18 Oct 2026: 1,140sandbox · 18 Oct 2026: 670default · 25 Oct 2026: 1,225sandbox · 25 Oct 2026: 635default · 1 Nov 2026: 1,340sandbox · 1 Nov 2026: 650
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 105001k1.5k2kdefault · 12 Jul 2026: 355sandbox · 12 Jul 2026: 165default · 19 Jul 2026: 385sandbox · 19 Jul 2026: 190default · 26 Jul 2026: 575sandbox · 26 Jul 2026: 305default · 2 Aug 2026: 640sandbox · 2 Aug 2026: 320default · 9 Aug 2026: 640sandbox · 9 Aug 2026: 310default · 16 Aug 2026: 700sandbox · 16 Aug 2026: 365default · 23 Aug 2026: 780sandbox · 23 Aug 2026: 410default · 30 Aug 2026: 830sandbox · 30 Aug 2026: 455default · 6 Sept 2026: 830sandbox · 6 Sept 2026: 455default · 13 Sept 2026: 940sandbox · 13 Sept 2026: 490default · 20 Sept 2026: 930sandbox · 20 Sept 2026: 520default · 27 Sept 2026: 1,035sandbox · 27 Sept 2026: 565default · 4 Oct 2026: 1,110sandbox · 4 Oct 2026: 590default · 11 Oct 2026: 1,095sandbox · 11 Oct 2026: 600default · 18 Oct 2026: 1,140sandbox · 18 Oct 2026: 670default · 25 Oct 2026: 1,225sandbox · 25 Oct 2026: 635default · 1 Nov 2026: 1,340sandbox · 1 Nov 2026: 650
Jul 1Oct 105001k1.5k2kdefault · 12 Jul 2026: 355sandbox · 12 Jul 2026: 165default · 19 Jul 2026: 385sandbox · 19 Jul 2026: 190default · 26 Jul 2026: 575sandbox · 26 Jul 2026: 305default · 2 Aug 2026: 640sandbox · 2 Aug 2026: 320default · 9 Aug 2026: 640sandbox · 9 Aug 2026: 310default · 16 Aug 2026: 700sandbox · 16 Aug 2026: 365default · 23 Aug 2026: 780sandbox · 23 Aug 2026: 410default · 30 Aug 2026: 830sandbox · 30 Aug 2026: 455default · 6 Sept 2026: 830sandbox · 6 Sept 2026: 455default · 13 Sept 2026: 940sandbox · 13 Sept 2026: 490default · 20 Sept 2026: 930sandbox · 20 Sept 2026: 520default · 27 Sept 2026: 1,035sandbox · 27 Sept 2026: 565default · 4 Oct 2026: 1,110sandbox · 4 Oct 2026: 590default · 11 Oct 2026: 1,095sandbox · 11 Oct 2026: 600default · 18 Oct 2026: 1,140sandbox · 18 Oct 2026: 670default · 25 Oct 2026: 1,225sandbox · 25 Oct 2026: 635default · 1 Nov 2026: 1,340sandbox · 1 Nov 2026: 650
Jul 1Oct 105001k1.5k2kdefault · 12 Jul 2026: 355sandbox · 12 Jul 2026: 165default · 19 Jul 2026: 385sandbox · 19 Jul 2026: 190default · 26 Jul 2026: 575sandbox · 26 Jul 2026: 305default · 2 Aug 2026: 640sandbox · 2 Aug 2026: 320default · 9 Aug 2026: 640sandbox · 9 Aug 2026: 310default · 16 Aug 2026: 700sandbox · 16 Aug 2026: 365default · 23 Aug 2026: 780sandbox · 23 Aug 2026: 410default · 30 Aug 2026: 830sandbox · 30 Aug 2026: 455default · 6 Sept 2026: 830sandbox · 6 Sept 2026: 455default · 13 Sept 2026: 940sandbox · 13 Sept 2026: 490default · 20 Sept 2026: 930sandbox · 20 Sept 2026: 520default · 27 Sept 2026: 1,035sandbox · 27 Sept 2026: 565default · 4 Oct 2026: 1,110sandbox · 4 Oct 2026: 590default · 11 Oct 2026: 1,095sandbox · 11 Oct 2026: 600default · 18 Oct 2026: 1,140sandbox · 18 Oct 2026: 670default · 25 Oct 2026: 1,225sandbox · 25 Oct 2026: 635default · 1 Nov 2026: 1,340sandbox · 1 Nov 2026: 650
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 105001k1.5k2kdefault · 12 Jul 2026: 355sandbox · 12 Jul 2026: 165default · 19 Jul 2026: 385sandbox · 19 Jul 2026: 190default · 26 Jul 2026: 575sandbox · 26 Jul 2026: 305default · 2 Aug 2026: 640sandbox · 2 Aug 2026: 320default · 9 Aug 2026: 640sandbox · 9 Aug 2026: 310default · 16 Aug 2026: 700sandbox · 16 Aug 2026: 365default · 23 Aug 2026: 780sandbox · 23 Aug 2026: 410default · 30 Aug 2026: 830sandbox · 30 Aug 2026: 455default · 6 Sept 2026: 830sandbox · 6 Sept 2026: 455default · 13 Sept 2026: 940sandbox · 13 Sept 2026: 490default · 20 Sept 2026: 930sandbox · 20 Sept 2026: 520default · 27 Sept 2026: 1,035sandbox · 27 Sept 2026: 565default · 4 Oct 2026: 1,110sandbox · 4 Oct 2026: 590default · 11 Oct 2026: 1,095sandbox · 11 Oct 2026: 600default · 18 Oct 2026: 1,140sandbox · 18 Oct 2026: 670default · 25 Oct 2026: 1,225sandbox · 25 Oct 2026: 635default · 1 Nov 2026: 1,340sandbox · 1 Nov 2026: 650
Jun 1Jul 1Aug 1Sep 1Oct 1Nov 105001k1.5k2kdefault · 12 Jul 2026: 355sandbox · 12 Jul 2026: 165default · 19 Jul 2026: 385sandbox · 19 Jul 2026: 190default · 26 Jul 2026: 575sandbox · 26 Jul 2026: 305default · 2 Aug 2026: 640sandbox · 2 Aug 2026: 320default · 9 Aug 2026: 640sandbox · 9 Aug 2026: 310default · 16 Aug 2026: 700sandbox · 16 Aug 2026: 365default · 23 Aug 2026: 780sandbox · 23 Aug 2026: 410default · 30 Aug 2026: 830sandbox · 30 Aug 2026: 455default · 6 Sept 2026: 830sandbox · 6 Sept 2026: 455default · 13 Sept 2026: 940sandbox · 13 Sept 2026: 490default · 20 Sept 2026: 930sandbox · 20 Sept 2026: 520default · 27 Sept 2026: 1,035sandbox · 27 Sept 2026: 565default · 4 Oct 2026: 1,110sandbox · 4 Oct 2026: 590default · 11 Oct 2026: 1,095sandbox · 11 Oct 2026: 600default · 18 Oct 2026: 1,140sandbox · 18 Oct 2026: 670default · 25 Oct 2026: 1,225sandbox · 25 Oct 2026: 635default · 1 Nov 2026: 1,340sandbox · 1 Nov 2026: 650
  • 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 2026default355
19 Jul 2026default385
26 Jul 2026default575
2 Aug 2026default640
9 Aug 2026default640
16 Aug 2026default700
23 Aug 2026default780
30 Aug 2026default830
6 Sept 2026default830
13 Sept 2026default940
20 Sept 2026default930
27 Sept 2026default1,035
4 Oct 2026default1,110
11 Oct 2026default1,095
18 Oct 2026default1,140
25 Oct 2026default1,225
1 Nov 2026default1,340
5 Jul 2026sandbox–
12 Jul 2026sandbox165
19 Jul 2026sandbox190
26 Jul 2026sandbox305
2 Aug 2026sandbox320
9 Aug 2026sandbox310
16 Aug 2026sandbox365
23 Aug 2026sandbox410
30 Aug 2026sandbox455
6 Sept 2026sandbox455
13 Sept 2026sandbox490
20 Sept 2026sandbox520
27 Sept 2026sandbox565
4 Oct 2026sandbox590
11 Oct 2026sandbox600
18 Oct 2026sandbox670
25 Oct 2026sandbox635
1 Nov 2026sandbox650

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.

Median to green
–
75th percentile
–
First passing test
–
Verify runs to green
–

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

Data table
MeasureTime / runs
Median to green–
75th percentile–
First passing test–
Verify runs to green–

Where it breaks

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

Environment blockedhidden: too few projects

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

Data table
StepShare
Environment blocked–

What people change

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

Default, kept rate

claude-harness100%
git-hooks92%
ci-github92%
rest-api92%

Optional, attach rate

rr17%
ce-plugin18%

Share of the window's 6,750 projects. Kept rate is 1 minus the without rate.

Data table
FragmentMeasureShare
claude-harnessKept100%
git-hooksKept92%
ci-githubKept92%
rest-apiKept92%
rrAttached17%
ce-pluginAttached18%
By composition 31 fingerprints

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

CompositionGreen rateSeenChange in life
defaults − git-hooks · 00c44e3ehidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults + ce-plugin − git-hooks − rest-api · 08f2a0f5hidden: too few projects19 Jul 2026 – 1 Nov 2026None
defaults − ci-github − git-hooks − rest-api · 0f48731dhidden: too few projects26 Jul 2026 – 1 Nov 2026None
defaults + ce-plugin − ci-github − git-hooks · 12ee22bchidden: too few projects19 Jul 2026 – 1 Nov 2026None
defaults + rr − rest-api · 228f7f79hidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults − ci-github · 22c0b88ehidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults + rr − git-hooks − rest-api · 278b7946hidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults · 2982cf0ehidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults + ce-plugin + rr − git-hooks − rest-api · 37a62220hidden: too few projects9 Aug 2026 – 1 Nov 2026None
defaults + ce-plugin − git-hooks · 40355c6bhidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults + rr − ci-github − rest-api · 420c87fchidden: too few projects9 Aug 2026 – 1 Nov 2026None
defaults + ce-plugin + rr − git-hooks · 47ebe067hidden: too few projects19 Jul 2026 – 1 Nov 2026None
defaults + rr − git-hooks · 509d7b17hidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults + ce-plugin + rr · 55d945d7hidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults + ce-plugin + rr − ci-github − git-hooks · 570b3dbchidden: too few projects30 Aug 2026 – 1 Nov 2026None
defaults − ci-github − git-hooks · 5a117f3ehidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults − ci-github − rest-api · 5cea3a98hidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults + rr − ci-github − git-hooks − rest-api · 6343bd94hidden: too few projects11 Oct 2026 – 1 Nov 2026None
defaults + rr − ci-github · 6733cfbfhidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults + ce-plugin − ci-github − rest-api · 6ae34675hidden: too few projects26 Jul 2026 – 1 Nov 2026None
defaults + ce-plugin + rr − ci-github − rest-api · 70ebf44ahidden: too few projects9 Aug 2026 – 1 Nov 2026None
defaults + ce-plugin − rest-api · 78201df9hidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults + ce-plugin − ci-github · 7d0456e1hidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults + ce-plugin · 9f0b70b7hidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults + ce-plugin + rr − rest-api · a988be37hidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults + rr − ci-github − git-hooks · b488a7e4hidden: too few projects19 Jul 2026 – 1 Nov 2026None
defaults − git-hooks − rest-api · b513a874hidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults + rr · bee45140hidden: too few projects12 Jul 2026 – 1 Nov 2026None
defaults + ce-plugin − ci-github − git-hooks − rest-api · ca0ce3a1hidden: too few projects1 Nov 2026 – 1 Nov 2026None
defaults + ce-plugin + rr − ci-github · d405f099hidden: too few projects19 Jul 2026 – 1 Nov 2026None
defaults − rest-api · f51e5bc7hidden: too few projects12 Jul 2026 – 1 Nov 2026None

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