Skip to content

Setup: init vs bootstrap

Before you can run the pipeline, your project needs a forge.config.json. This page covers how to create one and how to decide between forge-init and forge-bootstrap.

Run this in a project that already has code:

/feature-forge:forge-init

It creates a forge.config.json with sensible defaults. It takes no arguments and will not overwrite an existing forge.config.json, so it is safe to re-run.

KeyDefault
specsDir./specs
docsDir./docs/architecture
backlogDirnull
gitCommitAfterStagetrue
commitPrefixforge
stacknull (detected later in Stage 2)
typeCheckCommandnull
testCommandnull
loopIterationMultiplier1.5

For the full reference, see forge.config.json.

  • Use forge-init when you already have a project or codebase. It only writes the config and gets out of your way.
  • Use forge-bootstrap when the repo is brand-new and empty. It scaffolds a toolchain and a green baseline first. forge-bootstrap refuses to run on a non-empty repo.

For deep bootstrap details, see bootstrapping.

After either command, start the pipeline:

/feature-forge:forge-1-prd <feature-name>

Continue to Stage 1 · PRD.