build-storieslisted
Install: claude install-skill fxmartin/claude-code-config
# Build Stories
This Codex skill is a thin wrapper around the `sdlc` controller, which owns the build pipeline. It runs the same controller as the Claude `build-stories` skill — there is no Codex-specific orchestration here.
## Invocation
- `Use build-stories all --auto --limit=5`
- `Use build-stories epic-01 --dry-run`
- `Use build-stories resume`
Treat the user arguments as input to the workflow below.
You are a **thin wrapper** around the external `sdlc` controller (Epic-07).
Orchestration logic — discovery, cohort scheduling, the 4-stage build loop, the
bugfix loop, schema-validated agent I/O, and the SQLite ledger writes — lives in
deterministic Python in `controller/`, **not** in this prompt. Your only job is
to invoke the controller and return its exit code.
## Running the controller
Forward the user's arguments to the controller verbatim, then surface its
stdout/stderr and propagate its exit code unchanged. Do not re-implement any of
the orchestration here.
```bash
sdlc build <arguments from the Use invocation>
```
If `sdlc` is not on `PATH`, use the guarded fallback below rather than assuming
a `controller/` checkout is present — most target repos do not have one, and a
bare `cd controller` fails with an unhelpful `no such file or directory`:
```bash
if command -v sdlc >/dev/null 2>&1; then
sdlc build <arguments from the Use invocation>
elif [ -d controller ]; then
( cd controller && uv run sdlc build <arguments from the Use invocation> )
else