/delvewright:new-delvefrom delvewright
Generates a complete playable Minecraft delve from a creative prompt using staged DSL authoring with validation-loop self-repair, deterministic compilation, and machine validation.
Ships in delvewright. 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.
None: SKILL.md is the whole skill.
This page is the spine: the asks, the thirteen steps in order, the standing constraints, and a pointer per step to the file that carries its body. Read the pointer's file when you reach that step, and not before.
You are the agent, and this page is your procedure. The skill is the generation front-end; Claude Code is the runtime that executes it, and building a separate agent runtime is permanently out of scope (ADR-0012). Someone typed /delvewright:new-delve <prompt>; that person is the user for the rest of this page.
Every command below is yours to run and every document below is yours to write. A question to the user is a design question: a creative judgement that needs a person's attention, in words a player who has never seen delvec, a DW code, a schema or a file path can answer from the message alone. Anything technical — a refusal, an engine limit, a default, a workaround — is decided by you and never put to the user: take the default the page states, record the event with scripts/debug-note.py (it writes only when DELVEWRIGHT_DEBUG is on, so the instruction is the same either way), and carry on. A departure from the design the player will see is reported at the hand-over in player words, whether debug is on or off.
The run stops for the user at these points and at no other:
| id | where | what the user is asked, in player words | what the run waits for |
|---|---|---|---|
| A1 | the opening check, once, before step 1 | one message carrying only the items that apply: the delve itself when the prompt is too thin, the languages, the image-service key, the translation key | one answer, read for each item; an item the prompt already pins is not asked |
| A2 | step 4, the design gate; references/design-gate.md, the stop | the design walkthrough — every scene, a near view and a far view, each under its hour and weather — and the one line: Is this the delve you want built? | an explicit yes; silence is not one; a yes to the pictures is a yes to the hour they were drawn under |
| H | the hand-over's report, at step 13 | the storybook, the connect line, what the machine could not check, and the report | nothing: the run ends |
At A1 and A2: say what you have done, hand over the thing, say what you need back, and the turn is over. Do not proceed on silence, do not substitute your own judgement for the answer, and never write anything that asserts a step whose actor is the user actually happened — an approval nobody gave is how this pipeline produces a green run and a delve no one has ever looked at.
Offers are optional and never a stop; each is presented beside the approved image where one exists, and the run proceeds without an answer. O1: which candidate piece or which frame, where a page offers a choice. O2: standing in the running game where a shot should be taken (a render camera nobody is satisfied with), the camera's field of view taken as 70, the game's default, unless the user volunteers a number.
You author a delve as a set of JSON documents. delvec turns them into a datapack and a world. You never write mcfunction, dialog files or datapack JSON, and you never hand-edit an .nbt — everything the player meets is compiled from the documents you wrote.
A campaign lives under the working directory, at campaigns/<campaign-id>/, whatever that directory is: an empty one the user started Claude Code in, a clone of the content repository, or a checkout of the engine itself. Read the engine constitution at "$DELVEWRIGHT_ENGINE/CLAUDE.md" once Init has cloned it; the forbidden zones apply in full. That file names its own other half, CLAUDE.local.md, and tells whoever lacks it to say so and ask "before improvising anything about dispatch, review, merge or staging". You will not have it — it is gitignored on the operator's machine, so no clone can produce it — and this page improvises none of those four. It stops at §4 and hands that to the user; §13 hands over and ends. So record the absence in one line and carry on with the run.
A prompt is a constraint set over the documents: honour everything it pins down — theme, specific levels, plot beats, NPCs, homages — and invent the rest. A prompt too thin to pick a theme and a target length is the opening check's item (a); otherwise proceed.
A thin prompt is creative licence. When a prompt pins down little — a one-line theme, no detailed brief — treat it as a showcase brief and deliberately exercise the breadth of what the engine supports, so that a stranger playing the result discovers what it can do. Do not work from a written feature list, which rots as the schema moves: query the live schema (delvec schema --stage all) for the available verbs and effects, then aim to include, wherever the story can carry them coherently: multi-area transport as a narrative beat, flag-gated dialogue consequences, real props and set dressing, at least one tuned combat or stealth encounter, narration beats, and varied NPC presentation. Coherence and pacing always win over feature count — never bolt on a mechanic the story cannot motivate.
A detailed brief is the opposite: honour exactly what it pins down and showcase nothing extra. What is never extra, under either brief: every line of the plan has a body the player performs and is budgeted for it — a conversation is how a line opens and closes, not what it is (steps 3 and 5).
Every round changes only what was asked for. A mechanics fix must not incidentally rewrite story, staging or dialogue; an approved change that moves the design updates DESIGN.md in the same commit; and every round ends with a conformance review — diff the campaign's current behaviour against DESIGN.md beat by beat and report any deviation nobody asked for instead of shipping it. Drift found in review is restored to the design or escalated, never silently kept.
Everything below happens in this order, and the order is not a suggestion — each step needs something the step before it produced.
Init every run: I0 · I1 · I1b, the pin check ── §Init
I1b exits 0 before any document is read or any
subcommand is run; the rest of Init is run where
I1b names it
↓
A1 opening one message: only the items that apply
↓
1 workspace the campaign directory and its documents
2 placement the map's reference, then brief → graph → plan
3 story npcs · classes · quest-plan
4 GATE A2 — the design walkthrough, the user says yes
5 content quests · dialogue
5b script a fresh reader reviews the script, when the story was yours
6 fmt delvec fmt ← every campaign, not optional
7 analyze analyze the quest graph
8 build build the datapack and the world
8b cameras one showcase camera per approved image
9 detail every place, N authors at once, commits one at a time
10 ladder PackTest · bot · branch runs, on the detailed build
11 chronicle only when the plan declares branch_points
12 visual the POV sequence, then the renders
13 hand over H — storybook, staging gate, the report — the end
One branch changes what you do, and it is decided before step 1: do you already have approved reference art? A campaign being re-made from an approved design carries its images in campaigns/<id>/design/. If that directory exists, you need no image provider and Init I7 is a read rather than a setup.
They hold at every step by their nature, and nothing below repeats them.
zh-cn sidecar only when localized in-game text is asked for.git add of a document or sidecar is delvec fmt <campaign-dir>; CI runs delvec fmt --check. A diff that rewrites a file nobody edited is the defect this closes. A place's program is held to it where it enters: delvec detail and detail --check refuse one not in canonical form (DW0773), and the starter's run writes it canonical.--hq is drawn only for the delivered pictures. delvec frames, delvec cameras and delvec panorama draw quick, in seconds, with no flag — the frames of steps 8b and 12 and every look at a storybook candidate. cameras --hq and panorama --hq path trace for minutes a frame, and are drawn once, at step 13, for the storybook's pictures.Every run starts here, and a run on a machine that has run Init before is no exception. I0, I1 and I1b run first on every run; I1b compares the binary, the engine tree and .out/env.sh with this page's own versions.toml, and no campaign document is read and no delvec subcommand is run until it exits 0. If any step here cannot be completed, say so and stop.
The commands, what each step leaves true, and the meaning of every failure are references/init.md. Read it now and run from it. The steps, in order:
dev or creator, and where the engine tree is.git, Python 3.11 or later, the skill root, Docker and Compose v2.scripts/check-toolchain.py exits 0.delvec, I3b · the floor, I3c · the binary: the toolchain at the pin..out/env.sh.Each of them through .out/env.sh:
mkdir -p .out
"$DELVEWRIGHT_PYTHON" "$DELVEWRIGHT_SKILL/scripts/check-toolchain.py" \
--mode "$DELVEWRIGHT_MODE" --engine "$DELVEWRIGHT_ENGINE" # I1b: exit 0
echo "$DELVEWRIGHT_ENGINE" # the engine checkout, non-empty
delvec --version # EQUAL to the pin's number, and the dsl number
delvec grammar list # the rule library, through the one binary
delvec --prefabs "$DELVEWRIGHT_PREFABS" render fidelity-gate
delvec --prefabs "$DELVEWRIGHT_PREFABS" grammar expand --program idiom-shape \
--region 15x9x3 --seed 1 -o .out/probe
delvec --prefabs "$DELVEWRIGHT_PREFABS" palette .out/probe/idiom-shape.nbt \
-o .out/palette.json # the client jar
docker info # the daemon: step 13's play server
docker compose version # the plugin: all of step 10's ladder
Any line answering wrongly means Init is not finished, and references/init.md's I8 says what each one means when it does not answer.
Once Init is finished, ask the user one message carrying only the items below that apply — an item the prompt already pins is not asked — and end your turn there. Read the one answer for each item; nothing of step 1 is written before it. Each item is a thing only the person holds:
world.json's languages.design/, Init I7), and only when neither GEMINI_API_KEY nor IDEOGRAM_API_KEY is set: The design will be shown to you as pictures. I can draw them with a paid image service you have an account with — Google Gemini or Ideogram — if you paste its key; otherwise you will review the design as text and plans.references/other-languages.md): 's text is written by a translation service; paste a DeepSeek key, or it is written here, which a native-reader trial found worse.A key pasted under (c) or (d) goes into .out/env.sh under its provider's name, and you say so in one line. An item declined is the user's choice, and the run proceeds on the other path.
Every campaign's map is a site plan (ADR-0032): the whole map's design of record — a brief of numbers, a graph of places and connections, and the plan that embeds the graph — from which the engine derives where everything stands, and one piece per place, each drawing its own walls, roof and ground inside the frame the plan hands it at step 9. A map that is one building is a plan of one box and no seam, whose one piece is the whole site; how many places a map has is the layout graph's node count, your design and nothing else. areas[], world.json's field that seats library pieces on the compiler's stride, is the engine's assembly surface for prefab pools and is not how this page makes a map: a campaign leaves it empty, and a plan beside a non-empty areas[] is refused (DW0839). The surface and its rules are $DELVEWRIGHT_ENGINE/docs/reference/compiler.md.
Needs: Init finished, and the dsl number written down. Produces: campaigns/<campaign-id>/ with world.json (minus its placement), the five other required documents stubbed, DESIGN.md and GENERATION.md. Read: references/workspace.md — the document set, the envelope, what world.json's optional fields commit you to, and what a stub owes.
Needs: step 1. Produces: geometry-brief.json + layout-graph.json + site-plan.json. Read: references/placement.md. The map's own reference is drawn first: references/map-reference.md. Before the brief is written, find the nearest reference work for the kind of map this is (a giant, an organic interior, a large single box, several levels joined): references/reference-works.md. Every destination is built to read as what it is: docs/reference/game-writing.md L1. A plot is planned with what it holds before its box is written — its structures and open ground, which are walked, each part's play space in cells — and its box is sized from them (references/placement.md). A long way between places carries something new every so often, and a stretch with nothing gets a place of its own beside it (references/placement.md). A settlement — streets, lots, a harbour — is laid out against the town checklist, and its places are drawn with the starter's town helpers: references/town.md.
npcs, classes, quest-planNeeds: step 2. Produces: npcs.json, classes.json, quest-plan.json. Ends at: a campaign that does not validate, carrying only refusals whose messages name something quests.json or dialogue.json will supply — the correct state to leave this step in. Read: references/story.md before you start the loop, not after a refusal. Every line of the plan declares its activity: each quest's activity names the acts the player performs on it, decided before the goal is written and held to at step 5 (DW1079), and the lines are budgeted per activity against target_minutes in DESIGN.md (references/story.md, Every line has an activity; the research is $DELVEWRIGHT_ENGINE/docs/reference/web-narrative.md §7) — mandatory for every brief.
Needs: step 3. Hands over (A2): a visual walkthrough of the whole design — every scene, a near view and a far view, each image shown under the hour and weather it was drawn under — and the one line Is this the delve you want built? Waits for an explicit yes from the user, never inferred from silence and never from a reviewer you invented. Produces, once they say yes: campaigns/<id>/design/, design/README.md and design.json — or none of them, when the design was approved with no picture drawn. Read: references/design-gate.md.
quests and dialogueNeeds: step 4's yes. Produces: quests.json, dialogue.json, and the first campaign state where validate clean is reachable. Read: references/content.md, plus references/quest-capabilities.md for what the DSL can express and references/writing-craft.md for how the prose has to be written (its L1 rule decides what the level shows and what is written at all) — both before writing, not after a refusal. A custom face, or a vanilla texture the delve replaces (the moon, a mob's skin, a block), is references/npc-skins.md. Other languages are a final document stage: references/other-languages.md. The step closes on the census: the last clean validate prints every line's acts and minutes and the pacing sum against target_minutes; a line the census names as only conversations and walks gets its body, and a declaration the engine refuses (DW1079) gets the objective it promised (references/content.md).
Needs: step 5 clean, and a prompt that left the story to you; the rule, the command and the loop are references/script-review.md. Produces: a review by a fresh agent handed only what a player meets, from the handout scripts/script-review.py writes — launched with the Agent tool on the line it prints, never a fork — and the documents revised from it.
delvec fmt — every campaign, every timeNeeds: step 5. Produces: every document and sidecar in canonical form. Mandatory for every campaign and again after every later fix, playtest repairs included. Read: references/build.md.
delvec analyzeNeeds: step 6. Produces: quest-graph reachability, deadlock and dark-room findings — fixed in the documents, never by weakening the campaign. A dead quest is a design bug. Read: references/build.md.
delvec buildNeeds: step 7 clean. Produces: the datapack tree at "$DELVE_OUTPUT", critical-path.json and render-plan.json and the pacing line. Must exit 0. Read: references/build.md, and Checking a web in references/quest-capabilities.md for the endings and the gates.
Needs: step 8's tree. Produces: campaigns/<id>/design/cameras.json, one showcase camera per approved image of design.json. Estimate each from the picture — which side, how high, how close, how wide, what the point of interest is — then draw it against the tree step 8 built and move it until the picture is in the frame. An approved picture with no camera stops the next build, naming the pictures, and stops the staging gate in step 13, so this is before the hand-over and not after it. A camera answers one picture: never re-aim one at a second, write another row. delvec cameras draws the record's frames against that tree, quick; delvec place-camera is the record's one writer. A row no camera answers is DW0900. A camera may stand as far off what it frames as the picture needs: its frame draws every chunk the scene loads, and world.view_distance (a player's view) never judges it. The craft — which side, how high, how close, how wide — is $DELVEWRIGHT_ENGINE/docs/reference/showcase-shots.md §4; placing one by hand, in the running game, is $DELVEWRIGHT_ENGINE/docs/reference/tools.md §4a.
Required for every place: the staging gate at step 13 refuses a build with no detail plan, or with any place still standing in its stand-in. Needs: step 8. Produces: detail-plan.json. You write no program: each place's program is written by a fresh agent handed only that place's handout, and you commit what it leaves, one at a time. Read: references/detail.md; a piece the library does not have is references/new-pieces.md; a row that binds a piece the shipped library holds takes the library through references/the-shipped-library.md. Before a form, a statue, an organic interior or a single large box is authored, start from the nearest reference work and meet its level of detail: references/reference-works.md.
Needs: step 9 done. Produces: PackTest and bot runs at exit 0, plus a branch run per branch whenever the build emitted validation/branch-plan.json, and the written-world record (the server's world against the engine's model, at exit 0) — on the build that ships. The bot's run report and that record are what the staging gate in step 13 admits on. Read: references/ladder.md; on a red, references/when-red.md.
branch_pointsSkip if it does not. If it does, this step is not optional and not delegable: skip it and the campaign is not verified, however green the ladder is. Produces: the citation table in GENERATION.md. Read: references/chronicle.md.
Needs: step 10 green. Produces: your judgement of the POV sequence in route order, read against campaigns/<id>/design/concept/, scene by scene. Yours to do, not a checklist to hand off: judging a frame is the whole task. Read: references/visual-review.md — drawing the set (quick frames), the threshold frames read blind, and what the review writes. A POV frame that is the wrong picture is a camera question, not a render one: place that one by hand in the running game (references/tools-by-symptom.md, a render camera nobody is satisfied with).
Needs: everything above — step 10's ladder green on the build that ships, step 11 where it applies, and your step 12 visual review done — and the staging gate run against that build. Produces: campaigns/<id>/README.md — the storybook — its localized editions, and the report that ends the run (H); its pictures are the run's one --hq drawing. Hand it over: nothing comes back, and the first time the user plays the delve it is the finished first version. With debug on, the report closes with Technical decisions and engine limits, rendered by scripts/debug-report.py and appended to GENERATION.md. Read: references/hand-over.md, and references/playtest-rounds.md from round 2 on.
A newer page is not pushed at anybody. Auto-update is off by default for a third-party marketplace, so a newer /new-delve arrives when the user runs /plugin marketplace update delvewright and updates the plugin. Say so here and nowhere earlier. Record in GENERATION.md the plugin version this run used, the engine release, the dsl number, and — if the shipped library was taken — its revision. A later round opened under a different plugin version says so before it does anything else; I1b is what holds its toolchain to that version's pin.
Read one when its step names it. No reference sends you on to another: every pointer is from this page, so an italic section name inside one means the file listed here.
| file | what it carries | named from |
|---|---|---|
references/init.md | every Init command, and what each failure means | Init |
references/the-shipped-library.md | the optional prefab library: its revision, its postconditions, what a campaign records | I6, step 9 |
references/placement.md | the three site-plan documents, in the order they compile | step 2 |
references/town.md | a settlement: the town checklist, the starter's town helpers, a plan moving under a drawn place | steps 2, 9 |
references/workspace.md | the campaign directory and every document in it | step 1 |
references/map-reference.md | drawing the map's own reference views | step 2 |
references/reference-works.md | the finished levels to start from, by kind of map, and how one is added | steps 2, 9 |
references/story.md | npcs, classes, the quest plan, and where step 3 ends | step 3 |
references/design-gate.md | the walkthrough, the approval, design.json | step 4 |
references/content.md | quests and dialogue, and the codes that clear here | step 5 |
references/script-review.md | when a fresh reader reviews the script, the handout, what the review changes, when the loop stops | step 5b |
references/quest-capabilities.md | every verb, effect and field a quest can use | step 5 |
references/writing-craft.md | the prose checklist, run over every line | step 5 |
references/npc-skins.md | the skin toolchain, when a design calls for a face; a vanilla texture the delve replaces | step 5 |
references/other-languages.md | the localization stage | step 5 |
references/build.md | fmt, analyze, build, and what the build writes | steps 6-8 |
references/ladder.md | PackTest, the bot, branch runs, and how to triage a red | step 10 |
references/chronicle.md | reading a branch's chronicle against the design | step 11 |
references/visual-review.md | the POV sequence, the threshold frames read blind, delvec --prefabs "$DELVEWRIGHT_PREFABS" frames, and what the set costs | step 12 |
references/detail.md | detail-plan.json, one place at a time, each by its own fresh agent | step 9 |
references/new-pieces.md | making a piece the library does not have | step 9 |
references/hand-over.md | the storybook, its marker, the play server, the staging gate, and the report | step 13 |
references/playtest-rounds.md | every round after the first | step 13 |
references/when-red.md | the symptoms most likely to stop you | any red |
references/tools-by-symptom.md | the tool inventory, by the symptom that wants it | any step |
references/pitfalls.md | difficulty, combat, bonfires, waves, staging | steps 3, 5 |
scripts/check-toolchain.py | run at I1b on every run, and at I8: the toolchain on disk against the pin | I1b, I8 |
scripts/fetch-delvec.py | run at I3a: the archive, verified and unpacked | I3a |
scripts/fetch-client-jar.py | run at I5, on the download path | I5 |
scripts/handout.py | run at step 9, once per place per attempt: the handout a fresh agent authors that place's program from | step 9 |
scripts/script-review.py | run at step 5b, once per round: the script in play order and the handout a fresh agent reviews it from | step 5b |
scripts/references.py | run at step 9 before the first handout: fetches every place's references[] into .out/references/, so its author reads the pictures | step 9 |
scripts/starter.py | copied beside every handout by handout.py, run by the place's author at step 9: an empty-but-correct program for that place, read off its allocation, that passes every judgement detail --check makes of the place itself as it stands (the battery may name what the story asks of it); the place's generator imports its Model and run, draws the place as cells, and has every cell claimed from delvec grammar survey | step 9 |
scripts/town.py | imported through starter.py by a settlement's place generators at step 9: the town helpers — ways, fronts, lot edges, boats and quays, a front's seam and sign station — each parameterised by its caller | steps 2, 9 |
scripts/debug-note.py | run wherever a default is taken or a refusal, limit, workaround or departure is met: one row of .out/technical.jsonl, written only under DELVEWRIGHT_DEBUG | any step |
scripts/debug-report.py | run at step 13: the Technical decisions and engine limits section, rendered and appended to GENERATION.md, only under DELVEWRIGHT_DEBUG | step 13 |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (stellarfeline/delvewright) — no native marketplace selected
npx claudepluginhub p/stellarfeline-delvewright-claude-skills-delvewrightOther plugins' skills for the same job