prd-to-sdlclisted
Install: claude install-skill vignesh-s7/product-management
# prd-to-sdlc
A reusable Claude Skill that takes a PRD and produces a deployable SDLC bundle.
## When to trigger
- User says "turn this PRD into a project"
- User says "scaffold the repo for [PRD path]"
- User invokes `/prd-to-sdlc <prd.md>`
- A new file lands in `prds/` on the `productowner-skill` repo
## Inputs
| Field | Required | Notes |
|---|---|---|
| `prd_path` | ✅ | Markdown PRD with at minimum: problem, users, success metrics, constraints |
| `domain` | optional | `bfsi` / `healthcare` / `devtools` / `generic` — toggles compliance guardrails |
| `deploy` | optional | `cloudflare-pages` (default), `none` |
## Stages
### 1. PO gate — Y-Score readiness
Score the PRD against 7 dimensions: problem clarity, target user, success metric, constraints, compliance, eval plan, rollback. Block if score < 70%. *See `.claude/skills/y-score-readiness/`.*
### 2. Architect
Invoke MetaGPT with PRD → emit `architecture.md` (Mermaid C4) + `db/schema.sql` + `api/openapi.yaml`.
### 3. Designer
Invoke v0 / Onlook with the user-facing flows from PRD → emit `ui/` (React + Tailwind).
### 4. Engineer
Invoke OpenHands with the spec bundle → emit `code/` (working app), runs tests until green.
### 5. QA
Generate Promptfoo `evals/promptfooconfig.yaml` from PRD success metrics. Generate Playwright smoke tests from UI flows.
### 6. DevOps
Emit `wrangler.toml` + `.github/workflows/deploy.yml`. If `CLOUDFLARE_API_TOKEN` set, deploy.
## Outputs
```
outputs/<slug>/
├── PRD.md
├── architecture.