Skip to content
Back to skills

Astra Review

ASecurity

Review a Builder's change against three axes, each in its own context: correctness (the built-in code-review), the ticket's intent and criteria, and the repo's coding standards; then verify every finding at its line, give it one verdict with evidence, and route it. Use after the tests and the UI pass, before simplify, on a full ticket. A quick ticket runs the built-in review alone.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 9, 2026
ai-agentscode-reviewgitsecurity

Security analysis

A100/100

Scanned November 23, 2026

npx -y skills add thientranhung/astragentic --skill astra-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Astra Review?

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

Security grade badge for Astra Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thientranhung-astra-review/badge)](https://www.skillsdirectory.com/skills/thientranhung-astra-review)

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
---
name: astra-review
description: "Review a Builder's change against three axes, each in its own context: correctness (the built-in code-review), the ticket's intent and criteria, and the repo's coding standards; then verify every finding at its line, give it one verdict with evidence, and route it. Use after the tests and the UI pass, before simplify, on a full ticket. A quick ticket runs the built-in review alone."
---

# Review, three axes, one triage

## 1. Pin the change

The fixed point is the ticket's base (`Base:` in the brief); the diff is `git diff
<base>...HEAD`, untracked files included, staged to a temp file outside the repo. Empty diff:
stop. The **intent** is the ticket verbatim: What to build, Criteria, Must not change, and for
UI Glance and States; plus the spec FRs the criteria cite. The **standards** are every file
that documents how code is written here (`CODING_STANDARDS.md`, `CONTRIBUTING.md`,
`AGENTS.md`/`CLAUDE.md` at root and in touched directories) plus the smell baseline below.
Skip anything a linter already enforces.

## 2. Three lenses (four with the arm off), launched together before any result is read

- **Correctness**: `Skill(skill: "code-review")`, the built-in, on the staged diff. It hunts
  bugs without the intent, which is the point: what is missing, not only what is wrong. Call
  it yourself, never inside a sub-agent: its angle agents outlive the wrapper, are listed as
  running after they end, and hold your turn end (one project, one day: 4 holds of 20 min).
- **Intent** (sub-agent, read-only, given the intent and the diff, nothing else): per
  criterion, the test that proves it and whether it ran; criteria missing or partial;
  behaviour nobody asked for; criteria that look met but are met at the wrong surface (the
  intent's expectation lives at surface A, the diff and its tests exercise surface B); each
  Must-not-change line, still true or not. **Verification gap**: for each changed consumer,
  would any test fail if this broke? Read the test before saying what it covers; search for the
  symbol before saying no test exists; a source-text, no-throw, snapshot-only or mock-call
  check does not count.
- **Standards** (sub-agent, read-only, given the standards and the diff): documented-standard
  violations citing file and rule; baseline smells, named, hunk quoted; hard violations
  separated from judgement calls. A documented standard that endorses a smell silences it.
- **Adversarial**, only when `orchestrator.md`'s arm row `ticket` is `no`, or the arm did not run
  (`codex-arm` § Quota and failover), and never when that row's Claude lens column is `no`:
  `Agent(subagent_type: "astragentic-dispatch:astra-adversarial-lens", model: "opus")`, given the
  intent and the diff. It is what still reads adversarially when Codex does not; it is not an arm
  and writes no arm receipt. Opus, not Sonnet: blind-verified on seven replayed tickets, Opus 13
  real high/medium defects at 0.71 precision, Sonnet 7 at 0.46; about 109k tokens per ticket.

The sub-agents run in the foreground, in one message with the Skill call; what each
returns is its report. Each prompt ends: inspect only, no edits, no test runs, no skills, no
sub-agents, findings as text under 400 words (the adversarial lens returns its own JSON). A lens that fails is reported as failed, never
as clean.

Smell baseline (each "what → fix"): Mysterious Name → rename · Duplicated Code → extract the
shape · Feature Envy → move the method to the data · Data Clumps → one type · Primitive
Obsession → a small type · Repeated Switches → one map or polymorphism · Shotgun Surgery →
gather what changes together · Divergent Change → split by reason to change · Speculative
Generality → delete · Message Chains → one method · Middle Man → cut · Refused Bequest →
composition.

## 3. Triage, after all three report

Number every finding `R1, R2…` with its lens; do not deduplicate yet. For each: **verify the
claim at the cited line**, callers and guards included. Can that state be reached? Is it
unwanted? "Throws when X" is real only when you show X happens. **Never judge B by its
similarity to A.** Then one verdict with **one sentence of evidence**: `high` (data loss,
security, silently wrong result, path broken with no workaround) · `medium` (broken but
noticed, or limited reach; verification gaps are medium by rule) · `low` (cosmetic) · `false`
· maybe false (undecidable from the diff; say what would settle it). Severity is the harm
of one occurrence, never rarity or fix cost. Group survivors by **shared root cause** into
`F1, F2…`, highest verdict first. Standards and intent findings are **never reranked against
each other**: report each axis under its own heading.

## 4. Route, then act

- **patch**: the fix is unambiguous, adds no public surface, guards no undemonstrated state →
  fix it now, re-run the covering tests, re-stage the diff.
- **decision_needed**: the right fix depends on what the owner meant → options one line each,
  your recommendation, into the handback. Never guess and patch.
- **defer**: pre-existing and not caused by this change, or all members maybe false → one
  line in the handback with what would settle it. **A finding this change caused, with a
  verified verdict, is never deferred.** Nothing is dismissed without a reason on record.

Close with one line per axis: findings, worst verdict within that axis. Zero findings plus a
failed lens is "may be incomplete", not clean. Then `simplify`, once.

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.