review
/review
Uruchamia agentów oceniających jakość kodu względem standardów architektury, testów i prostoty, a potem zapisuje jeden ponumerowany raport.
- Autor
- verygoodopensource ↗
- Repozytorium
- vgv-wingspan ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 12.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 7
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/detect-review-scope.sh
Co robi i kiedy
Uruchamia agentów oceniających jakość kodu względem standardów architektury, testów i prostoty, a potem zapisuje jeden ponumerowany raport.
Wyzwalacze z opisu
Argumenty
/review [path/to/files/or/directories (optional)]
Oryginalny opis (EN)
Runs quality review agents on demand — reviews code against VGV standards for architecture, tests, and simplicity, then writes one consolidated, numbered report. Use when the user wants written code assessed rather than changed, and on "review this code", "code review", "check this code", "look this over", "review before merging". Also use when the user pastes a file, a diff, or a branch summary and asks for it to be reviewed — code arriving in the message rather than on disk does not make it a different task.
Jak działa
- Review Scope
- Step 1 — Detect Scope
- Step 2 — Run Reviews
- Step 3 — Consolidate & Present
- Step 4 — Act
- Gotchas
Podgląd SKILL.md
---
name: review
user-invocable: true
description: Runs quality review agents on demand — reviews code against VGV standards for architecture, tests, and simplicity, then writes one consolidated, numbered report. Use when the user wants written code assessed rather than changed, and on "review this code", "code review", "check this code", "look this over", "review before merging". Also use when the user pastes a file, a diff, or a branch summary and asks for it to be reviewed — code arriving in the message rather than on disk does not make it a different task.
argument-hint: "[path/to/files/or/directories (optional)]"
allowed-tools: Bash(*/scripts/detect-review-scope.sh) Bash(gh *) Bash(glab *)
effort: high
compatibility: Designed for Claude Code (or similar products with agent support)
---
# Review code on demand
Run quality review agents. Review manually written code, assess existing codebases, or
check a branch before merging. Output is **one consolidated report** with stable,
numbered findings the user can act on by id.
> **Every question in this skill goes through the AskUserQuestion tool.** When that tool is
> not available — another harness, or a non-interactive session — put the same question and
> the same options in your reply as a short numbered list, and stop there for the answer.
> Never answer a question on the user's behalf and carry on: a question the user never sees
> is not a question, and a step that waits on one is not optional.
## Review Scope
<review_scope>$ARGUMENTS</review_scope>
## Step 1 — Detect Scope
Parse the review scope above for optional file paths or directories.
**If paths are provided:**
1. Validate each path exists (split on whitespace, check each token).
2. Use provided paths as review scope. Derive the scope slug deterministically from the first
path: drop any file extension, then replace `/` with `-` (`lib/auth/` → `lib-auth`,
`lib/auth/token.dart` → `lib-auth-token`). Same paths always give the same slug.
3. Announce scope to the user and proceed to Step 2.
**If no paths provided:**
Run the scope detection script:
```bash
${CLAUDE_SKILL_DIR}/scripts/detect-review-scope.sh
```
- **If `SCOPE=branch`**: use the listed files as scope. The scope slug is the current
branch name with `/` replaced by `-`. Announce scope summary (changed-file count, areas
affected) and proceed to Step 2.
- **If `SCOPE=default`**: tell the user "You're on `<CURRENT_BRANCH>`. No branch diff
available." Use **AskUserQuestion**: "What would you like to review?" with options:
- **Specify files or directories**: accept paths; derive the slug from the first path as above.
- **Review entire project**: no scope constraint; slug `project`.
## Step 2 — Run Reviews
Each run gets its own directory `<PWD>/docs/code-review/<slug>/`, so one run never clobbers
another branch's kept report.
Dispatch the **default agents** below per [review agent dispatch](references/review-dispatch.md),
with `<RAW_DIR>` = `<PWD>/docs/code-review/<slug>/raw`. Projects may add agents in their
`CLAUDE.md` (include them alongside the defaults) or replace the default set entirely. Offer
to retry any agent that fails.
| Agent | Report name |
|-------|-------------|
| **@vgv-review-agent** | `vgv-review` |
| **@architecture-review-agent** | `architecture-review` |
| **@test-quality-review-agent** | `test-quality-review` |
| **@code-simplicity-review-agent** | `code-simplicity-review` |
## Step 3 — Consolidate & Present
Follow the [review consolidation procedure](references/review-consolidation.md):
1. Collect every agent's structured findings, verify each against the code (dropping the
findings it does not confirm), deduplicate, order deterministically, and assign stable
`FINDING-NN` ids.
2. Write **one** consolidated file to `<PWD>/docs/code-review/<slug>/review.md` using the
[report template](references/review-report-template.md).
3. Print the aligned chat summary: lead with the report path, severity counts, and any
dropped count, then reprint the Critical and Important rows verbatim (same ids, order,
titles) and collapse Suggestions to a count.
### The findings contract
These names leave this skill — the user acts on findings by id, and `/build` and `/hotfix`
reuse them — so they are fixed here and not only in the reference. Hold them even when the
reference cannot be read:
- Every finding gets an id `FINDING-NN`, numbered from `FINDING-01` in the order the
consolidation procedure fixes, and a rule id `<category>/<rule>` from `vgv`, `architecture`,
`tests`, `simplicity` or `pr-readiness` — for example `tests/missing-test-file`.
- Every finding carries one severity: **Critical**, **Important** or **Suggestion**.
- Every finding carries a **Why** line and a **Fix** line.
- The chat summary reprints the Critical and Important findings verbatim — same ids, same
order, same titles — and collapses Suggestions to a count.
If a reference file cannot be read from here, say so once and produce the review in this
shape anyway. A review without ids is a review the user cannot take apart, which is most of
why it was run.
**If no findings:** write the short all-clear report and tell the user the code looks good,
plus how many findings were dropped, if any.
## Step 4 — Act
This skill is advisory — take no action until the user picks one. Use **AskUserQuestion** to
present post-review options (the ids and rules follow the consolidation procedure's
"Acting on findings" section):
- **Fix critical issues**: address every Critical finding by id, then run the project's
linter and test runner. One attempt per fix; if validation fails, report what failed and
move on. Only modify files within the original review scope.
- **Fix critical + important**: same, plus Important findings.
- **Fix specific findings**: accept ids from the user (e.g. "FINDING-01, FINDING-04"), or a
rule id to act on a whole class (e.g. "fix every `tests/missing-test-file`").
- **File findings on the PR as comments**: follow [file findings on the PR](references/file-findings-on-pr.md)
— a two-step flow that first asks which findings to include, then how to deliver them
(inline comments, one summary comment, or print the drafts for the user to post manually).
- **Keep report and exit**: the report stays at `docs/code-review/<slug>/` for manual review.
**After fixing (if chosen):** re-run linter + test runner (no agent re-run), then present a
brief summary of which findings (by id) were fixed.
## Gotchas
- Each run writes to its own `docs/code-review/<slug>/` directory (report + `raw/`). Re-running
the same scope overwrites only that slug's directory; a different branch or path uses a
different slug, so a report you keep is never clobbered by a later run of another scope.
- Because ids come from a deterministic sort (severity → file → line → rule), re-running on
unchanged code produces the same ids — `FINDING-03` keeps pointing at the same issue. Each
finding also carries a stable rule id (e.g. `vgv/missing-null-check`) the user can act on
as a class.
- On the default branch with no diff, scope is ambiguous. The skill asks; do not default to
reviewing the whole project without confirmation.
- Agent failures are non-fatal. Always report which agents failed so the user knows the
review is incomplete.
- Auto-fix only touches files within the original scope. If a fix needs changes outside
scope, flag it instead of silently expanding scope.
- Reports are untracked working files that survive the run — commit or delete them when no
longer needed. When a finding is ambiguous, its linked raw report carries the full detail.
Pliki w paczce (7)
- SKILL.md 8 KB
- references/file-findings-on-pr.md 1 KB
- references/review-agent-instructions.md 1 KB
- references/review-consolidation.md 1 KB
- references/review-dispatch.md 1 KB
- references/review-report-template.md 1 KB
- scripts/detect-review-scope.sh 1 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · verygoodopensource/vgv-wingspan | 100 | MIT |
| metabase/metabase-cli | 100 | AGPL-3.0 |
| ericrisco/rsc-harness | 100 | MIT |
| ClickHouse/ClickHouse | 100 | Apache-2.0 |
| markusleben/ha-nova | 100 | MIT |
| duronext/jig | 100 | MIT |
| borkweb/bork-ai | 100 | MIT |
| microsoft/fluidframework | 100 | MIT |
| microsoft/fluidframework | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 8943c1930251 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90code-review
Przegląda zmiany od wybranego punktu na trzech osiach: standardów, specyfikacji i prostoty, w równoległych subagentach. - 100code-review
Recenzuje pull request, merge request, gałąź lub diff, audytuje zmienione pliki i sprawdza jakość kodu. - 90code-review
Przegląda zmiany od commita, gałęzi lub tagu pod kątem standardów kodu i specyfikacji, także dla pracy w toku. - 90code-review
Przegląda zmiany od punktu stałego pod względem standardów repozytorium i zgodności z PRD, w dwóch równoległych podagentach. - 90code-review
Przegląda kod pod kątem jakości, błędów i problemów projektowych, gdy ktoś prosi o ocenę kodu lub PR. - 90code-review
Przegląda zmiany od wybranego punktu na osiach standardów i specyfikacji, równolegle przez subagentów.