Playbook and Three.js code kit for detailed dioramas: classic pixel art, stroked toon or pixel + stroke; two intake gates for look and model sourcing; free orbit, palette snap and ink; animated toy-scale cast; per-entity frame QA.
JavaScript agent-skillagent-skill-repositoryagent-skillsai-agentscreative-codingdioramagame-artpixel-artpixelationprocedural-artprocedural-generationskillthree-jsthreejswebgl
README: tighten the setup prompt so it fits a code block without clipping
sloemodzndd6b5de9cabc
diff --git a/README.md b/README.mdindex bebc2d3..1277eee 100644--- a/README.md+++ b/README.md@@ -59,40 +59,47 @@ anything. `SKILL.md` carries skill frontmatter (`name`, `description`, `version`so an agent with a skills directory can load it by name later.```text-Install the Diorama playbook into this environment, then use it to build scenes.+Install the Diorama playbook here, then use it to build scenes.-Repository: https://github.com/sloemo01/diorama+Repo: https://github.com/sloemo01/diorama-1. Ask me for the target directory before downloading anything, and wait for my- answer. Propose ~/skills/diorama as the default. Do not pick a path silently.+1. Ask me where the folder should go before downloading anything,+ and wait for my answer. Propose ~/skills/diorama as the default.+ Do not pick a path silently.2. Download the whole repository, not just SKILL.md:git clone https://github.com/sloemo01/diorama.git "<target>"- If git is not available:- curl -L https://github.com/sloemo01/diorama/archive/refs/heads/main.tar.gz | tar xz- then move diorama-main to "<target>".-3. Prove the install before describing it: SKILL.md, README.md, templates/,- verify/ and LICENSE present at the root, and print the commit hash- (git -C "<target>" rev-parse --short HEAD) or the archive date. If you have no- shell or no network, say so and stop. If the download failed or a file is- missing, say so and stop. Never describe this playbook from memory or from- this prompt alone.-4. If you have a skills directory or plugin folder, install it there so you can- load it by name in later sessions; otherwise treat "<target>" as the folder.-5. Read before you build: all of SKILL.md, then templates/DESIGN.md,- templates/qa/README.md, the header comment of every file in templates/, and- both worked examples under verify/. SKILL.md is the source of truth; the- README is only a summary.-6. Report back in this order: install path and commit, the Look Contract in one- paragraph, the Pipeline as ordered steps, the QA scripts and what each one- checks, and three rules from SKILL.md with the section each came from.-7. Then ask me what the first diorama should be. Do not ask me to fill the design- sheet. When I give you a subject, fill DESIGN.md from the defaults, copy the- modules you need into my project instead of editing the installed copy, build- through the Pipeline, and run the QA scripts before you show me anything. Give- me the paths of the frames you kept and what each one proves.--If two parts of SKILL.md contradict each other, list the contradictions before-you build. A successful clone is not an install: steps 5 and 6 are the install.+ Without git:+ curl -L -o diorama.tar.gz \+ https://github.com/sloemo01/diorama/archive/main.tar.gz+ tar xzf diorama.tar.gz && mv diorama-main "<target>"+3. Prove the install before describing it: SKILL.md, README.md,+ templates/, verify/ and LICENSE at the root, and print the+ commit hash (git -C "<target>" rev-parse --short HEAD) or the+ archive date. If you have no shell or no network, say so and+ stop. If the download failed or a file is missing, say so and+ stop. Never describe this playbook from memory.+4. If you have a skills directory or plugin folder, install it+ there so you can load it by name in later sessions; otherwise+ treat "<target>" as the folder.+5. Read before you build: all of SKILL.md, then+ templates/DESIGN.md, templates/qa/README.md, the header comment+ of every file in templates/, and both worked examples under+ verify/. SKILL.md is the source of truth; the README is only a+ summary.+6. Report back in this order: install path and commit, the Look+ Contract in one paragraph, the Pipeline as ordered steps, the+ QA scripts and what each one checks, and three rules from+ SKILL.md with the section each came from.+7. Then ask me what the first diorama should be. Do not ask me to+ fill the design sheet. When I give you a subject, fill+ DESIGN.md from the defaults, copy the modules you need into my+ project instead of editing the installed copy, build through+ the Pipeline, and run the QA scripts before you show me+ anything. Give me the paths of the frames you kept and what+ each one proves.++If two parts of SKILL.md contradict each other, list them before+you build. A successful clone is not an install: 5 and 6 are it.```Needs `git`, or `curl` and `tar` for the fallback. The QA scripts need Node with