with one click
with one click
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | prd-split |
| description | Split a main PRD into per-service PRDs |
Owns the prd_splitting phase: creates the feature git branch from base, then splits the main PRD into per-service PRDs. (This phase replaces the old branch_creation phase — branch creation and splitting are now combined.)
Read references/conventions.md first for the service-PRD frontmatter, required sections (including Verification rules), and the naming convention shared with main PRDs.
/prd splitSplit the active feature's main PRD into service PRDs.
Steps:
Activate phase. Flip features[active_feature].phase_status to "inprogress" in .workflow-state.json.
Enter plan mode (MANDATORY). Call your harness's plan mode before reading any file or forming conclusions:
EnterPlanModeVerify workflow state is in prd_splitting phase.
Create the feature branch (before splitting). This phase replaces the old branch_creation phase.
develop for api/web, development for ai-service/data-service.git checkout <base> && git pull origin <base>.features[<slug>].type:
feature → feature/bug → fix/improvement → improvement/type missing/unknown: ask user which prefix (feature/fix/improvement) and persist via /workflow start intake.<prefix><worker>/vc-<slug>.<prefix><worker>/vc-<slug> from <base>?"git checkout -b <prefix><worker>/vc-<slug> && git push -u origin <prefix><worker>/vc-<slug>..workflow-state.json: set features[<slug>].branch.Read the main PRD from .workflow-state.json prd_path. Parse the "Service Breakdown" section.
Research per-service codebases (MANDATORY). For each service, read enough code to understand:
<service>/docs/tracks/ that might conflictRelentless clarifying questions (MANDATORY). Before drafting any service PRD, surface EVERY ambiguity that would change how the split works. Prefer multiple small questions. Do NOT proceed until answered.
Exit plan mode. For each service listed in the PRD frontmatter services field:
a. Read the service PRD template
b. Extract relevant requirements, API endpoints, data model changes for this service
c. Generate implementation tasks (TASK-1, TASK-2, ...) from the requirements
d. Present the draft service PRD to user
e. Use your ask tool for approval — surface any remaining per-service ambiguities here
f. On approval, write to <service>/docs/prd/<slug>.md
g. Create track file at <service>/docs/tracks/<slug>.track.md
Update .workflow-state.json service_prds with paths. Flip phase_status to "completed". Do NOT auto-advance.
Report summary: "Feature branch created. Service PRDs created for: api, web, ai-service. Run /workflow next to advance to implementation."
/prd split statusShow which service PRDs have been created and their status.