Przejdź do treści
Biblioteka skilli
Programowanie · Planowanie

review-fix-planning

/review-fix-planning

Zamienia ustalenia przeglądu od Greptile, człowieka lub bota w plan z testami na początku i jawnymi bramkami recenzenta.

Licencja
MIT
Ostatnia zmiana repozytorium
31.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 31.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Zamienia ustalenia przeglądu od Greptile, człowieka lub bota w plan z testami na początku i jawnymi bramkami recenzenta.

Oryginalny opis (EN)

Use when a code review returns findings (Greptile, human, or bot) and you need a test-first implementation plan with explicit reviewer gates.

Jak działa

  1. Overview
  2. When to use
  3. Workflow
  4. Plan template
  5. Plan quality contract
  6. Task contract
  7. Reviewer matrix
  8. Rationalization table
  9. Red flags
  10. Validation
Sekcje z nagłówków SKILL.md, w oryginale · 160 linii, 1 255 słów
Podgląd SKILL.md
---
name: review-fix-planning
description: Use when a code review returns findings (Greptile, human, or bot) and you need a test-first implementation plan with explicit reviewer gates.
---

# Review-Fix Planning

## Overview

Turn review findings into an executable plan where every finding becomes a task, every task starts with a failing test, and every task has a reviewer gate. No finding disappears silently.

**Core principle:** A review is not done when the findings are read; it is done when each one is fixed, explicitly deferred with a ruling, or escalated — and the plan proves it.

## When to use

Use when:
- a PR review returns P0/P1/P2 findings;
- several findings touch shared files or state;
- the fix needs sequencing, tests, and review gates.

Do not use for:
- a single trivial fix whose plan the user already supplied;
- reviewing code that has not produced findings;
- executing the plan (use `executing-plans` or `subagent-driven-development`).

## Workflow

1. **Build the finding ledger.** Every finding gets a row: id, severity, file, symptom, task, regression test, status. Status is `fixed`, `deferred`, or `blocked`. A finding with no row is a defect in the plan.
2. **Classify by effect, not label.** Re-grade each finding by what a user gets if it ships. A “minor” that can lose data or a message is not minor.
3. **Resolve ambiguity with the option palette.** If a finding’s expected behavior, scope, or severity is unclear, use the harness `question` tool with 2–3 options plus one notes question. Wait for the answer; record it as a ruling. Do not guess a reviewer’s intent.
4. **Map findings to tasks.** One task per independently reviewable fix. Shared state, callbacks, and concurrency may force a larger task; unrelated findings must not be bundled.
5. **Write each task test-first.** A task is not valid without:
   - files to modify,
   - exact interfaces/signatures,
   - a failing regression test,
   - the run command and expected failure,
   - the minimal implementation,
   - the run command and expected pass,
   - a reviewer gate,
   - a commit.
6. **Add plan-level reviewers.** Before implementation, dispatch at least:
   - a product/UX reviewer,
   - a technical/concurrency reviewer,
   - a plan/test-quality reviewer.
   Fix their blockers before Task 1.
7. **Add a per-task reviewer gate.** After every task, a fresh reviewer checks spec compliance, test quality, regressions, and diff hygiene. A task is not complete until it passes.
8. **Persist the plan and mark its status.** Write it to the first writable location: the path the user named, `docs/superpowers/plans/YYYY-MM-DD-<name>.md`, `docs/plans/YYYY-MM-DD-<name>.md`, `.opencode/plan/YYYY-MM-DD-<name>.md`, or a temp directory with the path reported. Use a unique filename; never overwrite. Include `Status: draft`, owner/date, and the issue/PR. If not implemented, add a `Planned — not implemented` entry to `docs/plans.md` or the release notes; never present planned work as shipped.
9. **Add one final whole-branch reviewer.** It checks the cumulative diff against every finding, runs the full verification, and returns APPROVE or REVISE.
10. **Stop before implementation.** End with the execution handoff. In Plan mode, tell the user to switch agents.

## Plan template

```markdown
# Fix: <short title>

Status: draft
Owner: <name>
Date: YYYY-MM-DD
Issue/PR: <link or id>

## Description

What the review found, why it matters, and the decisions made.

## Finding Ledger

| Finding | Severity | File | Task | Regression test | Status |
|---|---|---|---|---|---|

## Acceptance Criteria

- [ ] <finding no longer reproduces>
- [ ] <regression test failed before the fix>
- [ ] <negative behavior that must not happen>

## Non-goals

- <behavior this fix must not change>
- <access, tool, memory, or schema surface deliberately untouched>

## Risks and Rollback

| Risk | Trigger | Impact | Mitigation | Rollback |
|---|---|---|---|---|
| <failure mode> | <how we notice> | <what breaks> | <prevention> | <how to revert> |

## Plan

### Task N: <component>

**Skills:** ...
**Files:** ...
**Interfaces:** ...
**Done when:** <acceptance check for this task>
**Steps:** RED -> GREEN -> refactor -> commit
**Reviewer gate:** ...
```

## Plan quality contract

A plan is incomplete without:

- **Acceptance Criteria:** the finding no longer reproduces, the regression test failed before the fix, and the negative behavior is pinned.
- **Non-goals:** explicitly untouched access, tool, memory, schema, or UX surfaces.
- **Risks and Rollback:** failure mode, trigger, impact, mitigation, and revert path. Required for callbacks, concurrency, delivery, migrations, and deploy steps.

## Task contract

A task is invalid if any of these is missing:

- exact files,
- exact interface/signature,
- a test that failed first,
- a verification command and expected result,
- a reviewer gate,
- a commit step.

## Reviewer matrix

| Layer | Reviewer | Checks |
|---|---|---|
| Plan | Product/UX | User impact, no new friction, deferred items visible |
| Plan | Technical | API correctness, concurrency, state, escaping, bounds |
| Plan | Plan/test | Every finding mapped, real RED tests, interface consistency |
| Task | Fresh reviewer | Task diff matches task, tests prove behavior, no unrelated churn |
| Final | Whole branch | All findings fixed/deferred with evidence, full gate green |

## Rationalization table

| Excuse | Reality |
|---|---|
| “Tests can come after the fix.” | A test written after passes immediately and proves nothing. Write it first. |
| “One task can cover all P2s.” | A reviewer cannot approve one fix while rejecting its neighbor. Split by independently reviewable change. |
| “The final reviewer covers per-task review.” | The final reviewer sees a large mixed diff; it cannot gate each task’s contract. Use both. |
| “This P2 is minor; skip it.” | Re-grade by effect. Minor means polish, not “silently absent.” Record a ruling. |
| “The plan is obvious; skip the ledger.” | The ledger is how the user sees what happened to every finding. No row means no accountability. |
| “The finding is clear enough; don’t ask.” | If scope, severity, or expected behavior is ambiguous, use the question palette. Guessing creates rework. |
| “The plan is in chat; that is enough.” | Persist it to a writable file and record the path. Chat scrollback is not a plan. |
| “Release notes can say it is fixed.” | Planned work gets a `Planned — not implemented` section, never a shipped entry. |
| “The finding is fixed; acceptance is obvious.” | Write the observable check and the regression test that failed first. |
| “Non-goals can wait.” | Unstated non-goals become accidental scope. Write them even when the answer is “none”. |
| “Rollback is obvious.” | For callbacks, concurrency, delivery, and migrations, write the trigger and revert path. |

## Red flags

- A finding absent from the ledger.
- A task with no failing test first.
- “We’ll add tests later.”
- One task named “fix all findings.”
- Guessing an ambiguous finding instead of asking.
- No plan-level reviewers.
- No per-task reviewer gate.
- Plan exists only in chat.
- An existing plan was overwritten instead of using a unique filename.
- Planned work appears in release notes as shipped.
- No Acceptance Criteria, Non-goals, or Risks and Rollback section.
- “Fixed” with no observable acceptance check or regression test.
- A high-risk finding has no rollback path.
- Starting implementation while the plan is unapproved.

## Validation

Before publishing this skill, run baseline scenarios without it and the same scenarios with it. Pass when the skill makes the plan cover every finding, asks via the question palette when a finding is ambiguous, gives every task a RED test and reviewer gate, persists the plan and its status, marks unimplemented work as planned, and never silently drops a finding.
Pliki w paczce (2)
  • SKILL.md 8 KB
  • VALIDATION.md 2 KB

Wersje

W bazie nie ma innych skilli o nazwie review-fix-planning.

Migawka bazy z 13.11.2026 · wersja paczki 86ce1f6ed8e7 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100greptile
    Triażuje komentarze bota Greptile w bieżącym PR: poprawia prawdziwe błędy i zamyka wątki fałszywych alarmów z uzasadnieniem.
  • 100github-greptile-loop
    Prowadzi pętlę poprawek pull requesta opartą na recenzjach Greptile: ocena pewności, naprawy, ponowny triage komentarzy i scalenie, gdy PR jest gotowy.
  • 100greptile-lite
    Robi przegląd kodu w stylu Greptile dla pull requestów lub lokalnego diffu i ocenia znalezione błędy w skali P0 do P2.
  • 100gr
    Prowadzi pętlę przeglądu Greptile CLI, scalania i wdrożenia produkcyjnego dla bieżącego pull requesta: naprawia uwagi, weryfikuje, ponawia przegląd, czeka na checki, scala, wdraża i sprawdza produkcję.
  • 100address-pr-comments
    Pobiera otwarte komentarze review z PR bieżącej gałęzi (Greptile, ludzie) i obsługuje każdy z nich: poprawia kod, wyjaśnia, dlaczego uwaga nie dotyczy, albo zgłasza ją użytkownikowi.
  • 100review-fix
    Naprawia komentarze w bieżącym PR: od recenzentów, Greptile i czerwone CI, klasyfikuje uwagi, wypycha poprawki i zamyka wątki.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.