gate
The owner's moves at a gate, typed in the prompt: /gate approve <id>, /gate accept <id>, /gate close <id>, park, resume, cancel and restore, /gate mode <id> yolo|normal, a move past its gaps with --override "<why>", /gate task done <id> <T> --override "<why>" for a slice with a weak proof, or /gate alone for what waits. Only the owner types it; a Nook hook runs the move before this text. Use when the owner types /gate.
- License 许可
- MIT
- 所属仓库
- lamtran8401/nook
- 最近更新
- 2026-10-27
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- gate
- description
- The owner's moves at a gate, typed in the prompt: /gate approve <id>, /gate accept <id>, /gate close <id>, park, resume, cancel and restore, /gate mode <id> yolo|normal, a move past its gaps with --override "<why>", /gate task done <id> <T> --override "<why>" for a slice with a weak proof, or /gate alone for what waits. Only the owner types it; a Nook hook runs the move before this text. Use when the owner types /gate.
- argument-hint
- [approve|accept|close|park|resume|cancel|restore|mode|task <move>] [<id>] [<T>|yolo|normal] [--reason "<why>"] [--override "<why>"]
- disable-model-invocation
- true
03 SKILL.md 正文
The owner typed /gate. A Nook hook read the command and ran the move before this text. Claude Code runs that hook only for a command that a person types, never for a skill that the model calls.
Its result is in the context, in the lines that start with "Nook gate".
Order
- Read the "Nook gate" lines.
- The move ran: report it in two or three lines: what moved and the new state. End with its
Your turn:lines as they are, or with itsnext:line while the lead works. - The move was refused: show each gap with its fix, as the lines say. Do not fix a gap that is a decision of the owner. The owner can move past the gaps with a reason:
/gate <move> <id> --override "<why>", or/gate task done <id> <T> --override "<why>"for a slice. - The move ran with an override: say which gaps the owner passed, from the
override:line. The timeline and/retroshow it. - No arguments: show the moves that wait, as a list of the commands to type.
- No "Nook gate" line at all: say that the Nook hook did not run, and that the move did not happen. Run
nook doctorand report each gap with its fix.
Gotchas
- Never run an owner move yourself, and never type
/gatefor the owner. The model is denied both. - Never start a session (
claude -p,claude --bg) that types/gate: the guard blocks it, and the hook refuses a session that a tool started. - A move that the owner typed is recorded with the actor "owner via /gate". Say so when the owner asks who moved the item.
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.
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.
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.