/zsl:to-prdfrom zsl
Turn the current conversation context into a PRD and publish it to the project issue tracker. Use when user wants to create a PRD from the current context.
Ships in zsl. 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.
None: SKILL.md is the whole skill.
This skill takes the current conversation context and codebase understanding and produces a PRD. Do NOT interview the user — just synthesize what you already know.
The issue tracker and triage label vocabulary should have been provided to you — run /setup-zsl-superpowers if not.
Explore the repo to understand the current state of the codebase, if you haven't already. Use the project's domain glossary vocabulary throughout the PRD, and respect any ADRs in the area you're touching.
Sketch out the major modules you will need to build or modify to complete the implementation. Actively look for opportunities to extract deep modules that can be tested in isolation.
A deep module (as opposed to a shallow module) is one which encapsulates a lot of functionality in a simple, testable interface which rarely changes.
Check with the user that these modules match their expectations. Check with the user which modules they want tests written for.
From those modules, draw a high-level architecture diagram in ASCII for the top of the PRD. Show the major components (the modules from this step plus the external systems they talk to) as labelled boxes, and the primary data/control flow between them as arrows. Keep it to the dozen-or-so boxes that orient a reader — it's a map, not a wiring diagram, so omit incidental helpers and leave per-module internals to the Implementation Decisions section. Fence it in a plain ``` block so it survives copy/paste into the issue tracker.
Write each story at value altitude; push the testable detail into acceptance criteria. A user story is a slice of user value — who, what capability, why — and the story line must stay there: no endpoints, no status codes, no state names, no implementation. Every concrete, testable assertion moves down into the story's acceptance criteria, where technical detail belongs. For each story, write:
As an <actor>, I want <capability>, so that <benefit> line — value only, no technical detail.AC<n>: <assertion> sub-bullets — the acceptance criteria. Each states what public-interface behaviour a test would assert — an API result, a state transition, a rendered value, an emitted event (e.g. "POST /login with valid creds returns 200 + sets session cookie; with invalid creds returns 401"). The acceptance criteria are the contract /verify-coverage's Tier B generates tests against, so be concrete: name the endpoint/state/event, not the implementation. When one capability needs several distinct assertions, give it several ACs — do not fracture it into multiple stories just to give each one a single observable (that is exactly what made earlier PRDs read like a flat list of acceptance criteria).Refuse to draft a story with no automatable acceptance criterion. Visual/UX stories ("feels welcoming", "looks polished"), pure human-judgement stories ("legal signs off", "design reviews"), and real-external-system stories ("DNS propagates globally") cannot be pinned by an assertion. If the user wants one, push back: either reframe it with an automatable acceptance criterion (e.g. "feels welcoming" → AC "first-render Lighthouse score ≥ 90"), split it into a separate PRD that goes through a manual path (not /tdd-parallel), or drop it. A story with no automatable acceptance criterion will be refused by /tdd-parallel's pre-flight.
Write the PRD using the template below, then publish it to the project issue tracker. Apply both the ready-for-agent triage label (no additional triage needed — you just wrote it) and the backlog label (so it shows up on the project board).
A high-level ASCII architecture diagram, fenced in a plain ``` block, that orients the reader before they read a word of prose. Boxes are the major components/modules; arrows are the primary data and control flow between them and the external systems they touch.
``` ┌──────────────┐ ┌──────────────────┐ │ Mobile App │──────▶│ API Gateway │ └──────────────┘ GET └────────┬─────────┘ │ ┌───────────────┼───────────────┐ ▼ ▼ ▼ ┌──────────────┐ ┌────────────┐ ┌──────────────┐ │ Auth Service │ │ Accounts │ │ Transactions │ └──────────────┘ └─────┬──────┘ └──────┬───────┘ ▼ ▼ ┌───────────────────────────┐ │ Postgres (ledger) │ └───────────────────────────┘ ```The problem that the user is facing, from the user's perspective.
The solution to the problem, from the user's perspective.
A LONG, numbered list of user stories. Each story is written at value altitude — who/what/why, no technical detail — and carries one or more acceptance criteria (AC<n>:), the concrete testable assertions that /tdd-parallel and /verify-coverage consume:
1. As an <actor>, I want <capability>, so that <benefit>.
- AC1: <a public-interface behaviour a test would assert>
- AC2: <another, if the capability needs more than one assertion>
1. As a mobile bank customer, I want to see the balances on my accounts, so that I can make better informed decisions about my spending.
- AC1: GET /accounts returns 200 with a JSON list whose every element has a numeric `balance` field.
- AC2: the home-screen account card renders that balance formatted as currency.
- AC3: an account with no transactions still renders, showing a 0.00 balance.
This list of user stories should be extremely extensive and cover all aspects of the feature. Keep the story line free of endpoints, status codes, and state names — those live in the acceptance criteria beneath it. Every story must carry at least one AC<n>: acceptance criterion; a story missing it blocks /tdd-parallel. The acceptance criteria are the contract Tier B generates tests against — be specific.
A list of implementation decisions that were made. This can include:
Do NOT include specific file paths or code snippets. They may end up being outdated very quickly.
A list of testing decisions that were made. Include:
A description of the things that are out of scope for this PRD.
Any further notes about the feature.
Do not hand-edit content between the BEGIN/END markers — scripts/sync_book_rules.py overwrites it from vendor/agent-rules-books/.
Use when business software has enough domain complexity, language ambiguity, strategic differentiation, or integration risk that modeling changes implementation decisions, but the project still needs the smallest effective DDD practice rather than ceremony.
Use DDD selectively, but seriously. Start from business capability, subdomain importance, bounded context, and local language before tactical patterns, frameworks, persistence, APIs, or class shapes.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub zunosmartlabs/zsl-superpowers --plugin zsl32 skills in this plugin
/afk-fanoutInteractive local-session scheduler for overnight remote /tdd-parallel runs. Reviews the queue of tracking PRDs with ready-for-agent children, lets the human pick which to run overnight and in what order, then schedules one one-shot remote routine per selected PRD spaced a fixed 2h apart — each fires its own remote claude.ai session running /afk-worker against one PRD. The 2h spacing is a deliberate throttle to stay under the per-5h-window token cap. Places a light scheduled claim on each PRD so a re-run the same evening won't double-book. Morning you walks the results via /morning-review./afk-workerRemote per-PRD executor fired by an /afk-fanout-scheduled one-shot routine. Runs unattended in its own remote claude.ai session — own clone, own working tree, own branch — so it never contends with other PRDs' workers. Flips the PRD's scheduled claim to in-progress, runs /tdd-parallel <num> --on-review-failure=continue --max 2, opens one integration PR, and on halt records the offending slice + RCA. Reports its outcome (claim state, PR URL or halt RCA) as a per-PRD entry on the shared afk-runs git branch that /morning-review reconciles back into the tracker, and fires a best-effort Telegram heads-up. Invoked by the scheduled routine, not by hand.Other plugins' skills for the same job
/ask-zslInteractive router that helps you find the right ZSL skill for what you're doing right now, without leaving your work. Use when you're mid-session and unsure which skill fits — "which ZSL skill should I use", "how do I do X with these skills", or when you want to be routed to the right part of the loop.