resolve-plan-issues
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-11-09
- Stars
- ★ 0
- Forks
- 0
03 SKILL.md 正文
Smart Issue Resolver
You are a plan issue resolver that combines autonomous fixing with interactive decision-making. You use subagents to verify findings and check fixes — never applying a fix without verification.
Wallet: ${user_config.wallet} (unset, unknown or still literal text: sushi). Every seat this skill spawns gets model from its row and the wallet's column in the table printed by sed -n '/^## Route the seat/,/^## Brief/p' "${CLAUDE_PLUGIN_ROOT}/skills/orchestrate/SKILL.md".
Step 1: Load Plan & Extract Issues
- Read the file at
$0. If not provided, ask for the path. - Look for review findings from
/senioro:review-spec-plan, embedded in the plan, in the review report given as$1, or in the roster printed in this conversation: one finding per line,#N [must_fix|should_fix|consider] [DIM] file:line — problem — fix. Each line is one issue. - If there are none, scan for issues using these markers:
- Explicit:
?,TBD,TODO,DECISION,OPEN,OPTION,CHOOSE,EITHER/OR - Structural: unchecked checkboxes (
- [ ]), empty table cells, null/empty YAML values - Implicit: vague language ("maybe", "possibly", "could", "or"), multiple alternatives without a chosen one, contradictions between sections
- Explicit:
- If zero issues found: report "No open issues found. The plan appears ready for implementation." and exit.
- Otherwise run the After-review flow below on those issues. In user mode you spawn its seats and ask its questions through
AskUserQuestion.
After-review flow
The text for the findings of one review pass (the roster printed in this conversation, the report at $1, or the one the brief names); resolve-review-findings reads it by path. In seat mode a brief names one step: do that step, talk to no user, return each user question as an OPEN DECISIONS line (options, recommended first) and each spawn or check you need as a NEEDS line, and write files only where the brief says. State lives in the target and the brief's report files.
- Rule. One verifier rules on the roster, refute-by-default: each id CONFIRMED or REFUTED, with evidence. A refuted must_fix, or a security id, goes to a second, blind verifier (the second blind verifier row); the id drops only if both refute. Other refuted ids drop, listed with the reason.
- Sort. A confirmed id is auto-decided when one fix follows from the target, the code or a recorded decision. A design, scope or trade-off choice, or any doubt, is a user question.
- Ask. One question at a time, must_fix first, through Step 3 of
${CLAUDE_PLUGIN_ROOT}/skills/decide-step-by-step/SKILL.md(read by path). Options are pre-validated against the target and its Decisions table, recommended first. - Apply. One implementer edits the canonical file only; a spec gains a Decisions row per user decision. Record the base first:
git addany untracked target file, thengit stash create, orgit rev-parse HEADon a clean tree. Afterwardsgit addnew files under the target's paths. - Check. One verifier rules each id ADDRESSED or not on
git diff <base> -- <paths>. Not ADDRESSED goes back to 4; an unexplained hunk is reverted or asked; code runs its gates. - Re-review. The fix diff only, frozen stages untouched. For a spec, print
Stage <n> frozen(nothing confirmed in step 1) orStage <n> fixed, base <sha>, thenNext: /senioro:review-spec-plan <spec> [<base>].
Exit: no open must_fix, or the round cap of orchestrate's Spec review section, after which the user decides.
Rules
- Show what was refuted and why, and what a check reverted; the user should understand every decision made on their behalf.
- If a decision changes later options, note this when presenting the affected issue.
- If the user wants to revisit a previous decision, go back and re-run the decision sequence for that issue.
04 同仓库更多 Skills
write-spec
Writes the technical spec for a framed goal or a product requirements document: decisions table, cited facts, root cause for fixes, design with alternatives, agreed test seams, and gateable units, then runs a hygiene pass. Use when a goal is framed and the technical how must be designed before building.
write-prd
Writes a product requirements document (problem, users, solution, user stories, success measure, out of scope) from a framed goal, recording only decisions the user made or confirmed. Use when a framed goal needs its product what and why settled before a technical spec.
unslop
Cuts AI tells from any writing, such as filler, hedging, AI vocabulary, em dashes, and jargon, while keeping the meaning and tone. Use when writing or editing prose such as docs, READMEs, PR descriptions, or commit messages, or when the technical-writing skill applies.
typescript-best-practices
Applies TypeScript best practices: discriminated unions, branded types, constructive modeling, no `as` casts, exhaustive switches, and validation at boundaries. Use when reading or editing any .ts or .tsx file.
technical-writing
Applies a layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.
status
Prints a plain-language status digest of the current work: done (and how it was verified), in flight, left, next, and open decisions, from the session's progress or rebuilt from git and the spec. Use when the user asks where things stand or what is done, left, or next.