Index of every page on this site: llms.txt
All skills
abdurshd avatar

/fix-findings

@b47f145
Run it yourself

Processes a pasted findings list from an external reviewer, PR review bot, security audit, or coding agent by verifying every claim against current code, fixing confirmed defects, rebutting stale or intentional findings, and reporting per-finding outcomes. Use when the user pastes P1/P2-style findings, says an agent found issues, asks to fix a review, or requests the fix-findings skill.

Use this Skill: https://skilld.dev/gh/abdurshd/skills/fix-findings

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈101 tokens for metadata: the name and description. ≈665 when used: this file.

Description uses 5.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈404 characters, or 5.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Fix external reviewer findings

Findings from another agent or an earlier audit are claims, not facts. The code may have moved since the review, the reviewer may be wrong, and some "issues" are documented, deliberate decisions. Never blindly apply a findings list.

Step 1 — Parse

Split the input into individual findings. For each, extract: severity (P0/P1/P2/...), the claimed defect, and the file/line/route it points at. If a finding is too vague to locate, mark it unverifiable and ask about it at the end rather than guessing.

Step 2 — Verify each finding against the CURRENT code

For every finding, before touching anything:

  1. Read the exact file/lines it references. Trace the actual behavior with real inputs — don't trust the finding's narrative or the code's names.
  2. Classify:
    • CONFIRMED — the defect is real, right now, in this tree.
    • STALE — it was real once but is already fixed (check git log/blame for the fix if useful).
    • INTENTIONAL — the behavior is a documented decision. Check AGENTS.md, CLAUDE.md, client-specific project instructions, and relevant decision/audit docs; some tradeoffs are deliberate and must NOT be "fixed".
    • WRONG — the reviewer misread the code.
    • UNVERIFIABLE — cannot be located/reproduced from the description.
  3. Do not broaden scope: fix exactly the issue set given, not everything you notice along the way. (Note genuinely serious unrelated discoveries at the end instead.)

Step 3 — Fix the confirmed ones

  • Smallest correct diff per finding; match surrounding code style.
  • Highest severity first.
  • After all fixes: run the project's typecheck / lint / relevant tests and show the real output. Where the finding is behavioral (auth, billing, routing), verify the fixed behavior directly, not just compilation.
  • Delete any temp/test scaffolding you created while verifying.

Step 4 — Report per finding

A table or list, one line per finding, in the original order:

# Severity Verdict Action
1 P1 CONFIRMED fixed in api/route.ts:42
2 P1 INTENTIONAL not changed — documented decision in AGENTS.md (<reason>)
3 P2 STALE already fixed in commit abc123

End with: verification command output, and a suggested reply the user can paste back to the reviewing agent (fixed / rebutted-with-reason per finding).

Rules

  • Never mark a finding fixed without having verified the fix compiles/passes.
  • Never "fix" an INTENTIONAL finding — rebut it with the documented reason.
  • Do not commit or push unless asked; the user ships separately (see the ship skill).

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning3mo3 checks · Risk SAFE
  • Gen Agent Trust Hub3mo

    This skill assists in resolving code issues from external reviews. It is generally safe but processes external feedback which could contain malicious text, though it includes strong instructions to verify all claims before applying fixes.

  • Socket3mo

    No alerts

  • Snyk3mo

    Risk: MEDIUM · 1 issue

Signed by skilld at b47f145. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 4 months ago

README badge

README badge for abdurshd/skills/fix-findings