prd-to-work-orders
Converts Product Requirements Documents (PRDs) into validated Feature Requirements Documents (FRDs), technical Blueprints, and agent-ready Work Orders through…
Skill by TribalScale
Chalk Labs
Need help deploying prd-to-work-orders?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/tribalscale-prd-to-work-orders
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Nov 1, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/prd-to-work-orders
What's inside
- Skill name
prd-to-work-orders- Description
- Converts Product Requirements Documents (PRDs) into validated Feature Requirements Documents (FRDs), technical Blueprints, and agent-ready Work Orders through a 4-stage pipeline (Refinery → Foundry → Planner → Validator). Use when transforming raw product requirements into structured implementation plans with quality gates, state machine tracking, and drift detection.
- License
- Apache-2.0
- Instructions
- 142 lines in SKILL.md · view on GitHub
Files (52)
- SKILL.md
- approval-gates.md
- distribution.md
- evaluation.md
- failure-recovery.md
- regression-checklist.md · fixtures/expected/
- ambiguous-hardware.md · fixtures/prds/
- regulated-child-data.md · fixtures/prds/
- team-tasks.md · fixtures/prds/
- maintainer-rules.md
- ownership.md
- foundry.md · quality-gates/
- planner.md · quality-gates/
- refinery.md · quality-gates/
- upgrade-summary.md · quality-gates/
- validator.md · quality-gates/
- reference.md
- rerun-policy.md
- foundry-semantic-review.md · reviewers/
- planner-executability-review.md · reviewers/
- refinery-semantic-review.md · reviewers/
- validator-review.md · reviewers/
- blueprint.schema.json · schemas/
- drift-report.schema.json · schemas/
- frd.schema.json · schemas/
- work-order.schema.json · schemas/
- foundry.md · stages/
- planner.md · stages/
- refinery.md · stages/
- validator.md · stages/
- state-machine.md
- approvals-template.md · templates/
- clarifications-template.md · templates/
- adr-template.md · templates/foundry/
- adversarial-review-prompt.md · templates/foundry/
- manifest-example.json · templates/
- manifest.schema.json · templates/
- metrics-template.md · templates/
- migration-report-template.md · templates/
- README.md · templates/planner/
- context-graph-template.md · templates/planner/
- executability-score-template.md · templates/planner/
- work-order-template.md · templates/planner/
- README.md · templates/refinery/
- feature-tree-template.md · templates/refinery/
- frd-template.md · templates/refinery/
- product-overview-template.md · templates/refinery/
- stage-change-report-template.md · templates/
- README.md · templates/validator/
- drift-report-template.md · templates/validator/
- feedback-ingestion-template.md · templates/validator/
- versioning.md
SKILL.md (first lines)
# PRD to Work Orders `prd-to-work-orders` is the single user-facing PRD-to-Work-Orders workflow. It orchestrates four internal stages: 1. **Refinery** — raw PRD to structured requirements and FRDs. 2. **Foundry** — FRDs to technical Blueprints. 3. **Planner** — Blueprints to agent-ready Work Orders. 4. **Validator** — implemented code to drift reports and corrective Work Orders. The stage modules live in `stages/`. This file is orchestration only: detect the current pipeline state, enforce ownership and approval gates, route to the next valid stage, and keep the manifest current. ## Start Here At invocation, announce: > "I'm using the prd-to-work-orders workflow to move this product from PRD to implementation-ready Work Orders." Then run these checks in order: 1. Read `docs/prd-to-work-orders/manifest.json` if it exists. 2. Detect the current state using `state-machine.md`. 3. Check artifact ownership rules in `ownership.md`. 4. Check whether the requested action is a resume, patch, regenerate, or migrate using `rerun-policy.md`. 5. Load the mandatory modules for the selected stage. 6. Route to exactly one stage module. Never infer a stage from the user's wording alone. The manifest and filesystem decide what is safe to do next. ## Mandatory Reads Before any stage execution, read all common modules: - `state-machine.md` - `ownership.md` - `rerun-policy.md` - `approval-gates.md` - `failure-recovery.md` - The selected `stages/<stage>.md` - The selected `quality-gates/<stage>.md` Stage-specific required reads: | Stage | Additional files | |---|---| | Refinery | `templates/refinery/frd-template.md`, `templates/refinery/feature-tree-template.md`, `templates/refinery/product-overview-template.md`, `reviewers/refinery-semantic-review.md` | | Foundry | `templates/foundry/adr-template.md`, `templates/foundry/adversarial-review-prompt.md`, `reviewers/foundry-semantic-review.md` | | Planner | `templates/planner/work-order-template.md`, `templates/planner/context-graph-template.md`, `templates/planner/executability-score-template.md`, `reviewers/planner-executability-review.md` | | Validator | `templates/validator/drift-report-template.md`, `templates/validator/feedback-ingestion-template.md`, `reviewers/validator-review.md` | If any required module cannot be read, stop and report the missing module. Do not improvise stage behavior from memory. ## Pipeline State Summary | State | Meaning | Next valid action | |---|---|---| | `NO_INPUT` | No PRD path or pasted PRD is available. | Ask for the PRD. | | `PRD_READY` | Raw PRD exists; Refinery is not complete. | Run `stages/refinery.md`. | | `REFINERY_IN_PROGRESS` | Partial Refinery output exists. | Resume or regenerate Refinery. | | `REFINERY_COMPLETE` | FRDs and overview docs pass gates. | Run `stages/foundry.md`. | | `FOUNDRY_IN_PROGRESS` | Partial Blueprint output exists. | Resume or regenerate Foundry. | | `FOUNDRY_COMPLETE` | Blueprints pass gates and challenges are resolved. | Run `stages/planner.md`. | | `PLANNER_IN_PROGRESS` | Partial Planner output exists. | Resume or regenerate Planner. | | `PLANNER_COMPLETE` | Work Orders and execution phases pass gates. | Hand off to `verified-merge` with `source-work-order`. | | `IMPLEMENTATION_PRESENT` | Code exists for completed Work Orders. | Run `stages/validator.md`. | | `VALIDATOR_COMPLETE` | Drift report is complete and items are resolved or escalated. | Continue with CWOs or finish. | ## Required Module References - State machine: `state-machine.md` - Ownership: `ownership.md` - Reruns and regeneration: `rerun-policy.md` - Approval gates: `approval-gates.md` - Failure recovery: `failure-recovery.md` - Evaluation metrics: `evaluation.md` - Versioning: `versioning.md` - Maintainer rules: `maintainer-rules.md` ## Stage Routing ### Refinery Run `stages/refinery.md` when there is a PRD and no complete Refinery output. It owns `docs/refinery/**` and writes the `refinery` manifest section. ### Foundry Run `stages/foundry.md` only after Refinery is complete. It owns `docs/foundry/**`, requires capability-map approval, writes Blueprints, runs adversarial architecture review, and writes the `foundry` manifest section. ### Planner Run `stages/planner.md` only after Foundry is complete. It owns `docs/planner/**`, extracts Work Orders, assembles the context graph, proposes execution phases, and writes the `planner` manifest section. ### Validator Run `stages/validator.md` only when Planner is complete and implemented code exists. It owns `docs/validator/**`, detects drift, generates CWOs, escalates major drift, and writes the `validator` manifest section. ## Global Rules - Keep `SKILL.md` under 250 lines. Move stage behavior, templates, gates, and examples into linked files. - Do not edit upstream artifacts from a downstream stage. Reopen the owning stage or create a stage issue. - Do not delete or regenerate owned artifacts without explicit user approval. - Do not mark a stage complete unless its quality gates pass and the manifest section is current. - Record human approvals in `docs/prd-to-work-orders/approvals.md`. - Record metrics in `docs/prd-to-work-orders/metrics.md`. - Record reruns and migrations in `docs/prd-to-work-orders/run-log.md`. - Record clarifications in `docs/prd-to-work-orders/clarifications.md`. ## Output Structure ```text docs/prd-to-work-orders/ ├── manifest.json ├── approvals.md ├── metrics.md ├── run-log.md └── archive/ ``` Stage-specific outputs remain in:
From TribalScale/ts-harness, Apache-2.0.
More from TribalScale/ts-harness
- 0.600score
program-builder
TribalScale
Draft a new program (workflow, program, and routing intent) from a person's description on the admin program builder page.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
source-work-order
TribalScale
Source adapter that fetches Work Orders from docs/planner and maps them to NormalizedDeliveryContext for verified-merge.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
verified-merge
TribalScale
Delivers a unit of work through scoping, implementation, local verification, PR review, CI, merge approval, and post-merge verification using a pluggable…
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
implement-work-order
TribalScale
Implement one governed work order from docs/planner specs.
SkillAFreshness: A★ 2Claude Code +9 - 0.597score
prd-to-work-orders-governed
TribalScale
Governed-runtime PRD-to-Work-Orders for enterprise workflow dispatch (JSON artifacts, no manifest/filesystem).
SkillAFreshness: A★ 2Claude Code +9 - 0.595score
coding-practices
TribalScale
Mandatory TDD, verification, and root-cause debugging for governed work-order implementation.
SkillAFreshness: A★ 2Claude Code +9 - 0.595score
governed-code-review
TribalScale
Governed code review of delivered PRs against the work order before the QA gate.
SkillAFreshness: A★ 2Claude Code +9 - 0.595score
bdd-acceptance
TribalScale
Derive and automate BDD/Gherkin acceptance scenarios from work orders and planning docs.
SkillAFreshness: A★ 2Claude Code +9 - 0.595score
source-work-order-governed
TribalScale
Governed-runtime source adapter that reads Work Orders from planner JSON artifacts and maps them to NormalizedDeliveryContext for implement handoff.
SkillAFreshness: A★ 2Claude Code +9 - 0.595score
governed-qa-gate
TribalScale
Governed QA gate that verifies delivered PRs against acceptance criteria before the human merge wait.
SkillAFreshness: A★ 2Claude Code +9 - 0.595score
verified-merge-governed
TribalScale
Governed-runtime work-order delivery via run_coding_backend (OpenCode) and host git/gh.
SkillAFreshness: A★ 2Claude Code +9 - 0.592score
draft-rfp
TribalScale
Draft an RFP response markdown artifact for governed sales review.
SkillAFreshness: A★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 17, 2026 (15 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/TribalScale/ts-harness
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from TribalScale
- 0.600score
program-builder
TribalScale
Draft a new program (workflow, program, and routing intent) from a person's description on the admin program builder page.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
verified-merge
TribalScale
Delivers a unit of work through scoping, implementation, local verification, PR review, CI, merge approval, and post-merge verification using a pluggable…
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
implement-work-order
TribalScale
Implement one governed work order from docs/planner specs.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
source-work-order
TribalScale
Source adapter that fetches Work Orders from docs/planner and maps them to NormalizedDeliveryContext for verified-merge.
SkillAFreshness: A★ 2Claude Code +9 - 0.597score
prd-to-work-orders-governed
TribalScale
Governed-runtime PRD-to-Work-Orders for enterprise workflow dispatch (JSON artifacts, no manifest/filesystem).
SkillAFreshness: A★ 2Claude Code +9 - 0.595score
source-work-order-governed
TribalScale
Governed-runtime source adapter that reads Work Orders from planner JSON artifacts and maps them to NormalizedDeliveryContext for implement handoff.
SkillAFreshness: A★ 2Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get prd-to-work-orders running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
prd-to-work-orders skill. Agent Mart. https://agentmart.dev/skills/tribalscale-prd-to-work-orders (last updated 2026-10-24)