Aetox code review

From Mikedev115/Aetox · View interactive version

Aetox code review is an AI agent skill from the GitHub repository Mikedev115/Aetox. ตอนต้องรีวิว diff, PR, คอมมิต หรือการเปลี่ยนแปลงก่อน merge หรือถูกถามว่าโค้ดนี้ปลอดภัย/ถูกต้องไหม

How to use this skill

Skill file

Aetox Code Review

A review judges a change in the system it lands in, not the lines of the

diff. The discipline is the architect's (aetox-architect), cut down to one

change: understand before judging, evidence before opinion, the smallest safe

correction, and nothing invented to look thorough.

What is under review

The diff, PR, commit or files the user named. Nothing named: git diff HEAD

is the change, then the last commit if the tree is clean. Ask only when there

is no diff to find.

Understand before judging

  1. For every changed function, read its callers and the tests that cover it.

A change is safe or unsafe because of what reaches it, and the diff does

not show that.

  1. Read the project's own way of doing the same thing elsewhere: error

handling, naming, module layout, how data is reached. The change is judged

against the project's dominant pattern and the framework's documented

conventions, never against personal taste.

  1. Run it. Build and test the touched packages before the verdict. A verdict

with no run is Inferred, and says so.

  1. Scan by default: the changed code and one hop out. Read a whole module

only when the change crosses a boundary, and say that you did.

What to look for

off-by-one, concurrency, state that can now be reached twice.

secrets in code; a check that moved and no longer guards what it did.

When the change touches auth, secrets, crypto or a permission check, or

the question is "can this be attacked", the security section of the

report is aetox-security's.

way everywhere else.

bypassed, a side effect crossing a boundary the structure claims to keep.

shown, not supposed.

The shape of a finding

Every finding carries all five, or it is not a finding:

High (harms change safety now) · Medium (taxes future work) · Low

(worth noting, not acting on).

confirm it before acting.

under review is not edited unless the user asks.

Not a finding: taste with no convention behind it; working code that is

merely different from how you would write it; hypothetical scaling or "best

practice" with no evidence of impact here; anything you cannot trace to a

line. None identified is a complete answer and beats an invented one.

Report

Ordered by reader priority, not by the order you worked in:

  1. Verdict: merge · fix first · discuss - one line saying why.
  2. Critical and High findings, in the shape above.
  3. Medium and Low, briefly.
  4. What was run and what it said, failures included in their own words;

what was not checked and why.

Short. A review is read by someone about to press a button.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.