/darkroom:buildfrom Darkroom Engineering
Guides end-to-end feature, page, or integration builds with a GO/NO-GO research gate. Detects stack, reads tickets, explores codebase, fetches docs, checks versions, and runs a cold-reader check before implementation.
Ships in Darkroom Engineering. 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.
Use Context7 only when the user configured that
MCP. Otherwise consult official library documentation through native browsing
or inspect the pinned local package, and state which fallback supplied the API
contract. This package does not auto-run unpinned registry MCP packages.
Read ~/.claude/profiles/native-apps.md at $CODEX_HOME/darkroom/source/profiles/native-apps.md (CODEX_HOME defaults to ~/.codex).
Before any implementation, complete this research phase:
Detect stack — read package.json. next dep → satus / Next.js; react-router dep → novus / React Router. Note any starter signal (name field, darkroom.starter marker).
Understand requirements — parse what the user actually needs. When the work is a ticket (a Linear or GitHub issue, often a /stories ticket), read it in full: its Acceptance criteria are the done list, its Out of scope is a boundary, and its Open questions with no default make the verdict ASK. Read the kickoff it links for the standard Verify commands and the data contract. In Claude Code, when building an agent, bot, assistant, or autonomous job inside a product, read ~/.claude/profiles/durable-agents.md before implementation. When building UI for a native app on iOS, macOS, Windows, or Android, read ~/.claude/profiles/native-apps.md and the app's character sheet before implementation.
Explore codebase — find existing patterns, similar implementations. Fetch the team-knowledge index and read any note whose title matches the libraries and integrations this feature touches; the fetch command is in docs/knowledge-system.md (fail-open — skip if gh is unavailable).
Fetch docs — use Context7 in Claude or when configured in Codex; otherwise use the standalone fallback above. Never code from memory.
Check versions — read the version the lockfile pins for each library the feature touches, and research that version (AGENTS.md "External Libraries"). bun info <package> shows the latest, which matters only for a package you are adding.
Assess feasibility — can this be done cleanly within existing architecture?
Cold-reader check. Write what you will build as a short spec (behavior, scope, decisions made). You wrote it, so you cannot see the gaps your own context fills. Spawn a general-purpose subagent with model: "sonnet" (standalone Codex: a fresh read-only spawn_agent worker), not explore, whose initial prompt maps the repo and would fill the gaps itself. Paste only the spec text into the prompt below and give it no file paths. List its questions in the verdict. Answer each from the codebase and fold the answer into the spec; a question only the user can answer makes the verdict ASK.
You are a senior engineer handed this spec to build. You cannot talk to its author and must not open any files.
<spec>
List only the questions you would need answered before building it: places where you would have to guess and a wrong guess would change what gets built. For each, give the question and what changes with the answer. Rank them by importance. Skip anything the spec leaves to the builder, anything you could reasonably decide yourself, and wording nits. If nothing important is left, say "nothing important left".
GO/ASK/NO-GO Verdict: After research, state one of:
land skill's "Linear issue" step and put its ID in the branch name. Never open a round only for this: /land creates the issue anyway.Do not proceed past this gate without an explicit GO verdict.
Create a brief implementation plan, opening with a ## Functional DAG (recipe-table brace
diagram — inputs left, operations merging rightward, one terminal verification node; spec:
docs/functional-dag.md), then:
lib/hooks/ for satus, hooks/ for novus, etc.)Screen the approach against this table before listing files. The next contributor is often an agent that sees only the file it opened, copies the nearest example, and takes the shortest path that compiles, so prefer the design where an edit that looks right in one file is right for the whole repo. A flag is a cost, not a veto: change the approach, or record the flag under Key decisions with why it is accepted. The planner agent screens its candidate designs against this same table.
| Flag | How it shows | Direction |
|---|---|---|
| Shallow module | Callers chain several calls to do one job, or its options name its internal stages | Hide more behind a smaller surface |
| Leaked decision | One format, rule, or wire type appears in several modules, or a transport type is re-exported | Parse at the edge into domain types; one module owns the decision |
| Split by run order | Load, check, transform, and save stages each handle the same data and its rules | Group code by the knowledge it owns, not by when it runs |
| Pass-through layer | A method hands the same arguments to a method of the same shape | Delete it, or give it real policy or adaptation |
| Two writers | Two modules write the same state or keep their own copy of it | One owner writes; the others read it or ask the owner |
| Two routes to one result | An old path stays "for now" beside the new one | Keep one; move its callers and delete the other in the same change |
| Reachable internals | Outside code can import a module's private parts | Make that import fail the build |
| Hand-synced lists | Adding an item means editing several lists | Derive every list from one, or fail the build when they disagree |
Linear. When the session has a Linear project (a Linear: team ..., project ... line at startup, or a mapping found by the land skill's "Linear issue" step 2), the work needs an issue before the first commit: use the one the user named, or create it per that step. Start the branch from it (feat/DR-123-newsletter-form) so Linear links the PR; /land then adds the ID to the PR title and Fixes DR-123 to the body. No Linear project for the repo: skip this.
Follow standard Maestro workflow: scaffold → implement → test → review.
Use the right primitives for the stack:
| Concern | satus (Next.js) | novus (React Router) |
|---|---|---|
| Page | app/<path>/page.tsx | app/routes/<path>.tsx |
| Layout | app/<path>/layout.tsx | app/root.tsx or nested route |
| Data fetching | Server Component async function | loader() route export |
| Mutations | Server Actions ('use server') | action() route export |
| Image | next/image | <img> (or Vite plugin) |
| Link | @/components/link (project wrapper) | react-router Link |
Use the starter's conventions: CSS modules as s, path alias @/ (satus) or ~/ (novus).
Return a concise summary:
next ^16.0.0)When the work is a ticket (a Linear or GitHub issue), the last block of your final message is this closing comment draft. Write it however small the ticket, when a gate step was shortened, when the build is partial, and when nothing could be run or rendered. A final message without it leaves the build unfinished. Keep these labels and their order; the rules are in ~/.claude/skills/stories/references/closing-comment.md.
**US-<n>: preview ready for review**
**Preview:** <URL that opens the right page, or "none yet" and why>
**What's implemented**
- <each acceptance criterion you saw working, in plain words, with where the merchant setting lives>
**How it was validated**
- <what you ran or looked at: live render at desktop and mobile, devices, validators, command output; or that nothing could be run, and why>
**Notes**
- Open question resolved: <answer and source>
- Verified by logic, not live: <each criterion checked only by reading code or reasoning>
- Needs a human run: <for example, a real form submit that emails the store>
- Not done: <each criterion not implemented, and why>
US-<n>, the title line uses the issue title.linear agent's review-ready event, GitHub with gh issue comment. Do not post it or mark the ticket done.If you catch yourself thinking any of the following, STOP — you are skipping the research gate:
| Rationalization | Why It's Wrong |
|---|---|
| "I already know how to do this" | The codebase may have existing patterns, wrappers, or conventions you'd miss |
| "The requirements are obvious" | Obvious requirements have hidden edge cases; the GO/NO-GO gate catches them |
| "Research would take too long" | Building the wrong thing takes longer than 5 minutes of research |
| "I'll figure it out as I go" | This leads to mid-implementation pivots that waste context and leave dead code |
| "It's just a small feature" | Small features in the wrong place create architectural debt |
| "The user seems impatient" | Shipping broken code is worse than a brief research pause |
| "Both starters are similar enough" | They diverge on routing, data fetching, mutations, and asset handling. The wrong shape compiles but doesn't fit |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub darkroomengineering/cc-settings --plugin darkroom24 skills in this plugin
/auditRepo audits, one mode or all (codebase, docs, process, perf, tests, state, threat-model, motion, SEO, platform guidelines, debt). Triggers "audit the codebase", "full audit", "perf audit", "audit the tests", "find the implicit state machines", "threat model", "motion audit", "seo audit", "platform audit", "does this follow the HIG", "debt ledger"./autoresearchAutonomous mutate/score/keep optimization of a SKILL.md prompt. Triggers "autoresearch", "optimize skill", "tune this skill", "evolve this skill"./case-studyTurn any web project (WebGL, three.js, React Three Fiber, Theatre.js, GSAP or Lenis scroll sites, plain DOM sites, and browser games or app-like flows) into case-study material for the studio website. Produces frame-perfect 16:9 clips of every chapter and transition (games are played through by a script with real input), layer-by-layer decompositions of every scene, Blender turntables and clay/wire/bake renders, every sound exported separately with mixes rebuilt from the animation data, every image asset (glyphs, logos, frames, textures, sprite sheets) exported separately, and a shareable exploration board with playable pieces rebuilt from the project's own assets. Triggers "case study", "showcase", "portfolio piece", "making-of", "breakdown", "how it's made", "decompose the scene", "take apart the landscape", "record the site", "capture footage", "turntable", "export the sounds", "extract the icons/assets". Use when a finished project needs to be shown, even if nobody says "case study"./ccSync cc-settings with Claude Code and Codex upstreams, update a local install, or migrate a project's CLAUDE.md to AGENTS.md. Triggers "sync with claude code", "update cc-settings", "migrate to agents.md"./codexClaude-to-Codex bridge to delegate bulk mechanical work, get an independent cross-model diff review, or ask a read-only question. Triggers only when the user names Codex, as in "use codex", "have codex review", "cross-check with codex", "ask codex"./componentCreate a UI component. Triggers "create component", "new component", "add component", or naming a component to build (Button, Header, Card).Other plugins' skills for the same job