pb-build
Installation
SKILL.md
pb-build
Execute the spec task-by-task. The spec is the source of truth.
Workflow
1. Load spec and resolve tasks
- Resolve
<spec-dir>from actual directory names underspecs/. Never guess. - Parse
### Task X.Y:blocks (4 fields, schema indocs/contract.md), build the dependency graph fromDependsOn(cycle → stop), and execute in dependency order. Independent tasks may run in parallel subagents; same-file tasks must not.
2. Per task — strict TDD loop
- Red: write the failing test first (unit + property tests where applicable; for bug fixes the reproducer IS the red test) → verify it fails. If you wrote code before the test, delete it and start over.
- Green: minimum implementation → verify pass.
- Refactor: clean up → suite still green.
- Verify layers: per the project testing principle, add integration/E2E/fuzz coverage the task's test matrix calls for — boundary and exception paths included. No production code without a failing test first; no completion claims without fresh evidence (run the command, paste output, check exit code — "should pass" is a lie).