Skip to content
Finance
Skill

/code-review

Review code changes against hard rules and conventions

BOOST
From plugin
well
34637 skills
Install
$ npx -y skills add WellApp-ai/Well --skill code-review --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/code-review

Context preview

The summary Claude sees to decide when to auto-load this skill.

Review code changes against hard rules and conventions

SKILL.md

code-review.SKILL.md
name: code-review
description: Review code changes against hard rules and conventions

Code Review Skill

Systematically review code for quality, conventions, and potential issues.

When to Use

  • Before committing changes (auto-triggered)
  • Reviewing others' PRs
  • Self-review before pushing
  • Pre-push validation (Phase 0)

---

Phase 0: Pre-Push Validation

Before reviewing code, ensure build passes:

  • [ ] `npm run typecheck` - No type errors
  • [ ] `npm run lint` - No lint errors
  • [ ] No console.log in changed files
  • [ ] Tests pass (if applicable): `npm run test`

If any check fails, fix before proceeding to code review.

**Quick check command:**

npm run typecheck && npm run lint

**Check for console.log:**

git diff --cached --name-only | xargs grep -l "console.log" 2>/dev/null

---

Review Checklist

Hard Rules Check

  • [ ] No `any` type usage
  • [ ] No console.log statements
  • [ ] Components under 200 lines
  • [ ] No inline styles (Tailwind only)
  • [ ] No arbitrary values (`px-[13px]`)
  • [ ] API follows 3-layer pattern

Code Quality Check

  • [ ] Clear variable/function names
  • [ ] No duplicated code
  • [ ] Proper error handling
  • [ ] Types are specific (not `unknown` everywhere)

Conventions Check

  • [ ] Follows existing patterns in codebase
  • [ ] Imports organized correctly
  • [ ] File in correct location (feature folder)

Security Check

  • [ ] No hardcoded secrets/API keys
  • [ ] No exposed sensitive data
  • [ ] Proper input validation

Output Format

Present findings as:

---

Code Review Summary

**Files Changed:** [count] **Issues Found:** [count by severity]

Critical (must fix)

  • [ ] `file.ts:L42` - [issue description]

Warnings (should fix)

  • [ ] `file.ts:L15` - [issue description]

Suggestions (nice to have)

  • [ ] `file.ts:L88` - [suggestion]

Approved

  • [x] No blocking issues found

---

**Proceed with commit?** (yes / fix issues first)

---

Auto-Trigger

This skill is automatically invoked before every commit.

Read more
Ships withwell

You don't have to waste time retrieving invoices. AI can.

Get the whole plugin
Stats
346
Stars
49
Forks
Active
Maintenance
TypeScript
Language
MIT
License
4d ago
Last commit
1y ago
Created
6h ago
Added

Repo: WellApp-ai/Well

Other skills on well.