agentleFS
mkusakamkusaka/ccskills/skills/code-review-output-findings-json-array/SKILL.md

code-review-output-findings-json-array

Skill9 starsChanged 5 days agoMITView on GitHub

Defines the code-review skill's result shape: a JSON array of findings carrying file, line, summary, and failure_scenario

The file

Files
SKILL.md

Output

Return findings as a JSON array ${MAX_FINDINGS==="all"?"with one object for every finding that survives, no maximum":of at most ${MAX_FINDINGS} ${PLURALIZE_FN(MAX_FINDINGS,"object")}}:

[
  {
    "file": "path/to/file.ext",
    "line": 123,
    "summary": "${SHOULD_INCLUDE_FINDING_SEVERITY?"the problem, where it happens and what sets it off. Fix: the change to make":"one-sentence statement of the bug"}",
    "failure_scenario": "concrete inputs/state → wrong output/crash"${SHOULD_INCLUDE_FINDING_SEVERITY?`,
    "severity": "one of: important, nit, pre_existing"`:""}
  }
]

${SHOULD_INCLUDE_FINDING_SEVERITY?${FINDING_SEVERITY_GUIDANCE} :""}Ranked most-severe first. ${MAX_FINDINGS==="all"?"Keep every finding that survives. There is no maximum.":If more than ${MAX_FINDINGS} survive, keep the ${MAX_FINDINGS} most severe.} If nothing survives verification, return []. Do not call the ${REPORT_FINDINGS_TOOL_NAME} tool even if it is available - this review's output contract is the JSON block above.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.