Skip to content

Starter kit ​

Setting up a new project the way this one ended E01. In order; each step names the files to copy and the decision behind them. Adapt, do not copy blindly: remove what the new project does not need (geometry kinds, for instance), and write an ADR for each difference.

Steps ​

#StepCopy from this repositoryWhy
1Repository, license, main and develop, rulesets (merge commits into main, no bypass)docs/tooling/ci.md (settings), docs/tooling/git-workflow.mdADR-0038
2TypeScript strict; ESLint as strict as possible, every rule decided; Prettier; EditorConfigtsconfig.json, eslint/, .prettierrc.json, .editorconfigADR-0009, ADR-0010
3Custom lint rules for the project's structure (one export per file, barrels, kinds, sources)eslint/plugin/ADR-0011, ADR-0012, ADR-0019
4Vitest, 100 % coverage of the library, a floor for the demo app, property tests, fitness functionsvite.config.ts, vitest.setup.ts, tests/ADR-0022
5Dependencies: one documented row each, latest versions at least 7 days old, audit, kniptests/package.test.ts, .ncurc.cjs, knip.json, docs/tooling/dependencies.mdsupply chain, ADR-0038
6Git hooks: lint-staged, commitlint with closed scopes and backlog footers, branch names, full check before push.husky/, .lintstagedrc.json, commitlint.config.ts, .validate-branch-namerc.jsondocs/tooling/git-workflow.md
7One CI, on the pull request into main; CodeQL; weekly link check.github/workflows/ADR-0038
8Releases: release-please, test report attached, docs and demo published on release.github/workflows/release.yml, release-please-config.jsondocs/tooling/releases.md
9Documentation site: VitePress, TypeDoc, Mermaid diagramsdocs/.vitepress/docs/tooling/documentation-site.md
10Docs skeleton: domain, ADRs, conventions (writing rules first), references, derivations, research, backlog, process, guide, playbookdocs/*/README.md, templates _*.md, docs/conventions/writing.mdthis playbook
11Backlog with tests: ids, statuses, parents' tables, feature frametests/backlog.test.ts, tests/references.test.tsADR-0017, ADR-0020
12Agent configuration: AGENTS.md, CLAUDE.md, rules, skills, expert agents, hooks, status lineAGENTS.md, CLAUDE.md, .claude/ADR-0021
13Metrics and the source libraryscripts/metrics-*.ts, scripts/session-report.ts, scripts/library-*.ts, .mcp.jsondocs/tooling/metrics.md, ADR-0039
14Start-of-project interview, then the first epicanalysis.md, docs/domain/README.mdprinciple 6

Rhythm ​

WhenWhat
each featurerefinement questionnaire, spike, stories (a run), audit, validation, release
each epicreview with the full guided recheck; retrospective with metrics and one table of every logged item
every four to five epicsevery rule questioned against how the project went; harden by default
any timeideas to the improvement log, critiques to the feedback log

Read first ​

SourceWhy
REF-CC-BEST-PRACTICESverification the agent can run; independent reviewers
REF-CC-MEMORY, REF-CC-HOOKSshort instruction files; hooks for what must always happen
REF-DIATAXIS, REF-NNG-SCANNINGpages people scan
REF-SAFE-STORY, REF-KANBAN-GUIDEstory types; flow without sprints
REF-GITFLOWmain for releases, develop for integration

Cases met in E01 ​

CaseWhat the kit does
a need understood late (the rectangle was a free shape)the interview asks early which things are kinds of one thing
waiting for CI after every storylocal checks; one CI per release
the same pages read again at every spikethe source library
no idea how long the work tookmetrics, session reports
the Product Owner's words kept in a public repositorywriting rules; decisions in neutral words
a long guided test accumulating every feature's stepsa short guided test per feature; the full recheck at the review