/ceh-product-direction:write-product-requirementsfrom ceh-product-direction
Load this skill when breaking a product into features before any is planned, even if a chat list or a hand edit seems enough: PRD.yaml. Trigger on "write the PRD", "break the product into features", "what features do we need". Not for one feature (use ceh-build-plan:write-build-plan).
Ships in ceh-product-direction. 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; scripts run unread.
Write PRD.yaml, the list of features a product has or will have, so the next build plan is
picked from a list instead of from whatever seems next. Each feature carries its user, its
requirements, its acceptance criteria and its status. Done means the file passes the tests below
and its check, and is adopted, or draft with its open questions listed.
PRD.yaml in .agents_workspace/product/ and any path the
repo's CLAUDE.md names. Run artifact.py check on it, per Output, and stop on exit 1 with
its errors, unless the only error is a stale .md, which the render after your edit fixes.
An existing file is revised in place: change only what the request or a finding
needs, and keep every id in features, non_goals or replaced. A PRD or spec the user
names in another format (a PRD.md, an issue, a pasted document) is input: read it, and
never edit it.VISION.yaml and STRATEGY.yaml
in .agents_workspace/product/, or their .md in docs/, the root, or where CLAUDE.md
says), the README, CLAUDE.md, the status, goal and scope keys of each plan YAML in
.agents_workspace/product/plan/, and the code. For each VISION.yaml or STRATEGY.yaml
that exists, run uv run --script ${CLAUDE_SKILL_DIR}/scripts/artifact.py check <file>.yaml
before reading it (formats in ${CLAUDE_SKILL_DIR}/references/vision-schema.md and
strategy-schema.md). On exit 1, stop and report its errors, because features drafted from
a broken source carry the error. On a stale .md alone, read the YAML instead. On exit 2 or
3, or without uv, say in the reply that the file went unchecked, and go on.
Read no business plan: its dated tests would become the features' requirements.status: draft, because a draft on disk survives an interrupted
session.
built, with the plans that built it, so the list is whole.non_functional. A tempting feature the product refuses goes in non_goals with its reason.[assumed].[assumed]. Fold the answers in and remove
each [assumed] they settle. Which features a product gets is intent only the owner has.status: adopted. Otherwise it stays
draft, because an assumption must not bind later sessions. An adopted file takes a change
the owner has not confirmed only as a question.artifact.py render on the file, per Output.| Test | Ask | Fails when |
|---|---|---|
| Observable | Does each requirement state behaviour a user or caller can observe? | It names an implementation |
| Checkable | Can a command or a named manual check pass or fail each acceptance item? | Nobody could tell |
| One plan | Can one build plan deliver each feature in its own pull request? | It needs several, so it splits |
| Traces | Which vision goal or strategy line does each feature serve? | None, or it is a vision non-goal |
| Refuses | Name one tempting feature the non-goals refuse. | non_goals is empty in a product with a vision |
| Clean | Does the file hold pricing, dates, tests or contacts from a business plan? | It does |
With no vision or strategy in the repo, mark Traces and Refuses not run: nothing to test against, say so, and suggest ceh-product-direction:write-vision-and-strategy.
status and plans only to match plans that exist. Planning a feature is
ceh-build-plan:write-build-plan's job, and building it ceh-build-plan:implement-from-plan's.id. A feature that is dropped moves to non_goals with its
reason and keeps its id there, so the check refuses a later feature that takes it, because
plans and commits name features by id.built feature, never rewrite it, when code built to its old requirements or
acceptance items would fail the new ones. The new behaviour is a new feature with a new id.
The old one moves to replaced with the successor in replaced_by, today's date, the reason
and its plans, so features is always the product as it is now and the old text is not
left beside the new.depends_on
names only an earlier feature.id: a reworded item the old code still passes, a
changed name or user, and any change to a todo or planned feature, because nothing is
built to it yet. For a planned one, say in the reply that its plan must be revised before
it is built.built feature that gains a requirement stays built. Name the new requirement in the
reply as work for ceh-build-plan:write-build-plan, which sets the feature planned when it
plans it.replaced is history. Never edit an entry but to correct it, and never plan from one..agents_workspace/product/business/.PRD.md is rendered from it, and the caller commits both.PRD.yaml follows ${CLAUDE_SKILL_DIR}/assets/prd.template.yaml, per
${CLAUDE_SKILL_DIR}/references/prd-schema.md, and goes in .agents_workspace/product/ unless
step 1 found it elsewhere. PRD.md is rendered beside it and never edited by hand.
Before editing an existing file, run
uv run --script ${CLAUDE_SKILL_DIR}/scripts/artifact.py check <file> and stop on exit 1 with
its errors, unless the only one is a stale .md. After the last edit, run it with render and fix the YAML for each error it lists.
On exit 2 or 3, or without uv, say in the reply that the file went unchecked and unrendered.
Close the reply with the file's path and status, the feature table (id, name, status, depends on), each feature replaced in this run with its successor, the result of each test, and the open questions.
status: draft, change nothing in an adopted file and report the proposed edits
instead. End with the questions you would have asked, in order, each with the assumption you
used.ceh-build-plan:write-technical-design.todo feature, suggest ceh-build-plan:write-build-plan.assets/prd.template.yaml (opens in a new tab)assets/strategy.template.md (opens in a new tab)assets/strategy.template.yaml (opens in a new tab)assets/vision.template.md (opens in a new tab)assets/vision.template.yaml (opens in a new tab)references/prd-model.py (opens in a new tab)references/prd-schema.md (opens in a new tab)references/strategy-model.py (opens in a new tab)references/strategy-schema.md (opens in a new tab)references/vision-model.py (opens in a new tab)references/vision-schema.md (opens in a new tab)scripts/artifact.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub cheneeheng/ceh-claude-code-library --plugin ceh-product-direction11 skills in this plugin
/develop-business-planLoad this skill when anything about a business plan comes up: the single entry point that routes to the specialist skill for the moment. Trigger on "write a business plan", "validate my product idea", "do the numbers work", "run a premortem", "write a pitch deck"./find-product-market-fitThe product-market-fit loop that drafts `BUSINESS_PLAN.yaml` and interrogates its weakest assumption until the 8-point readiness gate passes, called by ceh-product-direction:develop-business-plan./plan-go-to-marketWrites a business plan's go-to-market section, with the first ten customers, one channel, its arithmetic, and a pass-or-fail channel test, called by ceh-product-direction:develop-business-plan./review-business-planReport-only board review of a business plan that scores seven lenses and names the one finding that most changes it, called by ceh-product-direction:develop-business-plan./run-premortemPremortem on a business plan that writes how it fails and gives each top risk a warning signal, a kill criterion set in advance, and a loss cap, called by ceh-product-direction:develop-business-plan./set-operating-planTurns an agreed business plan into a 90-day operating plan of at most three objectives with owned key results and weekly inputs, called by ceh-product-direction:develop-business-plan.