Skip to content
Back to skills

Code Review Repo

ASecurity

Review local codebase for bugs and CLAUDE.md compliance using multi-agent analysis

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 8, 2026
developmentgobashnodecode-reviewgit

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill code-review-repo --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Review Repo?

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

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

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-repo
description: Review local codebase for bugs and CLAUDE.md compliance using multi-agent analysis
allowed-tools: [Read, Glob, Grep, Task, Bash(git:*), Bash(gh:*)]
---

# Local Code Review

Review the entire local codebase for bugs, issues, and CLAUDE.md compliance.

## Process

1. **Gather CLAUDE.md files**: Use a Haiku agent to find all CLAUDE.md files in the repository (root and subdirectories)

2. **Identify source files**: Determine which files to review:
   - Include: `.ts`, `.tsx`, `.js`, `.jsx`, `.py`, `.rs`, `.go` and similar source files
   - Exclude: `node_modules/`, `dist/`, `.git/`, vendor directories, generated files

3. **Multi-agent review**: Launch 5 parallel Sonnet agents to independently review the codebase. Each agent returns a list of issues with reasons:
   - **Agent #1**: Audit for CLAUDE.md compliance. Check that code follows guidelines in all relevant CLAUDE.md files.
   - **Agent #2**: Shallow bug scan. Look for obvious bugs, error handling issues, and logic errors. Focus on significant bugs, not nitpicks.
   - **Agent #3**: Git history context. Use git blame and history to identify patterns, recent changes, and potential issues in light of historical context.
   - **Agent #4**: Previous PR comments. Check closed PRs that touched these files for any feedback that might apply.
   - **Agent #5**: Code comment compliance. Ensure code follows any guidance in TODO, FIXME, NOTE, or other code comments.

4. **Confidence scoring**: For each issue found, launch a parallel Haiku agent to score confidence (0-100):
   - **0**: False positive, doesn't hold up to scrutiny
   - **25**: Might be real, but unverified. Stylistic issues not in CLAUDE.md
   - **50**: Real but minor, rarely hit in practice
   - **75**: Verified real issue, important, directly impacts functionality or mentioned in CLAUDE.md
   - **100**: Definitely real, frequently hit, evidence confirms

5. **Filter**: Only report issues with score >= 80

## False Positive Examples

Avoid flagging:

- Issues that linters/typecheckers catch (imports, types, formatting)
- General quality issues unless in CLAUDE.md
- Code with lint-ignore comments for that specific issue
- Pre-existing issues unrelated to recent changes
- Pedantic nitpicks a senior engineer wouldn't mention

## Output Format

### Code review

Found N issues:

1. Brief description (CLAUDE.md says "...")
   `file/path.ts:42`

2. Brief description (bug due to missing error handling)
   `file/path.ts:88-95`

---

Or if no issues:

### Code review (no issues)

No issues found. Checked for bugs and CLAUDE.md compliance.

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.