/dev-flow:prd-to-tasksfrom dev-flow
Breaks down a PRD.md into an executable tasks.md checklist with one task per checkable bullet, grouped by user story or epic, sized to 2-8 hours each. Output is compatible with beads, GitHub Issues, Linear, Jira, and ralph-tui. Activates when user asks to split into tasks, make issues, or ticket the PRD.
Ships in dev-flow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill turns a PRD into a flat, ordered list of tasks small enough to be picked up by a developer or an AI executor. The output is .workflow/tasks.md — Markdown with - [ ] checkboxes — designed to be:
scrum skill (Setup mode), which creates one issue per task — not a CSV import..workflow/PRD.md exists and phase is prd_drafted.prd_drafted (optional next step before scaffolding).If .workflow/tasks.md already exists, enter revise mode: read the existing tasks and propose specific edits (add, remove, re-order, re-size) rather than overwriting. A new task cites the PRD story it serves, the ## Scope changes row that let it in, or the debt-audit finding it fixes (debt:<id>, from .workflow/debt/findings.json — debt is work on what was already promised, not new scope) — a task that serves none is a scope change and passes prd-from-idea/references/scope-check.md first. A cut task is not deleted: it stays, struck through, ~~…~~ cut <date>: <reason>, so what was planned remains readable.
This skill follows the dev-flow contract — see references/contracts.md for the canonical schema. Key facts:
<root>/.workflow/PRD.md (mandatory) and .workflow/PROJECT.md (for stack/audience context).<root>/.workflow/tasks.md.phase = "tasks_split" on success (only if current phase is earlier in the enum).Read .workflow/PRD.md. Extract:
As a … I want … so that …).Group tasks into epics when there are 3+ user stories. With fewer stories, keep a flat list.
For each user story, ask: "What must exist for the acceptance criteria to be true?" Walk down from there:
Skip layers the story doesn't actually need. A purely UI story doesn't need a DB task.
Sizing target: each task ≈ 2–8 hours of focused work. If a task feels bigger, split. If a task is < 1 hour, merge with a sibling.
Title convention: imperative verb first ("Add user-settings page", "Wire login flow", "Set up Drizzle schema for posts"). Avoid "Implement X" — too vague.
tasks.mdUse this exact format:
# <Project Name> — Tasks
> Generated by `prd-to-tasks` from PRD.md on <ISO date>. Compatible with beads, GitHub Issues import, `scrum` (Linear, Jira or GitHub), ralph-tui task source.
## Setup
- [ ] **Set up Next.js + shadcn scaffold** *(addressed by `design-md-to-app`)*
- [ ] **Configure Drizzle + Neon** *(addressed by `module-add db`)*
- [ ] **Wire better-auth + email/password** *(addressed by `module-add auth`)*
## Epic: <user-story name or epic title>
### US-1: As a <persona>, I want <action>, so that <outcome>
- [ ] **<Imperative title>** — <one-sentence body>
- Acceptance: <bulleted criteria pulled from PRD>
- Files likely touched: `<best-guess paths>`
- Estimated: <2-8h>
- Priority: <P1|P2|P3>
- [ ] **<Imperative title>** — …
### US-2: ...
…
## Non-goals (do NOT do)
- <Item from PRD non-goals>
- <Item from PRD non-goals>
## Open questions
- <Question pulled from PRD's "Open questions" section>
Rules:
## Epic: heading per epic, one ### US-N: per user story.- [ ] per concrete task. Sub-bullets under it are details, not separate tasks.*(addressed by …)* annotation marks tasks that are owned by another dev-flow skill — the user (or orchestrator) doesn't have to write code for these, just invoke the right skill. Always tag scaffolding/setup tasks with which skill owns them.Priority: on every task — P1 what the first release cannot ship without (Setup and the MVP's must-have stories), P2 the rest of the MVP, P3 what can slip past it. scrum turns it into the tracker's priority (on GitHub the priority: Pn label, the user's rule) and packs the sprints by it.[ ] checkboxes for sub-bullets — they're details, not actionable items.- [ ] **<Title>** — <body> format (with the em-dash — separator) is load-bearing. scrum/scripts/task_key.py parses each task line with split(" — ")[0] to derive the title it hashes for dedup (meta.json#tracker.issue_map). Do not swap the em-dash for a hyphen, colon, or any other separator — doing so breaks re-run idempotency in scrum.Update .workflow/meta.json:
tasks_split, set phase = "tasks_split"updated_at{
"skill": "prd-to-tasks",
"ran_at": "<now>",
"outputs": ["tasks.md"],
"phase_before": "<prev>",
"phase_after": "tasks_split"
}
Tell the user:
figma-to-design-md (if not yet run and Figma exists) or design-md-to-app (if DESIGN.md is in place), or scrum (Setup) to run the project as agile scrum on the tracker chosen in the PRD (Linear, Jira or GitHub).If the user wants to move tasks into beads/GitHub Issues/Linear, point at the file — it's already in the right shape. They can use gh issue create per task, ralph-tui-create-beads / ralph-tui-create-json skills if installed, or invoke scrum (Setup mode) to push tasks.md to the chosen tracker (Linear, Jira or GitHub) — not a CSV import.
## Non-goals so they stay visible but not actionable.*(addressed by module-add auth)* — this is the bridge between the task list and the skill ecosystem.tasks.md across multiple files.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lukedj78/dev-flow --plugin dev-flow57 skills in this plugin
/animated-iconsAdd a Motion-animated icon to a Next.js app from a shadcn registry instead of hand-animating an SVG. Two registries, picked from the project's icon set: **heroicons-animated** (316 icons, `shadcn add @heroicons-animated/<name>`) and **hugeicons-animated** (165 icons, `shadcn add @hugeicons-animated/<name>`, which also installs a shared `lib/use-icon-animation.ts`). Both MIT, both on the `motion` runtime, both copied into your repo as source. This skill owns the install plus the two things the raw components lack: a `prefers-reduced-motion` guard and timing aligned to the project motion tokens (`lib/motion/`). Use when the user says "animated icon", "animate this icon", "make the bell/heart/menu icon animate on hover", "aggiungi un'icona animata", or wants an icon micro-interaction. Refuses outside Next.js web — for React Native use `rn-animations-gestures`. Not for: static icons, a whole motion system (`transitions`), or installing the runtime itself (`module-add motion`)./app-securityCheck whether an app's own code can be attacked before it ships — vulnerable dependencies, secrets in the code and in git history, Next.js authorization gaps (Server Actions and route handlers without a session check, queries by id with no owner filter — IDOR), data over-exposure, secrets in public env vars, raw SQL — then read the flagged code against an OWASP checklist, with an opt-in dynamic level (Strix) that proves exploits against the app running locally. The fifth pre-deploy gate, beside compliance-audit, vercel-doctor, shadscan and launch-audit; reports and routes, never blocks. Triggers: "security review", "è sicura l'app?", "controllo di sicurezza prima del deploy", "IDOR", "secrets in the repo", "pentest". Not for: GDPR and legal (compliance-audit), UI quality (shadscan), cost (vercel-doctor), launch readiness (launch-audit), a review of one branch diff (Claude Code's /security-review), third-party registry code (registry-intake)./app-verificationGive a project a manual for proving its features on the real app, written once and kept true: `.claude/skills/verify-<app>/` with how to launch it until it is usable, a read-only doctor check, how to drive it with the repo's real selectors, what counts as proof and where it goes, how to stop only what it started — plus one feature file per PRD story, seeded from the wireframe screen inventory, and a headless-Chrome render probe (overflow, wrapped headings, text hidden under reduced motion). Two modes: create (scaffold, fill from the code, prove it live once, record `meta.json#verification`) and maintain (re-read every feature from source, drive them all live, fix the manual, report real regressions). Web, Expo and eve. Triggers: "verify the app", "prova che funziona", "verification skill", "come si avvia l'app per provarla", "maintain the verify skill", "il manuale di verifica è aggiornato?". Not for: writing tests (write-tests), UI audits (shadscan), security (app-security), deploying (vercel-deploy)./compliance-auditRun a GDPR + EU AI Act compliance audit on an existing dev-flow project (web / mobile / eve agent) and remediate what it finds. Two modes: Audit (scan the codebase and `meta.json#stack` against a 11-point risk register — DSAR, consent/cookies, EU data residency, retention and PII-scrubbing, AI-transparency Art.50, high-risk Annex III, sub-processors — into a report with severity, evidence and article mapping) and Remediate (apply the safe mechanical mitigations, flag the ones needing a legal decision, never deciding legal basis or high-risk for the user). A pre-deploy gate; run it any time. Triggers: "audit GDPR", "compliance check", "AI Act", "siamo conformi?", "DSAR / cancellazione account / cookie consent / data residency". Not for: the other pre-deploy gates (vercel-doctor, shadscan, launch-audit, app-security), legal advice or DPIA sign-off (a DPO confirms), building features, or writing the PRD (use prd-from-idea)./composition-patterns-guideUse when refactoring React or React Native components that suffer from boolean prop proliferation, missing compound structure, prop drilling, or unclear ownership of state. Codifies the 7 Vercel composition-patterns rules for our web + RN stack — composition or explicit variants over boolean props, compound components with shared context, state lifted into providers, children over render props, React 19 (no forwardRef) — plus our colocation rules (Rule of Three, L0/L1/L2, `_components/`). Triggers on: "refactor this component", "questo componente ha troppi prop booleani", "rendi questo componente più componibile", "compound component", "context provider per X", "design del componente". Not for: scaffolding new components (use design-md-to-app, screenshot-to-page, rn-add-screen), or moving components up the hierarchy (use promote-component)./coss-uiSet up or extend a Next.js web app with Coss/UI — the official Cal.com design system, built on Base UI + Tailwind CSS v4 and installed through the shadcn CLI via the namespaced `@coss/*` registry. Two modes: Init (`shadcn init @coss/style` on a new project) and Add (pull `@coss/ui` primitives, single `@coss/<name>` components, or particles into an existing one). Sets `meta.json#stack.ui = "coss"`. Triggers: "usa Coss/UI", "coss.com/ui", "Cal.com design system", "aggiungi un componente Coss", "init @coss/style", "scaffold con Coss UI", or dev-flow routing when `stack.ui = "coss"`. Requires Tailwind CSS v4 and carries a mixed MIT/AGPLv3 license. Not for: writing the DESIGN.md (use figma-to-design-md / image-to-design-md), the generic Next.js scaffold (design-md-to-app owns it), backend modules (module-add), or React Native (RN uses NativeWind, not Coss).