fixing-review-findings
Use when the user pastes code-review findings (Codex comments, /branch-review output, PR review comments) and asks to fix or address them, or points at a…
от arjunrajlaboratory★ 22 звезды на GitHub
Установить fixing-review-findings в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Fixing Review Findings
Overview
Review findings arrive in rounds (Codex, /branch-review, PR comments) and the user usually clears context between review and fix. The workflow below is what this repo's history shows works: track findings in a committed doc, verify each against current code before fixing, fix with TDD one at a time, and generalize each finding into a branch-wide pattern check so the same mistake doesn't surface one instance per round.
Workflow
1. Get the findings into a doc
If the findings exist only in chat, write them to codebaseDocumentation/<FEATURE>-REVIEW.md first: one entry per finding with severity, location (file:line), a one-line summary, and a Status field (open / fixed <commit> / stale / by-design / deferred — <reason>). Update the doc as each finding is resolved — it is the tracker that survives context clears.
If a review doc already exists, work from it and keep updating it.
2. Verify each finding against current code BEFORE fixing
Findings are frequently stale (already fixed in a prior round) or describe a deliberate design choice. For each finding, read the cited code as it exists now and classify:
- fix — real and current → proceed
- stale — code has changed / already fixed → mark stale with evidence (commit or current line)
- by-design — the behavior was a deliberate choice → don't fix; note the rationale and surface it to the user (e.g. "P1 is the point-stub hydration design decision, not a bug")
- needs-decision — fixable multiple ways with real trade-offs (caps, limits, rate limiting, defaults) → present options with a recommendation instead of silently picking
Never blindly implement a finding just because a reviewer asserted it. Reviewers are sometimes wrong; the user has overruled findings (rate limiting → "handled by the proxy", tag index → "want direct evidence of slow queries first").
The finding's idea of correct behavior is a claim too, separate from the bug. A finding can be right that something is broken and still take for granted, in passing, what the right behavior is. Before building on that, look for callers that depend on the opposite. On PR #1389, round 1 correctly found a missing save. In passing it described "unrolling at z=5 resets z to 0" as the intended outcome, because the branch's own PR text said so, and the fix made that reset persistent. Round 3 then found that unrolled grid-cell clicks and snapshot restore depend on z surviving unroll. One grep for callers that set a location and then change the unroll flags would have caught it in round 1.
3. Fix one at a time, with TDD
For each fix finding: write the failing test first (backend: test/test_*.py via tox; frontend: vitest *.test.ts), then the fix, then update the doc's Status line. Don't batch five findings into one sweep — interleaved fixes make it impossible to tell which change broke what.
4. Generalize each finding into a pattern sweep
A reviewer flags one instance of a pattern per round. After fixing it, grep the whole branch diff for other instances of the same pattern and fix those too — otherwise the next round flags the next instance. Recurring patterns in this repo's review history:
| Pattern | Where it recurs | Check |
|---|---|---|
| Public endpoint input validation missing | @access.public endpoints in AnnotationPlugin |
Every .get()/len()/int() on request data guarded by an inline isinstance check raising RestException(code=400, ...); ids parsed with ObjectId(...)/except InvalidId → 400; limits clamped to a module-level MAX_* constant (see nimbus-backend skill) |
| Malformed ObjectId → uncaught 500 | Any endpoint converting caller-supplied id strings | except InvalidId (from bson.errors — it is NOT a ValueError) → RestException(400) at the API boundary |
| Stale selection driving bulk destructive actions | List/selection UIs with filters | Does the selected set survive a filter change and then feed a delete/tag/bulk action? |
| Budget/lazy-mode bypass on select-all paths | Anything calling hydrate/fetch with a user-controlled id set | Is there a cap, or can one click request 700K items? |
| Stale comments/tests describing pre-fix behavior | Wherever behavior changed | Grep for the old function contract in comments and test names |
| Partial persistence: one change writing the same config key twice | Handlers that change several fields of one resource | All inputs validated before the first write? Two actions in the handler both syncing the same key? (see nimbus-frontend skill) |
Store action throws/propagates without rawError: true |
Any src/store/*.ts |
Audit every store module and the whole chain — errors re-wrap at each @Action boundary, and an action needs the flag when it merely propagates (no throw of its own) |
| State outlives the thing it describes | Store maps and module-level variables kept across navigation, a remount or a logout (run |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл fixing-review-findings?
Use when the user pastes code-review findings (Codex comments, /branch-review output, PR review comments) and asks to fix or address them, or points at a review/findings doc in codebaseDocumentation/ to work through. Trigger phrases: 'here are some codex comments', 'fix these findings', 'address the review', 'go over those and fix as needed'.
Как установить скилл fixing-review-findings?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл fixing-review-findings запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…