/ceh-product-direction:write-vision-and-strategyfrom ceh-product-direction
Load this skill when a repo's direction must be written down to settle later decisions: a vision and a strategy, drafted from the repo, then confirmed with its owner. Trigger on "write the vision", "create a strategy doc". Not for a business plan (use ceh-product-direction:develop-business-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 the two files that let a later session settle a decision without asking: VISION.yaml, why
the repo exists and which principles decide, and STRATEGY.yaml, how it gets there and how work is
chosen.
Done means both pass the tests below, and each is adopted with a pointer from CLAUDE.md, or
draft with its open questions listed. The repo may hold code or only documents. Read it the same
way.
.agents_workspace/product/, docs/, the root, and
any path the repo's CLAUDE.md names. A doc found only at the old root product/, in a repo
whose CLAUDE.md names no location, is reported with its move (each file under root product/
to the same sub-path under .agents_workspace/product/) and the run stops, never reading it or
writing beside it, because two folders split the artifacts again. An existing doc stays where
it is and is revised: change only what the request
or a finding needs, and keep the owner's wording. A request for one doc when the other is missing
drafts both, because the two hold up against each other. An existing Markdown doc is moved to
its YAML first, per Output: one with no schema: line gets status: adopted when the repo's
CLAUDE.md or the owner already treats it as binding, otherwise draft. Its sections outside
the template go in extra_sections, and a required field it lacks reads "Not stated yet." until
a later step writes to it, so an adopted doc stays adopted through the move.CLAUDE.md, .claude/rules/, plans, any architecture,
ideas, or roadmap file, the changelog, and recent git log. Read no business plan: the vision
feeds it, never the reverse, because its dated tests would become the docs' goals. When what
the repo does and what it claims differ, what it does is the evidence.status: draft, because a draft on disk survives
an interrupted session. Mark every statement of intent no source backs with [assumed]. An
adopted doc stays adopted and never gets an [assumed]: a change the owner has not confirmed
goes to step 4 as a question, and is written only once they confirm it.[assumed]. Stop when none remain or after eight
questions. Intent nobody wrote down is a fact only the owner has, which is why this skill
interviews. Ask nothing else except the confirmation in step 7.[assumed] to confirm or correct. On
their yes, set status: adopted, and add one pointer to the repo's CLAUDE.md, creating it if
missing and unless one already points at these docs: read these docs before changing direction,
and every change holds up against them. Otherwise the doc stays draft with no pointer, because
an assumption must not bind later sessions.| Test | Ask | Fails when |
|---|---|---|
| Opposite | Would a sane project choose the opposite of each principle or non-goal? | Nobody would: "high quality" and "user-focused" are not choices |
| Past decision | Take two real decisions from the plans, ideas, or history. Does the doc settle them? | It settles neither, so the doc only decorates the repo |
| Rejected item | Name one tempting thing the scope test refuses. | The test refuses nothing |
| Checkable goal | How would someone tell each goal is met or not, with a measure the owner gave or the repo shows? | Nobody could tell |
| Reason | Could a reader apply each principle to a case the text does not cover? | The principle has no reason |
| Said once | Is each idea stated in full in one section only, with the others naming that section? | An "is not", goal or non-goal repeats a principle or each other |
| Strategy adds | Which strategy lines say how, not what the vision already says? | The strategy restates the vision |
| Chooses work | Give the work rule two real candidates. Does it pick one? | It accepts both or neither with no reason |
| Fits the repo | Does each major part of the repo appear in The parts? | A part appears nowhere, or the doc names one that does not exist |
.agents_workspace/product/business/.VISION.yaml follows assets/vision.template.yaml, per the vision/v2 section of
references/vision-schema.md, and STRATEGY.yaml follows assets/strategy.template.yaml, per the
strategy/v2 section of references/strategy-schema.md. VISION.md and STRATEGY.md are
rendered from them in the layouts of assets/vision.template.md and assets/strategy.template.md,
and never edited by hand. Both go in .agents_workspace/product/ unless step 1 found them elsewhere, and each YAML
sits beside its Markdown. An existing Markdown file with no YAML beside it is moved first, as the
schema says.
Before editing a YAML, run uv run --script ${CLAUDE_SKILL_DIR}/scripts/artifact.py check <file>
and stop on exit 1 with its errors. 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 each file's path and status, the result of each test, and the
open questions.
status: draft, add no pointer, change nothing in an adopted doc and report its proposed edits
instead, and mark any test with nothing to run against not run: nothing to test against. End with
the questions you would have asked, in order, each with the assumption you used.ceh-every-session:stress-test-plan.ceh-product-direction:write-product-requirements.ceh-build-plan:write-build-plan.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/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
11 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.npx claudepluginhub cheneeheng/ceh-claude-code-library --plugin ceh-product-direction