Skip to content

feat: add the guided-coding-plan-and-review skill - #17

Merged
feO2x merged 4 commits into
mainfrom
11-plan-and-review
Nov 17, 2026
Merged

feO2x merged 4 commits into
mainfrom
11-plan-and-review

Conversation

@feO2x

@feO2x feO2x commented Nov 17, 2026

Copy link
Copy Markdown
Owner

Closes #11

Summary

  • Add guided-coding-plan-and-review (Claude Code: plan-and-review). The invoking thread is the planner: it uses an existing draft or invokes guided-coding-write-plan, then has the plan reviewed in rounds by reviewers that do not share the planning conversation. Each reviewer runs guided-coding-review-plan in a fresh context and classifies its findings as blocking, gap, or nit.
  • The planner applies every finding, rejects it with a one-line reason, or leaves it open for the user. It may change anything except decisions the user made explicitly; those follow the collect (default) or pause setting. Contradicting findings: at most one is applied.
  • The run stops when a complete round has no blocking or gap findings, or after the round limit (default 3). A failing reviewer is replaced once; if the replacement fails too, the returned findings are addressed and the incomplete round is reported.
  • The report lists every finding with its resolution, a separate list of decision and scope changes, word counts before and after, and whether the plan changed after the last review round.
  • guided-coding-write-plan and guided-coding-review-plan become model-invocable (allow_implicit_invocation: true, disable-model-invocation: false). Their descriptions read "Run only when explicitly requested by the user or by another Guided Coding skill." All other skills stay blocked.
  • Configuration lives in an optional ## Plan Review section of ai-plans/AGENTS.md, documented in the README and the setup skill's tips.
  • Tests check each skill's invocation policy against the list of model-invocable skills; AGENTS.md, README.md, and CHANGELOG.md are updated, and the Claude adapter is regenerated.

Notes

  • Default of one reviewer on the harness default model: issue New skill: plan with independent review rounds #11 does not set one.
  • The harness tests from the original issue were skipped: invoking review-plan from a subagent is not yet verified in Claude Code or Codex.
  • The change went through four review iterations by GPT-6.1-Sol (High), ending at 10/10 in all six categories; the last commit (defining collect/pause once, generalizing contradicting findings) was not reviewed by it.

Verification

  • dotnet test (157 tests passed)
  • dotnet run --project tools/GuidedCoding.ClaudeGenerator -- --check
  • claude plugin validate . --strict
  • gh skill publish --dry-run

🤖 Generated with Claude Code

feO2x and others added 4 commits November 17, 2026 07:44
The new skill writes a plan with guided-coding-write-plan or picks up an
existing draft, then refines it through independent reviewers that run
guided-coding-review-plan in fresh contexts, in rounds, until a round has
no blocking or gap findings or the round limit (default 3) is reached.

guided-coding-write-plan and guided-coding-review-plan become model
invocable so the new skill and its reviewers can invoke them.

Refs #11

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Define a complete round and replace a failing reviewer once instead of
  treating its missing findings as clean.
- Prefer a draft the user named and ask when several drafts could match.
- Keep defaults for values that neither configuration nor arguments set.
- Make step 3 a capability check so reviewers start only in the rounds.
- Allow the explanation the plan structure requires for a changed
  decision while still banning review commentary.
- List the open-for-the-user resolution in the README summary.

Refs #11

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Address the findings already returned before stopping on an
  incomplete round, so no finding goes without a resolution.
- Count reviewer replacements in the cost statements of the README and
  the setup skill.

Refs #11

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Define both user-decision modes in the configuration section and
  refer to them from the rounds; name them in the setup tips and README.
- Apply at most one of any number of contradicting findings, and merge
  findings that say the same thing under their highest class.
- List decision changes the user approved during a pause in the report.

Refs #11

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@feO2x feO2x self-assigned this Nov 17, 2026
@feO2x feO2x added the enhancement New feature or request label Nov 17, 2026
@feO2x
feO2x merged commit c07a10d into main Nov 17, 2026
1 check passed
@feO2x
feO2x deleted the 11-plan-and-review branch November 17, 2026 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New skill: plan with independent review rounds

1 participant