/shipwright-project:shipwright-projectfrom shipwright-project
Decomposes project requirements into well-scoped planning units for Shipwright's planning phase. Generates CLAUDE.md and agent documentation for new or extended projects.
Ships in shipwright-project. 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.
Decomposes project requirements into well-scoped components for /shipwright-plan. Enhanced fork of deep-project with profile-aware decomposition and project scaffolding.
This Kern is a thin orchestrator — section headers + cross-references to
references/*.md. Read the references on-demand when the corresponding
step fires. The agent reads Kern fully at startup; references are loaded
when their step is reached.
Governing rules: Read and follow shared/constitution.md (ALWAYS /
ASK FIRST / NEVER boundaries).
BEFORE using any other tools, complete the First Actions checklist in references/first-actions.md:
shipwright_run_config.json
presence; if missing, AskUserQuestion + END TURN)The reference file is authoritative for the exact prompts, banner text, shell invocations, and resume-step mapping. Do not paraphrase or condense — copy verbatim from the reference into your output where required.
When this phase runs as a phase-runner subagent under the single-session
pipeline (shipwright_run_config.json mode: "single_session"), interactive
AskUserQuestion gates — incl. A.1 and Step 4 — follow a per-gate policy.
Resolve each before stopping:
uv run "${SHIPWRIGHT_PLUGIN_ROOT}/../../shared/scripts/tools/resolve_gate_policy.py" \
--phase project --list --project-root .
Apply the effective_policy: auto-default → proceed with the default_answer
(no END-TURN; e.g. the interview is answered from the seed, the split manifest is
auto-approved); orchestrator-approve / hard-stop → STILL STOP and hand back to
the orchestrator (never auto-answer — e.g. a missing Supabase secret). Outside a
driven single-session run (standalone / adopted) every gate is interactive. Full contract:
shared/prompts/single-session-gate-discipline.md.
See references/step-0-context-recovery.md.
If the orchestrator handed you a phaseTaskId (you were dispatched as a
phase-runner subagent by /shipwright-run), run get_phase_context.py --phase-task-id <id> BEFORE Step 1. Otherwise (standalone), continue
with Step 1.
See references/step-1-interview.md for the full step. Detailed interview guidance is in references/interview-protocol.md.
Goal: Surface the user's mental model of the project and combine it with Claude's intelligence.
Assumptions-first (before the first clarifying question): list your inferred assumptions explicitly — web-app vs CLI, stack, persistence, auth model — and ask the user to correct them. See the "Surface Inferred Assumptions First" pre-phase in interview-protocol.md.
Context to read depends on input mode (File / Inline / Chat). For
Extension scope, read ALL existing project context (CLAUDE.md,
.shipwright/agent_docs/*, all .shipwright/planning/*/spec.md).
Interview depth ranges Light (1-3) for Extensions to Deep (8-15) for Chat-mode Full Applications. One AskUserQuestion per question.
Checkpoints:
{planning_dir}/shipwright_project_interview.md (transcript){planning_dir}/requirements.mdSee references/split-heuristics.md for evaluation criteria.
Goal: Determine if project benefits from multiple splits or is a single coherent unit.
Context to read:
{initial_file} - The original requirements{planning_dir}/shipwright_project_interview.md - Interview transcriptSee references/project-manifest.md for manifest format.
Goal: Summarize splits, map relationships and write the project manifest.
Checkpoint: Write {planning_dir}/project-manifest.md with Claude's
proposal.
See references/step-4-confirmation.md.
Goal: Get user approval on split structure.
Present the manifest and use AskUserQuestion to get the user's feedback.
If changes requested, update project-manifest.md directly and
re-present. On approval, proceed to Step 5.
See references/step-5-create-dirs.md.
Goal: Create split directories from the approved manifest.
uv run "{plugin_root}/scripts/checks/create-split-dirs.py" --planning-dir "{planning_dir}"
Checkpoint: Directory existence. Resume from Step 6 if directories exist.
See references/step-6-spec-gen.md. Detailed file formats in references/spec-generation.md. Blocking gate: an FR is not finished until it passes references/step-6-fr-scope.md (one function per FR).
Goal: Write spec files for each split directory.
Checkpoint: Spec file existence.
See references/step-7-scaffolding.md. Detailed CLAUDE.md + AGENTS.md + .shipwright/agent_docs generation in references/project-scaffolding.md.
Goal: Generate CLAUDE.md, AGENTS.md, and .shipwright/agent_docs/ for
the target project.
This step only runs for Full Application scope. Extensions already have these files.
Key sub-flows (see reference for the verbatim shell commands and templates):
uv run --no-project "{shared_root}/scripts/tools/resolve_profile.py" list --project-root "{project_root}" --json; the user may pick a custom one by name (an invalid or unlisted explicit pick stops, never falls back), no match keeps generic
(see the reference).architecture.md, decision_log.md,
conventions.md, and .claude/rules/*.md.suggest_iterate is registered in
shipwright-iterate; no project-level install. Cleanup of legacy
.claude/settings.json UserPromptSubmit entries is documented in
the reference.write-project-config.py.decision_log.md via the shared
write_decision_log.py tool — once per project-specific decision.supabase init,
supabase link --project-ref, verify .supabase/ exists.delete_branch_on_merge=true if a
GitHub remote exists.architecture.md exist through
the shared producer (never write the schema directly):
uv run "{shared_root}/scripts/tools/area_catalog.py" seed-greenfield --project-root "$(pwd)" --source project.Checkpoint: CLAUDE.md existence + AGENTS.md existence +
supabase/config.toml existence (supabase-nextjs only).
See references/step-8-completion.md for the full verification list, the C1/C2/C3/C4/C5 + phase_history canon, and the final summary banner.
Verification (all must pass before "phase complete"):
All declared splits have spec.md files
project-manifest.md exists and lists all splits with execution order
CLAUDE.md and AGENTS.md exist (Full Application only) — AGENTS.md is
code-gated (check_agents_md_completion), see step-8-completion.md
.shipwright/agent_docs/ directory exists with all 3 files —
architecture.md, decision_log.md, conventions.md (Full Application
only; session_handoff.md is written later by the Stop hook, not
scaffolded here, and does not count toward this check)
Spec Completeness Gate — Scope + FRs + NFRs in each spec.md
Manifest-Spec Consistency — bijection between manifest and spec.md files
Grill-Trace Completeness Gate (P4.2) — run
verify_grill_trace_completeness.py over every grill-trace record
the interview wrote (see interview-protocol.md → "Capturing the
grill-trace"). Code-enforced: it is registered in
project_checks.run_project_checks(). In a driven run
single-session-apply's phase gate runs that dispatcher (enforcing by
default) and rejects the result on red; on a standalone / legacy run
update-step does (it is inert in a driven run). Running the CLI
yourself first surfaces the same gap earlier. A missing trace, a blank
dimension, an assumed value (no exceptions in this surface), an
undefined term, or an outcome with no fit criterion means the phase is
NOT complete. Never judges prose quality, only structural completeness.
Project brief mode (the run was started with a Brief package, i.e.
shipwright_run_config.json carries brief_dir): the interview is
replaced by brief_project_mode.py — see
references/brief-mode.md. The same dispatcher
also runs brief_evidence_anchors and brief_fr_names for such a run:
they read the brief's content, which the shape-only gate cannot.
Phase complete — update pipeline state by running the
C1/C2/C3/C5 + phase_history block from
references/step-8-completion.md. On a
standalone run, finish with the orchestrator update-step call; in a driven
run it is inert — hand the result to single-session-apply, whose phase gate runs the checks.
See references/error-handling.md for the invalid-input-file and session-conflict prompts.
references/brief-mode.md (opens in a new tab)references/error-handling.md (opens in a new tab)references/first-actions.md (opens in a new tab)references/interview-protocol.md (opens in a new tab)references/project-manifest.md (opens in a new tab)references/project-scaffolding.md (opens in a new tab)references/spec-generation.md (opens in a new tab)references/split-heuristics.md (opens in a new tab)references/step-0-context-recovery.md (opens in a new tab)references/step-1-interview.md (opens in a new tab)references/step-4-confirmation.md (opens in a new tab)references/step-5-create-dirs.md (opens in a new tab)references/step-6-fr-scope.md (opens in a new tab)references/step-6-spec-gen.md (opens in a new tab)references/step-7-scaffolding.md (opens in a new tab)references/step-8-completion.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub svenroth-ai/shipwright --plugin shipwright-projectOther plugins' skills for the same job