Skip to content
Back to skills

Adr

ASecurity

- Status: Accepted - Date: 2026-12-02 - Issue: #60 (Epic #64)

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
ai-agentsgocode-reviewsecurity

Works with

  • claude code

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add northraystudio/maruda --skill adr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Adr?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Adr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/northraystudio-adr-maruda/badge)](https://www.skillsdirectory.com/skills/northraystudio-adr-maruda)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# 0007. Pre-PR review is a thin plan-conformance skill, not a review engine

- Status: Accepted
- Date: 2026-12-02
- Issue: #60 (Epic #64)

## Context

When an agent writes most of a change, "somebody read it" stops being true by
default. In maruda's cycle a change was *checked* before its Pull Request —
tests, and whichever diagnoses its diff triggered — but nothing *read* the
diff until a human or the advisory PR Agent did, after the PR was open. The
checks that existed answered "did this break something measurable"; none
answered "is this the change that was agreed".

The obvious fix is a code-review skill: several reviewer agents, voting to cut
false positives, quick / standard / deep modes. That was drafted and dropped,
for three reasons.

**The platform already has it.** Claude Code ships a review command with effort
levels, multi-agent review at the higher ones, and the same severity split
(important / nit / pre-existing). Rebuilding it in a `SKILL.md` would be a
worse copy that maruda then has to maintain. The cycle's own rule — *check
before building: … platform feature …* — stops here.

**It cannot simply be called from a skill.** The platform review reports
through the host's own findings UI rather than as text a calling skill parses,
its effort level is sticky per-user state, and it does not exist for the other
agents that install maruda through `npx skills add`. A skill that depended on
it would work in one of maruda's two distribution channels.

**What maruda can add is something no general reviewer knows.** The agreed plan
(`<!-- gh-issue-planner:agreed-plan -->`) records an impact scope, how far to
build, and what must not be cut. Whether a diff stayed inside that is checkable,
specific to this cycle, and invisible to a reviewer that only sees the diff.

## Decision

Add `gh-pr-reviewer`, a read-only skill that:

1. checks the diff against the intent it was written for — scope, out of
   scope, Done conditions, kept safeguards, weakened checks, built-more-than-
   agreed — as its own work; and
2. delegates bug-hunting to **one** read in a fresh context (a subagent given
   the diff and the intent, never the author's conclusions), falling back to a
   self re-read that the report marks as not independent.

No voting, no multiple reviewers, no effort modes. A project that wants a
deeper review runs its platform's review on top; the two do not conflict.

Findings are classified Important / Nit / Pre-existing by line attribution and
handed over under a fixed `<!-- gh-pr-reviewer:result -->` header, the same
shape `data-validation` uses. The classes map onto the resolver's existing
ones: Important is fixed under the regression rules and budget, Pre-existing
goes to `report-to-issues`.

The skill is named `gh-pr-reviewer`, not `code-review`. Installed through
`npx skills add` a skill has no namespace, and `code-review` would collide with
the platform's own command.

## Consequences

- Review findings need no convergence rule of their own: they spend the
  resolver's existing three-iteration budget and stop at the same wall (the
  agreed impact scope).
- A change with no recorded intent gets a bug-hunt and the one check that needs
  no intent (weakened tests and thresholds), but no plan-conformance check, and
  the report says so. The skill never invents an intent to check against.
- An empty diff is reported as a failure, not a pass: "reviewed nothing" must
  not look like "found nothing".
- `gh-batch-runner` does not run this review per member — a member's work is
  committed on the epic branch it is measured against. *(Amended in 0.5.1, #66:
  the batch is reviewed once as a whole — the epic branch against every member's
  plan — before its PR. 0.5.0 shipped with no batch review.)*
- The single fresh-context read is weaker than a multi-agent review. That is
  accepted: it is the read that happens *before* the PR, and the PR still gets
  CI, the security gates, the optional cross-model PR Agent review, and a
  human.
- No JSON summary is written. Like `data-validation`, this runs on every
  change; a dated file per run would grow the commit target for no benefit.
- Because the review is LLM output, its result is a reason to fix or to look
  closer — never evidence that a change is safe. Anything that must be
  enforced stays in CI.

Files in this skill

  • 0001-batch-execution-as-a-separate-skill.md1.9 KB
  • 0002-batch-unit-as-epic-issue.md2.6 KB
  • 0003-skill-names-drop-the-prefix.md2.4 KB
  • 0004-hooks-stay-in-the-installer.md2.2 KB
  • 0005-repository-root-is-the-plugin-and-the-marketplace.md2.9 KB
  • 0006-plugin-release-process.md3.6 KB
  • 0007-pre-pr-review-is-a-thin-plan-conformance-skill.md4.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.