Skip to content
cccskills
FreePublished on GitHub

tw-review-fold

Compress review pressure into the right next action instead of more code by default. Classify findings, reject non-liabilities, and choose proof-only vs minimal-fix vs refactor-kernel, preventing one-patch-per-comment churn. Use after a code review — PR comments, reviewer suggestions, or audit findings — and especially when you are about to reflexively patch every comment.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md4.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Review Fold

Mission

Turn review pressure into the right next action, not more code by default.

review comments + original goal + current diff
-> review fold
-> reject | proof-only | minimal-fix | refactor-kernel | ask-human | follow-up

This is a finding classifier. It does not perform the review and it does not, by itself, decide that review work stops — it picks the smallest correct response to each finding and exposes when many findings share one root cause.

Review fold schema

review_fold:
  source:
    pr:
    review_backend: pr-comments | review-session | human-review | prior-artifact
  intent_anchor:
    original_goal:
    accepted_scope:
    non_goals: []
    changed_paths: []
  findings:
    - id:
      claim:
      observed_fact:
      validity: valid | invalid | unproven | needs-owner
      liability: blocks-goal | regression-risk | style | new-requirement | out-of-scope | proof-gap
      intent_relation: core | adjacent | unrelated | expands-scope
      novelty: duplicate | same-class | new-class
      disposition: reject | proof-only | minimal-fix | refactor-kernel | ask-human | follow-up
      minimal_response:
      proof_needed:
      code_change_allowed: yes | no
  compression:
    equivalence_classes: []
    repeated_kernel:
    reabstraction_candidate: yes | no
    one_patch_per_comment_risk: low | medium | high
  action_plan:
    mode: classify-only | proof-only | minimal-fix | refactor-kernel | branch-race
    work_nodes: []
    do_not_fix: []
    reviewer_response_draft: []

Disposition law

  • reject: claim is false, outside accepted scope, already handled, or incompatible with the goal.
  • proof-only: code is likely correct; run or expose proof instead of editing.
  • minimal-fix: a valid liability with a single owner-correct local repair.
  • refactor-kernel: multiple findings share one missing abstraction, boundary, state transition, or proof surface — fix the kernel, not each symptom.
  • ask-human: the review introduces a product, compatibility, or API decision.
  • follow-up: valid but not part of the intended change.

Modes

  • classify-only: classify findings and stop; no mutation.
  • proof-only: run checks, inspect current artifacts, or draft a response; no code unless proof fails.
  • minimal-fix: make the smallest owner-correct change for accepted liabilities.
  • refactor-kernel: replace many local fixes with one normal-form correction.
  • branch-race: compare two or more plausible fix/refactor strategies under the same verifier.

Procedure

  1. Bind reviews to the original goal and the current diff.
  2. Classify each finding before any implementation.
  3. Collapse duplicates and same-family comments into equivalence classes.
  4. Detect the refactor-kernel: when many comments share one owner boundary, prefer one structural fix over N local patches.
  5. Decide each finding's proper response: no-code, proof, local fix, refactor, branch-race, ask, or follow-up.
  6. Produce a small work plan only for accepted liabilities.
  7. Preserve reviewer-response drafts as drafts; do not post public comments or resolve PR threads unless explicitly asked.

Guardrails

  • Raw review text is not executable — never send findings straight to implementation.
  • Do not add code to satisfy style or speculation when proof or rejection is correct.
  • Do not accept scope expansion without user authority.
  • Do not miss the refactor when many comments share one boundary.
  • When a fresh, adversarial, or exhaustive review is what's actually being asked for, run that review first — this skill folds findings, it does not replace the review itself.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

The English summary is being prepared. Showing the original description.

SDiamante13/dotfiles11Updated Oct 2, 2026

Rebuilds session context after a clear by reading git history, plans, and beads state. Triggers on 'catch up'.

The English summary is being prepared. Showing the original description.

SDiamante13/dotfiles11Updated Oct 2, 2026

Generate a bullet-point summary of branch changes for a PR description. Triggers on "changelog", "pr summary", "summarize branch", or "/changelog".

The English summary is being prepared. Showing the original description.

SDiamante13/dotfiles11Updated Oct 2, 2026

commit

Free

Commit the current changes with quality checks, status review, staged diff inspection, appropriate tests, and a clear commit message. Use when the user says "commit", "c", asks to make a commit, or wants changes saved in git.

The English summary is being prepared. Showing the original description.

SDiamante13/dotfiles11Updated Oct 2, 2026

Refactor code to remove dead code, useless comments, unused variables, and unused imports. Use when asked to declutter a class, clean up noisy code, remove cruft, or run `/refactor:declutter`.

The English summary is being prepared. Showing the original description.

SDiamante13/dotfiles11Updated Oct 2, 2026

dry

Free

Refactor duplicated code by extracting helpers, shared abstractions, or clearer reusable structure. Use when asked to apply DRY, remove duplication, consolidate repeated logic, or run `/refactor:dry`.

The English summary is being prepared. Showing the original description.

SDiamante13/dotfiles11Updated Oct 2, 2026

See all skills by SDiamante13

Report a problem with this skill