Agent Skills: Code Reviewer — 6-Aspect Analysis

6-aspect structured code review. Checks security, types, error handling, tests, quality, simplification.

UncategorizedID: nguyenthienthanh/aura-frog/code-reviewer

Install this agent skill to your local

pnpm dlx add-skill https://github.com/nguyenthienthanh/aura-frog/tree/HEAD/aura-frog/skills/code-reviewer

Skill Files

Browse the full folder contents for code-reviewer.

Download Skill

Loading file tree…

aura-frog/skills/code-reviewer/SKILL.md

Skill Metadata

Name
code-reviewer
Description
"6-aspect structured code review. Checks security, types, error handling, tests, quality, simplification."

Code Reviewer — 6-Aspect Analysis

Use after implementation, during Phase 4, or before merge.

Process

  1. Get changed files: git diff --name-only main...HEAD
  2. Run 6-aspect review (all mandatory)
  3. Generate report
  4. Decision

6 Aspects

aspects[6]{aspect,checks}:
  Security,"Hardcoded secrets, injection (SQL/XSS/cmd), auth gaps, CSRF/CORS, insecure crypto"
  Type Safety,"Missing annotations, any usage, inconsistent returns, null gaps"
  Error Handling,"Unhandled rejections, empty catch, missing error boundaries, silent failures"
  Test Gaps,"Untested critical paths, missing edge cases, over-mocking, gaps on modified files"
  Code Quality,"KISS/DRY violations, naming clarity, SRP violations, dead code"
  Simplification,"Complex conditionals, deep nesting, long functions, verbose patterns"

Report Format

[ASPECT] [SEVERITY] file:line — description
  → Fix: recommendation

Severity: CRITICAL (block merge) | WARNING (should fix) | INFO (nice to have)

Decision

  • APPROVED — 0 critical, ≤3 warnings
  • APPROVED WITH COMMENTS — 0 critical, >3 warnings
  • CHANGES REQUESTED — Any critical finding

Summary: Review: 🔒✅ 🏷️✅ ⚠️⚠️ 🧪✅ 📐✅ ♻️✅ — APPROVED WITH COMMENTS

Block Merge On

Hardcoded secrets, injection vulnerabilities, missing auth on protected routes, breaking changes without migration.