AGENT SKILL

specify

Frame an item into works/<id>/spec.md, the bug.md of a fix or the question.md of an answer: the blocking questions in rounds, then why, the areas and plain criteria that anyone can check, checked before the owner reads it; on the owner's yes the item moves to planning. Use when the owner says specify, spec, frame, requirements or 'what does done mean'.

License 许可
MIT
所属仓库
lamtran8401/nook
最近更新
2026-10-27
Stars
★ 0
Forks
0

01 前言 Front Matter

name
specify
description
Frame an item into works/<id>/spec.md, the bug.md of a fix or the question.md of an answer: the blocking questions in rounds, then why, the areas and plain criteria that anyone can check, checked before the owner reads it; on the owner's yes the item moves to planning. Use when the owner says specify, spec, frame, requirements or 'what does done mean'.
allowed-tools
Bash(nook *), Bash(ls *), Read, Glob, Grep, Edit, Write
argument-hint
[item id]

03 SKILL.md 正文

!nook item enter specify $ARGUMENTS

Goal: a spec that the owner reads once and agrees with. The spec is the contract for the plan, the build and the review. The line above took the item, gave its brief, and printed the crafts that the flow of its kind names, such as requirements. An item in todo is now in framing, with spec.md from its template, bug.md for a fix or question.md for an answer. The flow, the question round and the confirm question: ${CLAUDE_PLUGIN_ROOT}/flows/flow.md.

Order

  1. Classify the item as the craft says, and show the result.
  2. Read the knowledge first: the wiki pages that the door printed, then business/INDEX.md. Open a page only when a line matches the item. Name each page that the spec uses, as (wiki: business/<page>.md). Write the wiki of the item in the front matter of the spec: epic: <key> of its epic page, feature: <the feature section>, and pages: [<each process page>]. A fix with no epic names the feature that it fixes. Confirm each area with its proof: a path and a line that the change touches. Read the repos yourself; a scout runs only for a large read in an area that you do not know.
  3. Write your reading in five lines or fewer, so the owner corrects a wrong reading before the questions.
  4. The question rounds: collect every blocking question, register each with nook ask <id> "<text>" --blocking --rec "<answer>", ask at most four in one call, the most blocking first, and record the answers with nook answer. An answer that opens a new blocking question starts one more round. The ticket has a Type: row that nook kind list does not know: add one question to the same call, "Take every <Type> as <kind> from now on?". On yes, run nook kind set <Type> <kind>. A question that does not block becomes a guess with nook guess.
  5. Write and check works/<id>/spec.md, the bug.md of a fix or the question.md of an answer, as the craft says. nook item check <id> must list no gap for plan.
  6. Show the spec and ask the confirm question. On "Looks right", run nook item plan <id> and report, with the branches that it prints.

Gotchas

  • One question round. A second round means the first one missed a question: record the gap as a guess, write it in Details, and say so in the report.
  • The front matter (kind, size, areas, epic) is the source. plan copies it into the item, so nook item list --epic <key> lists the items of an epic. Every area must exist in nook.yml (nook area list).
  • The criteria live in spec.md, or under ## Expected of bug.md, and nowhere else. The n-th - [TAG] text line is AC n. Do not run nook item ac add for the same lines.
  • A ticket table with Given, When and Then columns holds one behavior in each row. One criterion for each row, with the observable result.
  • After plan, a small fix to the spec shows at the accept. A change of substance needs nook item reframe <id> --reason first.
  • The model starts /specify only in a yolo run that the owner started; else the owner types it.

04 同仓库更多 Skills

lamtran8401
lamtran8401/nook

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.

★ 0
lamtran8401
lamtran8401/nook

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.

★ 0
lamtran8401
lamtran8401/nook

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.

★ 0
lamtran8401
lamtran8401/nook

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.

★ 0
lamtran8401
lamtran8401/nook

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.

★ 0
lamtran8401
lamtran8401/nook

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.

★ 0