/nlsmdn:code-guidefrom nlsmdn
Coach the user through writing a feature themselves, one small step at a time, the way an experienced developer would build it. Each step comes with the code to type and a checkpoint that proves it works, such as logging the endpoint's response shape before typing it, or rendering a hardcoded value before wiring the real one. After each step the agent reads the user's diff and verifies it. The happy path comes first and edge cases come last. Use when the user says "code-guide", "guide me to write", "help me write this myself", "I want to code it myself", "coach me through implementing", "walk me through building this feature", "don't write it for me", or wants to learn by typing the code. Do NOT use for console or dashboard setup (use guide), explaining existing code (use code-tour), or when the agent should implement the change itself (use plan or longshot).
Ships in nlsmdn. 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.
The user writes the code and you lead them through it. Each step is small and comes with the code. It ends at a checkpoint where something observable proves the step works before the next one starts. Build it the way an experienced developer builds a feature by hand. Make contact with real data first and look at it, get the happy path working end to end, then harden it.
The project files belong to the user. Never edit them unless the user asks you to write a specific piece, such as "you do the fixture" or "write the type for me". Then write only that piece, tell them which file changed, and go back to guiding. Reading files and running non-interactive checks is always fine.
Before planning, read the code the feature touches. Look at the entry point, the data source (endpoint, store, DB query), similar existing features to copy patterns from, and how the project runs and checks itself (dev server, test command, typecheck). Note the user's naming and style so your snippets match them.
Ask at most one or two questions, and only when the answer changes the plan, for example which endpoint the data comes from. Otherwise pick the conventional option and say so.
Order the steps so each one adds a single idea and is checked before the next:
Keep steps small, usually 3–30 lines of change. Present a short roadmap of step titles with their checkpoints, then give step 1 in full, then the tracker.
path/to/file.ts:42, plus "after the useState lines" when line numbers
will shift.// temp (or the language's comment syntax) so cleanup can find them.id, status, total", not "check that it
works".Keep the explanation short. Go deeper only when the user asks why.
When the user says "done", "next", or pastes output:
git diff for tracked files, or read the file for new or
untracked ones. Compare it with the step's intent.tsc, a
curl against a dev server that is already running, or a script. Give every run a
timeout. Ask the user to paste output only for what you can't observe, like browser
console output, UI behavior or device logs. Don't start long-running servers yourself.
Ask the user to start them.Advance only after the checkpoint passes.
Every reply ends with the tracker as a fenced code block, with nothing after it:
---
✓ 1–2 done: fetch logs orders · Order type compiles
▶ 3. Store orders in state and render the count ← you are here
Checkpoint: page shows "12 orders"
4. Render one row per order
Checkpoint: rows show id, customer, total
5. Hook up the status filter
Checkpoint: choosing "shipped" shortens the list
Parked edge cases: loading state · fetch error · empty list
Cleanup: 2 temp lines (OrdersPage.tsx console.log, hardcoded count)
✓ line with a few words each.temp
lines currently in the code.Once the happy path works end to end, take the parked edge cases one at a time. Each gets the
same shape as Step 3, including a checkpoint that triggers the case on purpose (stop the
server, return [] from the stub, submit an empty form).
Then do the cleanup step: grep for the temp markers and any debug output you introduced,
have the user remove them, and run the full test, typecheck and lint commands yourself. Finish
with a two-line summary of what they built and anything left open. Don't print a tracker on
the final message, and don't commit. Leave git to the user.
If the user asks you to finish the rest yourself, leave this mode and implement the remaining steps normally.
User: "code-guide: add an orders page that shows /api/orders with a status filter."
Actions:
npm run dev
and npx tsc --noEmit are the checks.OrdersPage and console.log the response, (2) write the Order
type from the log, (3) store it in state and render the count, (4) render one row per
order, (5) add the filter. Parked so far: loading, error, empty. Last: cleanup.useEffect calling the existing api.get helper, with
console.log(JSON.stringify(data[0], null, 2)) // temp. Checkpoint: "Open /orders. The
console shows one order object. Paste it here."total is a string in cents, not a number. Step 2's type uses
total: string, and a "format cents" step is added before rendering the rows.git diff, run npx tsc --noEmit, and advance.Result: the user typed every line, checked every layer before building on it, and handled the edge cases after the page worked.
The user says "done" on "store orders in state". The diff shows
setOrders(response) where the client returns { data }. Reply: "OrdersPage.tsx:18 puts
the whole response object into state. The orders are in response.data, so the count will
read undefined. Change it to setOrders(response.data)." Keep ▶ on step 3.
User: "Can you write the test fixture? I don't need to practice that."
Write only the fixture file. Say "Created tests/fixtures/orders.ts with 3 orders" and
continue with the next step for the user to type.
Cause: A step bundles several ideas, such as fetching, typing and rendering together. Solution: Split the current step into sub-steps (3a, 3b), each with its own checkpoint. Keep the numbers of finished steps.
Cause: Writing production-ready snippets from the start (try/catch, null checks, loading flags). Solution: Strip them out of happy-path snippets and add them to the parked list. The user handles them at the end, each with a checkpoint that triggers the case.
Cause: The snippets were written from your plan instead of their current code. Solution: Re-read the file before writing every snippet, and anchor on lines that exist in it now.
Cause: The output only appears somewhere you can't see, like the browser, a phone or a GUI. Solution: Tell the user exactly what to copy ("paste the first object from the console") and verify from that. Don't advance on a bare "looks fine" when the step's purpose was to learn a shape.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nielsmadan/skills --plugin nlsmdn65 skills in this plugin
/blind-spotsSurface consequential decisions a plan, design, or research brief left silently assumed, by interviewing the user in dependency order. Use when the user says "blind spots", "grill me", "stress-test this plan", "poke holes in this", "what am I missing", "interrogate this design", "what haven't I decided", or needs a loose idea or research brief clarified before work begins. Do NOT use for a clear factual lookup, to explain a previous reply in more detail (use `huh`), to generate ideas when it is unclear what to build (use `ideation`), or to review an already-written plan with agents (use `review-plan`)./brainstormWork out how to solve a problem the user can already name — interview them with `blind-spots` to understand it, generate structurally different approaches, validate each with an independent critic, then present the survivors with trade-offs and a recommendation. Use when the user says "brainstorm", "brainstorm approaches", "how should we solve/approach/tackle X", "what are our options", "compare approaches", "think this through with me", or wants solutions weighed before committing. Works on any topic, with codebase recon when a repo is involved; `--debate` adds external advisors for high-stakes calls. Do NOT use when stuck on what to build or what the problem is (use `ideation`), to probe an already-chosen plan (use `blind-spots`), or to pick a library or service (use `evaluate-tech`).