All skills
mblode avatar

/tidy

@1c00344
by Matthew Blodemblode/agent-skills136 stars
12

Reviews a local diff, branch diff, or PR with file:line findings in confirmed and plausible tiers, gates any test the diff adds or changes, and in apply mode lands the fixes and diff-scoped simplifications. Use when asked to "review my changes", "code review", "tidy this", "simplify my diff", "deslop this", "structural review", "security audit", or "audit these tests in my PR". For the PR itself use pr-creator; for CI and review threads use pr-babysitter; for UI defects use ui-design; for repo architecture use codebase-architecture; for pruning the whole suite to a target use test-audit.

Use this Skill: https://skilld.dev/gh/mblode/agent-skills/tidy

This session only. Nothing lands on disk.

referencesseverity-rubric.md

≈672 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Severity Rubric

Use the smallest severity that still matches the concrete impact. Map severities into the local review report:

  • critical and major -> Must fix before push
  • minor -> Should fix soon
  • no qualifying issue -> Ready for handoff

Severity answers "how bad if real". It is independent of the verdict, which answers "how sure". A plausible finding keeps the severity its impact earns and carries a plausible marker so the reader knows a repro comes first. Do not downgrade a critical to minor because you are unsure; that hides the impact instead of the uncertainty.

A root REVIEW.md that redefines what blocks in this repo outranks the tiers below. Apply its definition and say so once in the readiness summary.

Where the same PR also gets Claude Code Review or /code-review, the tiers line up so the author is not reconciling two scales: critical and major are its Important (fix before merge), minor is its Nit. It also posts a Pre-existing tier for bugs the PR did not introduce; this skill reports those only when they sit in a function the diff touched, and drops the rest.

Critical

Introduces:

  • a certain compile or type failure
  • a direct security issue with an obvious exploit path
  • a guaranteed crash or broken core flow

Major

Introduces:

  • a clear functional regression in normal usage
  • incorrect state transitions or data handling
  • an unambiguous instruction-file violation that meaningfully changes behavior or reviewability
  • a file pushed past ~1000 lines when the new code could be extracted (structural rubric loaded)
  • ad-hoc feature logic scattered into shared code paths, harder to reason about (structural rubric loaded)

Minor

Introduces:

  • a narrow but real bug
  • a constrained edge-case regression
  • a clearly missing but non-blocking regression or validation test
  • a non-blocking instruction-file violation with clear scope
  • an artifact whose consumer is absent or unreachable: a test, generated surface, check, or fixture nothing reaches
  • a bespoke helper where a canonical utility already exists (structural rubric loaded)
  • an unnecessary abstraction layer that adds indirection without clarity (structural rubric loaded)

Do not report

Drop the finding instead of a low severity when it is:

  • refuted: the code disproves it, a type or constant makes it impossible, or the diff already guards it
  • stylistic, with no observable effect
  • pre-existing and unrelated to the diff
  • likely caught automatically by lint or typecheck without extra reviewer value

Uncertainty alone is not grounds to drop. A real mechanism whose trigger you cannot pin down is reported as plausible, not deleted.

Source: SKILL.md on GitHub

1 warning3d3 checks · Risk SAFE
  • Gen Agent Trust Hub3d

    This skill is a code review and automated refactoring tool that analyzes git diffs, pull requests, and codebase subsystems. It uses standard developer utilities like git and gh to retrieve context and can optionally invoke other installed AI CLIs for secondary analysis. While it executes repository-defined commands like tests and linters in its 'apply' mode, this behavior is consistent with its primary purpose as a developer productivity tool.

  • Socket3d

    No alerts

  • Snyk3d

    Risk: MEDIUM · 1 issue

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

Last checked against GitHub 25 minutes ago.

Activeupdated 5 days ago

README badge

README badge for mblode/agent-skills/tidy