Skip to main content

Module preset

Module preset 

Source
Expand description

The speccoder Spec Kit preset: a tasks template that plans for evidence, bundled in the binary and installed through Spec Kit’s own specify preset add --dev — on a person’s confirmed command, never from the network. Spec 101’s New Project passes extract’s directory to specify init --preset.

Constants§

ID
The preset’s id.
NEEDS
The Spec Kit version the preset needs (requires.speckit_version).

Functions§

add
speccoder preset add: installs (or, when update, replaces) the bundled preset in the Spec Kit project at root with specify preset add --dev <dir> --priority 10 — run only when confirmed; otherwise the command and what it writes come back for a person to confirm.
dir
Where extract puts the bundled preset: <state>/presets/speccoder-<version>/ (read-only: a plan names it before anything is written).
extract
Writes the bundled preset to <state>/presets/speccoder-<version>/ (idempotent: files already as bundled are kept) and returns that directory — what specify preset add --dev and specify init --preset are given.
speckit_version
The installed specify’s version, when it runs.
state
The preset as Spec Kit reports it in the project at root.
version
This build’s preset version: speccoder’s.