# Code Review

> Use when reviewing code changes for bugs, security issues, and quality. Confidence-based scoring filters false positives.

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

---


# Code Review Skill

Review changed code with confidence-based scoring to filter false positives.

## Review Scope

By default, review unstaged changes from `git diff`. The user may specify different files or scope.

## Review Criteria

### Project Guidelines Compliance
- SKILL.md YAML frontmatter format (description field required)
- Shell script POSIX compatibility (macOS/Linux)
- Bilingual documentation consistency (EN/KR)
- Conventional Commits format

### Bug Detection
- Logic errors and null/undefined handling
- Security vulnerabilities (OWASP Top 10)
- Shell script portability issues (BSD vs GNU)

### Code Quality
- Code duplication and unnecessary complexity
- Missing critical error handling
- Documentation gaps

## Confidence Scoring

Rate each issue 0-100:
- **0-49**: Do not report.
- **50-74**: Report only if critical.
- **75-89**: Verified real issue. Report with fix suggestion.
- **90-100**: Confirmed critical issue. Must report.

**Only report issues with confidence >= 75.**

## Output Format

For each issue:
```
### [CRITICAL|IMPORTANT] <issue title> (confidence: XX)
**File:** `path/to/file.ext:line`
**Issue:** Clear description of the problem
**Fix:** Concrete code suggestion
```

## Usage
Run with `/code-review` command

