# Review AI

> Review changes made by AI editors (Codex, Claude, etc.). Run git diff, lint, security scan, tests, and provide a code review.

- Skill: `majiayu000/review-ai` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/review-ai`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/review-ai/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/review-ai

---


Review changes made by an AI editor. Follow these steps:

1. Run `git diff` and `git status -s` to see all uncommitted changes (staged, unstaged, and untracked files)
2. For any new untracked files, read them fully
3. Analyze every change for:
   - Bugs or logic errors
   - Security issues (SQL injection, XSS, etc.)
   - Style consistency with the rest of the codebase
   - Missing edge cases
   - Unnecessary or over-engineered code
4. Run CI checks on changed files:
   - `bin/brakeman --no-pager` (scan_ruby: security vulnerabilities)
   - `bin/importmap audit` (scan_js: JS dependency vulnerabilities)
   - `bin/rubocop` (lint: code style)
   - `PARALLEL_WORKERS=0 bin/rails db:test:prepare test test:system` (test: unit/integration/system tests)
   - For reviews, always run the exact command above to include system tests.
5. Provide a structured review:
   - Summary of what changed
   - CI results (pass/fail for each check)
   - File-by-file comments (only where there are issues)
   - Overall verdict: approve / needs fixes

