agentleFS
bruuuuucebruuuuuce/mana/skills/sonar-evidence-triage/SKILL.md

sonar-evidence-triage

Skill2 starsChanged 4 months agoMITView on GitHub

Triage existing Mana Sonar evidence for branch validation or PR review by separating new/touched findings from pre-existing noise, mapping severity to Mana risk, and deciding which Sonar findings deserve human attention.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When .mana//evidence/sonar/sonar-summary.md or related Sonar evidence already exists.

    line 41
  2. Distinctive:

    When the human asks which Sonar issues matter for the current branch.

    line 45
  3. Very specific:

    Read existing .mana//evidence/sonar/sonar-summary.md and related logs or exported issue summaries.

    line 53
  4. Very specific:

    Follow docs/standards/agent-skill-output-standard.md.

    line 72

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Sonar Evidence Triage

Purpose

Turn existing Sonar output into high-signal review evidence. Separate findings that matter for the current branch or PR from old, unrelated, or low-value noise.

When To Use It

  • When .mana/**/evidence/sonar/sonar-summary.md or related Sonar evidence already exists.
  • During branch validation or PR review when Sonar findings need triage against changed files.
  • When the human asks which Sonar issues matter for the current branch.

Outputs

  • sonar_triage_report
  • high_signal_findings
  • ignored_sonar_noise

Execution Logic

  1. Read existing .mana/**/evidence/sonar/sonar-summary.md and related logs or exported issue summaries. Do not run sonar-scanner unless the human asks.
  2. Map Sonar findings to changed files and touched methods when possible.
  3. Classify findings as new_or_touched, pre_existing_but_relevant, pre_existing_noise, or out_of_scope.
  4. Escalate only findings tied to production paths, security, database, cross-service contracts, missing tests, high complexity, or branch-changed behavior.
  5. Produce a short triage report and a list of findings suitable for human review. Never paste large raw scanner logs.

Decision Rules

  • blocker: high-confidence bug/security issue in changed production path, or quality gate failure that project policy treats as blocking.
  • warning: changed/touched issue with plausible maintainability, reliability, or testability impact.
  • info: pre-existing or low-risk issue useful for follow-up but not blocking.

Output Standard

Follow docs/standards/agent-skill-output-standard.md. Use compact caveman working notes and keep final output evidence-first. Maintain a context budget: keep a short working summary and avoid accumulating raw scanner logs, repeated issue dumps, or copied tool output.

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.