specpilot add. Run it in the project’s folder.
You can also set up a project from the App or through your agent. See Set up specs with your agent.
Options
What it does
- Detects the language, framework and name from the project’s files. If it can’t, pass
--lang. - Asks the init questions, with brownfield first and without the project questions.
- Reads the code for TODOs, tests and components, unless you pass
--no-analysis. - Writes the files and prints the onboarding prompt.
What it writes
The same files asspecpilot init, in the current folder. It stops if .specs/ already exists.
Instruction files that already exist are kept as they are. Run specpilot backfill to add SpecPilot’s sections to them.