askill
review

reviewSafety --Repository

Code quality check with adaptive effort scaling. Includes security scanning.

2 stars
1.2k downloads
Updated 2/9/2026

Package Files

Loading files...
SKILL.md

Review

Quality check on current/recent changes. Scales effort to the task.

Depth Levels

CommandWhat It DoesWhen to Use
reviewAdaptive effort based on change type (default)Before committing
review quickBuild + typecheck onlyTypos, one-liners, low-risk changes
review deepFull 7-step verification + UI checkAfter implementing features, before shipping

Effort Scaling (Default Mode)

Task TypeReview Depth
Typo, one-linerDoes it work? Ship it.
Feature, componentBuild + types + looks right
Architecture, refactorAll above + system impact

More review for: money, security, user data, unfamiliar code. Less review for: isolated changes, low risk, well-understood code.

Quick Mode

After any change:

  1. npm run typecheck && npm run build — must pass
  2. Does it solve the problem?
  3. Would you approve this PR?

If yes to all, move on.

Default Mode (4 steps)

1. Check what changed

git diff --name-only HEAD~3
git diff --staged --name-only

2. Run quality checks

npm run typecheck
npm run build
npm run lint  # If available

3. Scan changed files for issues

For each changed file, check:

  • any types or @ts-ignore
  • console.log statements
  • Hardcoded colors (text-white, bg-gray-*)
  • Missing error handling
  • TODO/FIXME comments

4. Report

Review: [X files changed]
==========================

Build: Pass/Fail
Types: Pass/Fail
Lint: Pass/Fail (or N/A)

Issues Found:
- src/component.tsx:45 - console.log left in
- src/hook.ts:12 - Missing error handling

Suggestions:
- Consider extracting duplicate logic in X and Y

Overall: Ready to commit / Needs fixes

Deep Mode (7-step verification)

Confirm the work is done well, not just done. A task is complete when it works, solves the actual problem, and is production-ready.

What "Complete" Means

  1. It works — build passes, types check, feature functions.
  2. It solves the actual problem — not just the literal requirements.
  3. It's production-ready — handles errors, edge cases, real-world conditions.

Go beyond acceptance criteria when you see opportunities to improve UX, performance, or error messages.

For UI Tasks

Verify visually:

  • Does it look right at desktop and mobile (375px)?
  • Do all states work? (loading, error, empty, content)
  • Is sidebar hidden on mobile with a toggle?
  • Do grids stack to single column on mobile?
  • No horizontal overflow or clipped content?

Use agent-browser for verification when helpful:

for port in 3000 3001 5173 8080; do
  curl -s http://localhost:$port > /dev/null && break
done
agent-browser open http://localhost:$port/path
agent-browser snapshot -i

7-Step Checklist

Run each check in order. Stop and fix on any failure.

1. Build Check

npm run build 2>&1 | tail -20

Zero errors required. Note warnings.

2. Type Safety

npm run typecheck 2>/dev/null || npx tsc --noEmit 2>/dev/null

Zero type errors required.

3. Test Suite

npm test -- --passWithNoTests --watchAll=false 2>/dev/null

All tests pass. Report: X passed, Y failed, Z skipped.

4. Code Hygiene Scan

grep -rn "console\.log\|console\.warn\|debugger\|TODO\|FIXME\|HACK" src/ --include="*.ts" --include="*.tsx" | grep -v node_modules | grep -v "\.test\." | head -20

Report count and locations. console.error is acceptable.

5. UI Quality Scan

grep -rn "text-white\|text-black\|bg-white\|bg-black\|text-gray-\|bg-gray-" src/ --include="*.tsx" | grep -v node_modules | head -20
grep -rn "<img\|<Image" src/ --include="*.tsx" | grep -v "width\|height\|fill" | head -10

6. Diff Review

git diff --stat
git diff --name-only

Only expected files modified. Flag unexpected changes.

7. Verdict

## Verification Result

| Check | Status | Notes |
|-------|--------|-------|
| Build | PASS/FAIL | |
| Types | PASS/FAIL | X errors |
| Tests | PASS/FAIL | X passed, Y failed |
| Hygiene | PASS/WARN | X debug statements |
| UI Quality | PASS/WARN | X hardcoded colors |
| Diff | PASS/WARN | X files modified |

**Overall: PASS / FAIL**

If PASS: "Ready for commit." If FAIL: list specific items to fix.

Quality Framework Reference

Apply principles from related skills when reviewing:

SkillCheck For
standardsType safety, design tokens, all UI states, React patterns
designAvoid AI slop (no purple gradients, no Inter/Roboto)
securitySecrets, RLS, input validation, XSS

The Standard

Would a senior developer approve this PR? If not, improve it.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

AI review pending.

Metadata

Licenseunknown
Version-
Updated2/9/2026
Publisherdjnsty23

Tags

apici-cdlintingsecuritytesting