write-walkthrough
Write walkthrough.md, the explanation of finished work: what works now in plain words, the changed files, where to start reading, the key code, the met criteria, how to try it, the risks. It is the source of the Walkthrough tab of the web app. Use after /qa, or for a question about the code.
- License 许可
- MIT
- 所属仓库
- lamtran8401/nook
- 最近更新
- 2026-10-27
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- write-walkthrough
- description
- Write walkthrough.md, the explanation of finished work: what works now in plain words, the changed files, where to start reading, the key code, the met criteria, how to try it, the risks. It is the source of the Walkthrough tab of the web app. Use after /qa, or for a question about the code.
- allowed-tools
- Bash(nook *), Bash(git status *), Bash(git diff *), Bash(git log *), Read, Glob, Grep, Write, Edit
- argument-hint
- [item id] or a question about the code
- user-invocable
- false
02 资源文件 1
- 参考文档parts.md4.0 KB
03 SKILL.md 正文
Goal: a report of the finished work that lets the owner catch up in minutes: what was built, explained in plain words, and where to look in the code.
The walkthrough explains the work; it does not copy the plan. The owner reads the diff for the lines.
The owner reads it only on the page, never as Markdown. Write it for the page: the tree, the flowchart, the steps.
The parts in full, and the path with no item: parts.md (this folder).
Order
- Decide the subject:
- an item id:
nook item brief <id>,nook item ac list <id>,nook guesses <id>. - a question (
/write-walkthrough how does the export job retry?): no item. Find the code withnook area statusand a search.
- an item id:
- Read the work itself: the diff of each area on the branch (
git -C <folder> diff <base>), or the code that the question names. Explain the code that exists, not the plan. - Write
walkthrough.mdwith the parts ofparts.md, in their order. 60 lines or fewer for size S and M, 90 for size L; the tree of What changed does not count. It is the source of the page, asspec.mdis the source of the Spec tab. - Report the path. The web app shows it on the Walkthrough tab of the item.
The parts that you write
> In short: what works now, and what does not work yet
## What works now one line for each piece that works, in plain words: what, how, why it is safe
## What changed a tree of the changed files by folder, each with its state and its job
## Where to start reading the two to four files to read first, each with one reason
## How it is built one to three short excerpts of the key code, each with why
## Requirements met the criteria that the ledger marks as met, in the words of the spec
## Try it the manual checks and what the owner must see
## Heads up a limit, a side effect, a risk in the code
## Lessons each lesson that the next item can use, one line each, or None
With no item, Requirements met goes and How it works comes after What changed: parts.md says how.
Gotchas
- Report the product, not the process. Never name a slice, a proof, a gate, a review round, an agent or a guess id.
- Give no line numbers. Name a file only in What changed and in Where to start reading.
- Copy nothing from the plan: the flow, the sequence, the data model and the contract stay there. A build that left the plan needs
nook item replanbefore the review, never a list of differences here. - An excerpt shows the idea, not the file: six lines or fewer, the line that holds the decision.
- Write the file under
works/, never in a temporary folder or in an area folder. - The walkthrough does not decide. The verdict stays with the verifier and the owner.
- A prompt with no item: do not invent a mechanism that the code does not have. "Not found" is an answer.
04 同仓库更多 Skills
yolo
Run an item alone from its state to the owner's accept: the lead runs the phases, records each guess, passes the plan gate with proceed, and stops at a stop rule. Use when the owner types /yolo with an id, a prompt, or nothing.
wiki-tidy
Find what is wrong in the wiki: broken links, pages with no index line, lines too near the code, stale epic pages, topics with no source, two pages on one topic, adjectives with no example. Fix the mechanical part after one yes; list the rest. Use when the owner says tidy the wiki, or after many pages changed.
wiki-merge
Merge related wiki pages into one complete page: the pages of the features of one process or epic become one page with the flow from end to end. The old pages move to the archive after the owner's yes, and their links point at the new page. Use when the owner says merge these pages, or when wiki-tidy finds pages on one topic.
wiki-ask
Answer a question from the wiki: the index first, then only the pages whose line matches, an answer in a few lines with a link to each page. Use when the owner asks what the wiki says, or asks why or how about a known topic. Not to add a page: wiki-add.
wiki-add
Keep the lesson of a source in the wiki: a page in the shelf business/ or tech/ with its main points, a real example for each, the gotchas and the link of the source; written after the owner's yes. Use when the owner says add this to the wiki, keep this, or gives a PRD, a ticket, notes or an article to keep.
testing-strategy
The craft of a test plan: for each criterion, the behavior that changes, what can break, the tests that exist, the lowest layer, one negative case, and whether a new test is needed. Use when a plan names its Proof, before the first test of a slice, or for the regression tests of a fix.