headless
Build an app from a pre-written PRD file without interactive discovery
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Build an app from a pre-written PRD file without interactive discovery
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Analyze every interactive UI element โ classify effects, detect broken promises, map cross-screen dependencies
Full QA procedure โ interaction map, unit tests, Maestro flows, visual review
Add/remove features, fix bugs, redesign โ keeping code clean and artifacts in sync
Generate a new mobile app โ full pipeline or code-only if PRD already exists
Run full QA โ interaction map, unit tests, Maestro UI tests, visual review
Read screenshots and verify UI against DESIGN.md, reference mockups, and quality checklist
| name | headless |
| description | Build an app from a pre-written PRD file without interactive discovery |
| disable-model-invocation | true |
Build an app from a ready PRD. No interview. Designed for programmatic use by other AI agents or CI systems.
Usage: /headless <path-to-prd> [testing-level]
Parse $ARGUMENTS for:
fast, standard, or full (default: standard)Read the PRD file and validate against pipeline/prd-schema.md:
If validation fails โ list all errors, stop. Do NOT attempt to fix or guess.
apps/<slug>/
โโโ spec/
โโโ prd.md โ copy the input PRD here
โโโ plan.md โ will be generated
โโโ testing-level.txt โ from argument or "standard"
Save the testing level to apps/<slug>/spec/testing-level.txt.
Read pipeline/plan.md โ generate 9-section implementation plan from the PRD.
No user interaction. Plan is derived entirely from the PRD.
5 milestones sequentially: M1 (Scaffold) โ M2 (Screens) โ M3 (Features) โ M4 (Monetization, if enabled) โ M5 (Polish)
After EACH milestone, run the verify loop from pipeline/qa.md (reads testing level from spec/testing-level.txt).
Final QA โ apps/<slug>/ralph/FINAL_VERDICT.md.
Output build complete message.
| Aspect | Interactive (/build-app) | Headless |
|---|---|---|
| Discovery interview | Yes (5-8 questions) | Skipped |
| Web research | Yes (WebSearch) | Skipped (PRD must include ยง9) |
| PRD approval | User confirms | PRD accepted as-is |
| Testing level | User chooses | Argument (default: standard) |
| Build process | Identical | Identical |
| QA | Identical | Identical |
Key rule: headless mode trusts the PRD completely. It does not validate market research quality, pricing sanity, or feature feasibility.
If the PRD is invalid, output:
PRD VALIDATION FAILED
Errors:
- [error 1: which section, what's wrong]
- [error 2]
Fix these errors in the PRD and retry.
Schema: pipeline/prd-schema.md
Do NOT proceed with an invalid PRD. Do NOT attempt to fix it.
Other AI agents can invoke headless builds by:
pipeline/prd-schema.md