full-codebase-review
Periodic full codebase review using automatic-code-review rules.
- CCM score
- 54 of 100
- version
- 1.0.1
- GitHub stars
- 368
Own this plugin? Claim it
What it does
- Reviews entire codebase, not just modified files
- Includes 1 command:
full-review
Add marketplace
/plugin marketplace add NTCoding/claude-skillzRun it inside Claude Code once, then install the plugin below.
Install
/plugin install full-codebase-review@claude-skillzRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceFull Codebase Review
Review the entire codebase against .claude/automatic-code-review/rules.md - the same rules used for automatic code review on modified files, but applied to everything.
Arguments
--report: Save findings todocs/reviews/YYYY-MM-DD-full-review.md--issue: Create GitHub issue with findings summary--scope <path>: Limit to specific path (default: entire codebase)
Parse these from $ARGUMENTS.
Procedure
Step 1: Parse Arguments
ARGUMENTS: $ARGUMENTS
Extract:
generate_report: true if--reportpresentcreate_issue: true if--issuepresentscope_path: value after--scopeor default to project root
Step 2: Discover Files
Use Glob to find all TypeScript files (production AND test files):
Pattern: **/*.{ts,tsx}
The Glob tool respects .gitignore, so node_modules/, dist/, etc. are automatically excluded.
If scope_path is set, use that as the base path for the glob.
Categorize files:
- Test files: any file matching
*.spec.ts,*.spec.tsx,*.test.ts,*.test.tsx - Production files: all other
.ts/.tsxfiles
Store the complete file lists - these will be included in the report appendix.
Report:
Found X files to review:
- Production files: Y
- Test files: Z
Step 3: Chunk Files
Split file list into chunks of ~30 files each.
Chunking logic:
- If total files <= 30: single chunk
- Otherwise: split evenly into chunks of ~30 files
Report: "Split into X chunks of ~Y files each"
Step 4: Review Each Chunk
For each chunk, spawn the automatic-code-reviewer subagent:
Use Task tool with:
- subagent_type: "automatic-code-reviewer"
- prompt: "Review these files: [file1, file2, ...]"
Important: The automatic-code-reviewer will:
- Read
.claude/settings.jsonto find the rules file - Read the rules file (
.claude/automatic-code-review/rules.md) - Review each file against ALL rules
- Return findings in structured format
Collect ALL findings from each chunk.
Step 5: Aggregate Results
Combine findings from all chunks into categories:
- Architecture/Modularity Violations
- Coding Standards Violations
- Testing Standards Violations
- Dangerous Fallback Values
- Anti-Pattern Violations
- Duplicated Code
- Other Findings (anything that doesn't fit the above)
- Suggested Updates
Deduplicate similar findings. Sort by severity (Critical > High > Medium > Low).
Step 6: Display Summary
Always display a summary to the user:
## Full Codebase Review Complete
**Files reviewed:**
- Production files: X
- Test files: Y
- Total: Z
**Chunks processed:** N
**Total violations found:** V
### By Category:
- Architecture/Modularity: N
- Coding Standards: N
- Testing Standards: N
- Dangerous Fallbacks: N
- Anti-Patterns: N
- Duplicated Code: N
- Other: N
### Top Issues:
1. [Most critical finding]
2. [Second most critical]
3. [Third most critical]
Step 7: Generate Report (if --report)
If generate_report is true:
- Create directory:
docs/reviews/(if doesn't exist) - Write report to:
docs/reviews/YYYY-MM-DD-full-review.md
Report format:
# Full Codebase Review - YYYY-MM-DD
## Summary
- **Production files reviewed:** X
- **Test files reviewed:** Y
- **Total files reviewed:** Z
- **Chunks processed:** N
- **Total violations:** V
- **Review rules:** .claude/automatic-code-review/rules.md
## Architecture/Modularity Violations
[List all findings with file:line, issue, suggested fix]
## Coding Standards Violations
[List all findings]
## Testing Standards Violations
[List all findings]
## Dangerous Fallback Values
[List all findings]
## Anti-Pattern Violations
[List all findings]
## Duplicated Code
[List all findings]
## Other Findings
[Anything that doesn't fit the categories above]
## Suggested Updates to Conventions
Based on patterns found in this review:
1. [Suggestion for updating docs/conventions/]
2. [Another suggestion]
---
## Appendix: Files Reviewed
### Production Files (X)
<details>
<summary>Click to expand full list</summary>
- path/to/file1.ts
- path/to/file2.ts
...
</details>
### Test Files (Y)
<details>
<summary>Click to expand full list</summary>
- path/to/file1.spec.ts
- path/to/file2.test.ts
...
</details>
---
*Generated by full-codebase-review plugin*
Report: "Report saved to docs/reviews/YYYY-MM-DD-full-review.md"
Step 8: Create GitHub Issue (if --issue)
If create_issue is true:
Use Bash to create issue via gh:
gh issue create \
--title "Full Codebase Review - YYYY-MM-DD" \
--body "$(cat <<'EOF'
## Summary
- Files reviewed: X
- Total violations: Z
## Action Required
### Critical (fix immediately)
- [ ] [Critical finding 1]
- [ ] [Critical finding 2]
### High Priority
- [ ] [High priority finding 1]
- [ ] [High priority finding 2]
## Full Report
See: docs/reviews/YYYY-MM-DD-full-review.md (if --report was used)
---
*Generated by full-codebase-review plugin*
EOF
)" \
--label "tech-debt" \
--label "code-review"
Report the issue URL.
Error Handling
- If no files found: Report "No TypeScript files found" and exit
- If rules file not found: Warn but continue with basic review (automatic-code-reviewer handles this)
- If chunk review fails: Log error, continue with remaining chunks
- If
ghnot installed: Warn and skip issue creation
Notes
- This reuses the existing
automatic-code-revieweragent from theautomatic-code-reviewplugin - The same rules.md file is used, ensuring consistency between session reviews and full reviews
- Large codebases may take significant time - consider using
--scopeto limit
Readme
Full Codebase Review Plugin
Apply your project's automatic code review rules to the entire codebase, not just modified files.
What It Does
This plugin extends the automatic-code-review plugin by reviewing ALL source files against your rules.md, instead of just files modified in the current session.
Same rules. Same dimensions. Full coverage.
Prerequisites
automatic-code-reviewplugin installed and configured.claude/automatic-code-review/rules.mdin your projectghCLI installed (for--issueflag)
Installation
/plugin install full-codebase-review@claude-skillz
Usage
Basic Review
/full-review
Reviews entire codebase and displays findings summary.
With Report
/full-review --report
Saves detailed findings to docs/reviews/YYYY-MM-DD-full-review.md.
With GitHub Issue
/full-review --issue
Creates a GitHub issue with actionable checklist.
Scoped Review
/full-review --scope libs/domain
Reviews only files within the specified path.
All Options
/full-review --report --issue --scope libs/
How It Works
- Discovers files - Globs
**/*.{ts,tsx}(respects.gitignorefor exclusions) - Chunks files - Splits into batches of ~30 files
- Reviews each chunk - Spawns
automatic-code-reviewerfor each batch - Aggregates results - Combines findings, deduplicates, sorts by severity
- Generates output - Summary, report file, and/or GitHub issue
Review Categories
Same as automatic-code-review:
- Architecture/Modularity violations
- Coding Standards violations
- Testing Standards violations
- Dangerous Fallback Values
- Anti-Pattern violations
- Duplicated Code
- Suggested convention updates
Report Format
# Full Codebase Review - YYYY-MM-DD
## Summary
- Files reviewed: 150
- Chunks processed: 5
- Total violations: 23
## Architecture/Modularity Violations
...
## Coding Standards Violations
...
## Suggested Updates to Conventions
...
Relationship to automatic-code-review
| Feature | automatic-code-review | full-codebase-review |
|---|---|---|
| Trigger | Session end (PostToolUse hook) | Manual (/full-review) |
| Scope | Modified files only | Entire codebase |
| Rules | .claude/automatic-code-review/rules.md | Same |
| Agent | automatic-code-reviewer | Same (reused) |
| Output | Inline findings | Summary + report + issue |
Tips
- Large codebases: Use
--scopeto review incrementally - Track progress: Compare reports over time in
docs/reviews/
Details
- Marketplace
- NTCoding/claude-skillz
- Source
- full-codebase-review
- Category
- Development
- Keywords
- code-review, tech-debt, codebase-analysis, periodic-review, quality
- Listed since
- Apr 7, 2026
More from NTCoding/claude-skillz
All 13Similar to full-codebase-review
More Code Review & Qualityautomatic-code-reviewNTCoding/claude-skillz368 starsAutomatic code review on session stop with configurable rules
code-reviewopenshift-eng/ai-helpers123 starsAutomated code quality review with language-aware analysis, pre-commit verification, and multi-specialist deep review
code-review-assistantrohitg00/awesome-claude-code-toolkit2.9K starsAutomated code review with severity levels and actionable feedback
learn-from-prsNTCoding/claude-skillz368 starsAnalyze PR feedback patterns from CodeRabbit, SonarQube, and reviewers to suggest config updates that catch issues locally
engineering-code-review-qualitymarslanalvi/SkillsStack5 starsCode review, refactoring, simplification, code quality and technical debt
handbook-code-reviewNikiforovAll/claude-code-rules143 starsCode review plugin with two strategies: disposable subagents for one-shot reviews and persistent team members for iterative reviews