计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
plan-exit【效率与协作】Leave the plan room and name the next step toward building what was planned.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
The owner typed this command to leave the plan room. Typing it is what closes the room: the host's prompt hook removes the room's marker before this skill runs. This skill removes nothing. It reports whether the room is closed and what comes next.
Resolve the installed plugin root to an absolute $NIGHTSHIFT_PLUGIN_ROOT — ${CLAUDE_PLUGIN_ROOT}
on Claude Code, $PLUGIN_ROOT on Codex when set, otherwise the absolute path this skill was
attached from (skills/plan-exit/SKILL.md). Run every command below through
"$NIGHTSHIFT_PLUGIN_ROOT/runtime/ns" — native Windows: & "$NIGHTSHIFT_PLUGIN_ROOT\runtime\windows\ns.ps1"
in the PowerShell tool, same verbs — which resolves the host and the workspace; ns help lists the
verbs, and ns bind prints the six resolved facts (TASK_ROOT, NIGHTSHIFT_WORKSPACE, NS,
NIGHTSHIFT_PLUGIN_ROOT, HOST, SOURCE); $NS below is that NS. Never a bare relative path: the working
directory persists between calls. Each $NS/... path below is where the current layout keeps that file;
ns path <key> prints where this workspace keeps it, and ns path --list names every key.
"$NIGHTSHIFT_PLUGIN_ROOT/runtime/ns" status
Plan room: line — the room is closed. Tell the owner in one line that the plan room is
closed and this conversation can build again.Plan room: open line — the command did not reach the host's prompt hook, so the room is
still open. On Codex the hook runs only after it has been reviewed and trusted. Tell the owner the
room is still open and give them the terminal exit to run themselves:
"$NIGHTSHIFT_PLUGIN_ROOT/runtime/ns" plan-exit (native Windows:
& "$NIGHTSHIFT_PLUGIN_ROOT\runtime\windows\ns.ps1" plan-exit), with the plugin root written out in
full. Never run it yourself: the hooks refuse it, and the exit is the owner's.Read it off the same status output: the Items: line (open=N) and the staged fact
(drafts=N). Do not count boxes yourself.
/nightshift:start on Claude Code
and Cursor, $nightshift:start on Codex. Start offers the staged items to promote and begins the
shift.Begin no work in this skill. Building starts when the owner asks for it or starts a shift.