---
name: source-command-prd-workflow
description: Inspect, plan, run, resume, retry, cancel, or audit deterministic PRD Plugin workflows. Host-native /prd-workflow equivalent for hosts that load skills instead of Claude command files; trigger on "/prd-workflow", "prd-workflow", or a request to run the prd-workflow operation.
---

# /prd-workflow (host-native command skill)

Generated from `commands/prd-workflow.md` by `scripts/generate_command_skills.py` — do not edit by hand; edit the command file and regenerate.

Treat the user's invocation as this command. Where the instructions use `$ARGUMENTS`, substitute the arguments the user supplied (expected: <list|actions|audit|plan|run|status|resume|retry|cancel> [arguments]).

Use the deterministic workflow authority rather than reconstructing lifecycle mechanics in the model.

Run:

```bash
python .prd_plugin/scripts/prd_workflows.py --repo-root . $ARGUMENTS --json
```

Rules:

- Start with `list`, `actions`, `audit`, or `plan` when discovering behavior.
- Supply a stable `--idempotency-key` for repeatable `run` calls.
- A `waiting_judgment` result is not completion. Give the hash-bound request to the configured external executor, then pass its envelope to `resume`.
- Never edit workflow run state or receipts by hand.
- Never retry `outcome_unknown`; reconcile the canonical mutation first.
- `hub.release` is the only shipped workflow that deliberately invokes release-wide verification.

## Staleness

This adapter owns no records of its own; apply the shared policy in `.prd_plugin/method/staleness-rules.md` to any records the underlying operation reads or writes.
