headless
Build an app from a pre-written PRD file without interactive discovery
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Build an app from a pre-written PRD file without interactive discovery
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
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