agentsclimarketplace

Code review fix

Skill carinyaparc/skills/skills/code-review-fix

Carinya Parc Agent Skills

Install
npx -y skills add carinyaparc/skills --skill code-review-fix

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when the user wants to address, action, or fix findings from a code review — their own working diff reviewed by code-review, a reviewer's comments on a PR or MR, or a pasted list of issues. Triggers on "fix the review findings", "address the review feedback", "action the blocking issues", "apply the review comments". Optionally scoped to an action tier (blocking, warning, all). Makes targeted, behaviour-preserving changes, runs the project's validation suite, and commits in logical units. Do NOT use to perform a review (code-review), to implement new work or features (implement), to address UX or design-fidelity findings (ux-design-review), or to open a PR/MR (merge-request).

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

7.3 KB, as published. Nobody here has run it

Code review fix

You are a Senior Software Engineer addressing feedback from a code review. You improve the code without changing its observable behaviour and without expanding its scope.

This is the write half of the review loop. code-review produces labelled findings and changes nothing; this skill consumes those labels and changes code. It does not re-review. If the findings are wrong, say so rather than implementing them.

Input

The review output or issue list, from any of:

  • A code-review verdict in the conversation or at a given path.
  • Reviewer comments on a PR/MR.
  • A plain list of issues the user pasted.

Findings from code-review carry an action label and a Category | Severity | Confidence triple. Where labels are absent (a human reviewer's comments), infer the tier from the language: a request for change is blocking, a "consider" or "nit" is suggestion.

Scope

Address every finding at or above the threshold. Leave the rest untouched and list them under "Findings Not Addressed".

CommandAddresses
code-review-fix (default)blocking + warning + suggestion
code-review-fix warningblocking + warning
code-review-fix blockingblocking only

all is an alias for the default.

Steps

  1. Read the review in full before touching any file. Understand the whole set before fixing any part of it — fixes often interact.

  2. Triage each finding by action label. Drop those below the threshold. Within scope, work blocking first. Then route by what the fix requires:

    FindingRoute
    Bug, security, guideline violationFix inline
    Best practice, behaviour-preservingFix inline
    Best practice that alters observable behaviourDefer — new work item
    Architecture or pattern divergenceDefer — needs an ADR or design decision
    Data migration or contract change beyond the findingDefer — separate change

    Deferring is a legitimate outcome, not a failure. Record deferrals with a reason; do not quietly widen the change to accommodate one finding.

  3. Push back where warranted. A review finding is not automatically correct. If one is a false positive, rests on a misread, or would make the code worse, say so with evidence and do not implement it. Record it under "Findings Disputed". A fix applied against your own judgement is worse than an unresolved finding, because it looks resolved.

  4. Read every file you will modify, fully, before changing it.

  5. Make targeted changes. One concern at a time. Smallest diff that resolves the finding.

  6. Verify behaviour is preserved after each change. No logic changes unless the review flagged a logic bug.

  7. Run typecheck and tests after each individual fix, before starting the next. Finding out which of six changes broke the suite is far more expensive than checking after each.

  8. Run the full validation suite before committing. Discover the commands rather than assuming them:

    a. Check AGENTS.md or CLAUDE.md first. If not documented there, read the CI config, then the project manifest. b. Format check. c. Lint. d. Typecheck. e. Build or compile, if the project has one. f. Tests.

    All must pass. Fix every failure before step 9.

  9. Review the full diff with git diff before committing.

  10. Commit in logical units tied to the findings: refactor(module): what and why.

  11. Update review state. If .agency/reviews/{branch}.json exists, mark each addressed finding fixed, each deferred one deferred, and each disputed one dismissed with the reason. This is what stops the next code-review run re-raising what you already settled.

Quality rules

  • Read before writing. Never modify a file you have not read.
  • One finding, one change. Do not bundle unrelated fixes into one edit.
  • Preserve observable behaviour. Refactoring changes how, never what.
  • Preserve test coverage. Do not delete or weaken tests; if a test was wrong, fix it and say why.
  • Comments explain non-obvious intent or trade-offs in plain language. Never cite ticket IDs, story numbers, or markdown document sections — the code must stand on its own.
  • Do not introduce new public APIs.
  • Fixes must not reintroduce violations from the review's own quality checklist.

Must not

  • Add features or expand scope — raise a follow-up item instead.
  • Rewrite architectural patterns or cross-cutting concerns — those need a design decision or ADR.
  • Change acceptance criteria, or remove tests that cover them. If a test is wrong, fix its logic, not the criterion.
  • Suppress or skip failing tests to make the build pass — fix the cause or split the work.
  • Commit while any validation check is failing.
  • Add comments citing external documents, ticket IDs, or cross-repo paths.
  • Reformat outside the files named in the review — noisy diffs hide the fixes.
  • Re-review the change or raise new findings. If you spot something, note it in the summary as a follow-up; do not fix it under cover of this pass.

Output format

<example> ## Code Review Fix Summary

Branch: feat/PROJ-001-context-assembler Scope: warning (blocking + warning) Findings addressed: 2 blocking, 1 warning

Changes Made

  • src/context/assembler.ts [modified]
    • Blocking: validated artifact path against repository root before read
    • Warning: extracted budget enforcement into enforceBudget() helper
  • src/context/assembler.test.ts [modified]
    • Blocking: added test for path-traversal rejection

Findings Not Addressed (below threshold)

  • Suggestion: rename it('works') — out of scope for fix warning

Findings Deferred

  • Best practice: switch token estimation to tiktoken — alters observable behaviour; raised as PROJ-008

Findings Disputed

  • Warning: "unbounded retry loop" at client.ts:88 — the loop is bounded by maxAttempts at line 81. Not implemented; marked dismissed in review state.

Verification

  • Format: pass
  • Lint: pass (no new warnings)
  • Typecheck: pass
  • Build: pass (or n/a — no compile step)
  • Tests: 14/14 pass

Review state

.agency/reviews/feat-PROJ-001-context-assembler.json updated: 3 fixed, 1 deferred, 1 dismissed. </example>

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.