Skip to content
Back to skills

Code Review

ASecurity

Review code changes against hard rules and conventions

  • 342 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 1, 2026
toolsbashcode-reviewgitapisecurity

Works with

  • api

Security analysis

A100/100

Scanned September 1, 2026

npx -y skills add WellApp-ai/Well --skill code-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wellapp-ai-code-review/badge)](https://www.skillsdirectory.com/skills/wellapp-ai-code-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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:**
```bash
npm run typecheck && npm run lint
```

**Check for console.log:**
```bash
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.