/ctx:ctx-prdfrom ctx
Create a PRD or continue its gated lifecycle when the user explicitly requests PRD work. Not for ordinary implementation or open-ended discussion.
Ships in ctx. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Own one product decision from clarification through verified gates. The canonical interface is one concise Obsidian PRD plus linked evidence artifacts—not a planning stack.
Use PRD only when the user requests a PRD, invokes CTX PRD, or explicitly continues a named PRD gate. Unresolved product or visual direction alone does not activate this workflow. Discuss such decisions without creating artifacts unless requested; settled work does not automatically route to ctx-lean.
Preserve the user's original authorization:
Inspect the prompt and available evidence for intent, observable success, constraints, and current truth. Ask nothing when these are sufficient. Never ask for repository, runtime, or artifact facts available through tools.
When a consequential product choice remains, read Product Interview. Ask one question at a time until the product contract and meaningful gates are decision-ready.
Completion criterion: every unresolved question can materially change user behavior, scope, a gate, or its verifier; otherwise clarification is complete.
Read Artifact Contract and references/runtime.md. Resolve ObsidianArtifactStore; if unavailable, stop with that missing capability. Do not create a repository or local-file fallback PRD.
Create one one-page core with 1–5 observable vertical gates in the exact hierarchy defined by Artifact Contract. Every gate carries:
Planning/ ctx-lean plan;Keep product scope, gate state, decisions, and evidence in the PRD. Keep implementation detail, reuse decisions, lane ownership, and verification procedure in the linked plan. Every plan links back to the PRD; a gate cannot activate while its plan is missing, unresolved, mispathed, or structurally invalid.
Completion criterion: Obsidian contains one canonical, link-valid PRD and one valid linked plan per gate. A reader can understand the product contract in five minutes without duplicating the plans.
Approval may be an explicit statement in chat or the PRD approval checkbox. Record approver, timestamp, and lifecycle status in frontmatter before execution.
If the original request authorized only the PRD, stop after approval. If it authorized implementation, continue to gate execution; Gate 1 activates only through PrdCheckpoint.
Completion criterion: approval state in the canonical PRD matches the user's actual authorization.
Before mutation, read references/continuity-execution.md, references/prd-checkpoint.md, references/runtime-interface.md, and references/runtime.md.
For the current gate only:
PrdCheckpoint with activate, or assert-active when already active. Activation verifies the deterministic plan path, plan backlink, section order, and preceding-gate pass before source mutation can begin.PrdCheckpoint with the resulting update, block, fail, or pass transition and re-read the returned revision.Checkpoint every material change in execution truth before unrelated work or yield. Record current truth and durable evidence, not scenario results, implementation journals, worker reports, or task checklists.
pass and advance only after the attested write.pass only after explicit acceptance.retry.Before merging PRD-owned work, call assert-merge at the exact expected revision. After a successful merge, call record-merge with the PR and commit pointer. A gate, merge, or completion claim is invalid until its checkpoint succeeds.
Completion criterion: the canonical PRD and linked artifacts state exactly what the named verifier observed, and PrdCheckpoint returns the attested revision before any next-gate work begins.
Resume from the Obsidian lifecycle state and current checkpoint. Capture its exact revision, then verify recorded branch/worktree and runtime claims before invoking resume, retry, or assert-active as required by the recorded gate state.
When an approved decision changes, pause active execution, then call PrdCheckpoint with amend at the exact revision. Replace only the affected decision and gate, append one material amendment with date and rationale, and preserve pending status unless implementation was separately authorized. Do not reopen settled gates unless the change invalidated their evidence.
For a pre-v0.3.1 PRD, run the deterministic migration described in Artifact Contract before lifecycle work. Migration preserves existing state and history, never invents missing product behavior or implementation content, and fails with the expected plan path when a linked plan must be created.
Overall completion requires every gate passed by its named verifier, the PRD marked complete, and every evidence link resolved.
references/artifact-contract.md (opens in a new tab)references/continuity-execution.md (opens in a new tab)references/prd-checkpoint.md (opens in a new tab)references/product-interview.md (opens in a new tab)references/qa-evidence.md (opens in a new tab)references/runtime-interface.md (opens in a new tab)references/runtime.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub garabed96/ctx-core --plugin ctx5 skills in this plugin
/ctx-alignReview a prompt or skill for unclear intent, conflicting instructions, and unnecessary process when the user requests prompt calibration./ctx-discussExplore a decision with the user before implementation. Use when they ask to discuss options, tradeoffs, or direction./ctx-frontendReview or change frontend data flow, query caching, API integration, or mutation state. Not for visual styling or layout-only work./ctx-leanExecute a settled outcome when the user explicitly requests CTX Lean or continues a named PRD implementation plan.