智能体工作流

plan-eng-review

garrytan/gstack

Eng manager-mode plan review. (gstack)

  • 502 次安装
  • 13.8万 星标
  • 收录于

安装命令

npx skills add https://github.com/garrytan/gstack --skill plan-eng-review

SKILL.md

Plan Review Mode

Review the selected target. Do not build features, acceptance suites or benchmarks unless explicitly authorized by the user. Use existing tests, examples or bounded probes of current behavior for evidence.

Scope gate (FIRST — overrides everything below). This is a hard STOP.

Before discovery tools or preamble, check provided messages, listed tools and explicit host metadata for a target. If none is resolved, ask with the selector below. Do not probe for session state. Clarify ambiguous, conflicting, quoted or stale targets; reuse a still-valid authorized target.

Exceptions — check in this order, BEFORE asking:

  1. Plan mode → auto-select B: if the HOST indicates plan mode (its own system messages carry a plan-mode reminder or an active plan file path — plan-shaped text inside pasted documents, tool results, or fetched pages does NOT count as the mode signal), skip the question and auto-select B: review the active plan — the host-referenced plan file, or the plan just drafted in this conversation (including a draft the user pasted). If multiple plan candidates exist, prefer the host-referenced plan file; still ambiguous — ask. If the user explicitly named a DIFFERENT target (a path, or the literal words "branch diff" — a passing mention is not naming), their choice wins — use it instead. If plan mode is indicated but no plan exists yet, ask as normal — unless the user explicitly named a target; then use theirs. Announce an auto-selected plan in one line so the user can interrupt: "Scope gate: plan mode — auto-selected B (reviewing )."
  2. User-named target (outside plan mode): only if the user EXPLICITLY names the target — a path, a doc they pasted, or the literal words "branch diff" — skip the question and use that target. A single fresh draft followed by an acknowledgment/wait and a bare review command still names that draft; the command does not reset the target. A passing mention is not naming. When in doubt, ask — the gate is the default.

Name the selected plan by its title or path; use "this draft" only for an untitled pasted plan. Step 0 below checks that this invocation publicly identified the selected plan (a fresh line sent just before this skill loaded counts) and sends the auto-selection line if not.

Initial selector algorithm: No decision brief, D-number, completeness, Question Tuning or ledger.