From ucai
Analyzes pull requests via git diffs, detects issues like secrets, SQL injection, debug statements, code smells, and generates quality reports/checklists for TypeScript, JavaScript, Python, Go, Swift, Kotlin.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ucai:code-reviewerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Automated code review tools for analyzing pull requests, detecting code quality issues, and generating review reports.
Automated code review tools for analyzing pull requests, detecting code quality issues, and generating review reports.
Analyzes git diff between branches to assess review complexity and identify risks.
# Analyze current branch against main
python scripts/pr_analyzer.py /path/to/repo
# Compare specific branches
python scripts/pr_analyzer.py . --base main --head feature-branch
# JSON output for integration
python scripts/pr_analyzer.py /path/to/repo --json
What it detects:
any typesOutput includes:
Analyzes source code for structural issues, code smells, and SOLID violations.
# Analyze a directory
python scripts/code_quality_checker.py /path/to/code
# Analyze specific language
python scripts/code_quality_checker.py . --language python
# JSON output
python scripts/code_quality_checker.py /path/to/code --json
What it detects:
Thresholds:
| Issue | Threshold |
|---|---|
| Long function | >50 lines |
| Large file | >500 lines |
| God class | >20 methods |
| Too many params | >5 |
| Deep nesting | >4 levels |
| High complexity | >10 branches |
Combines PR analysis and code quality findings into structured review reports.
# Generate report for current repo
python scripts/review_report_generator.py /path/to/repo
# Markdown output
python scripts/review_report_generator.py . --format markdown --output review.md
# Use pre-computed analyses
python scripts/review_report_generator.py . \
--pr-analysis pr_results.json \
--quality-analysis quality_results.json
Report includes:
Verdicts:
| Score | Verdict |
|---|---|
| 90+ with no high issues | Approve |
| 75+ with ≤2 high issues | Approve with suggestions |
| 50-74 | Request changes |
| <50 or critical issues | Block |
references/code_review_checklist.md
Systematic checklists covering:
references/coding_standards.md
Language-specific standards for:
references/common_antipatterns.md
Antipattern catalog with examples and fixes:
| Language | Extensions |
|---|---|
| Python | .py |
| TypeScript | .ts, .tsx |
| JavaScript | .js, .jsx, .mjs |
| Go | .go |
| Swift | .swift |
| Kotlin | .kt, .kts |
npx claudepluginhub joncik91/ucai --plugin ucaiGenerates a code review checklist tailored to the PR's language, change type, and risk level, with approve/request-changes recommendations.
Analyzes diffs and files to identify bugs, security vulnerabilities, code smells, N+1 queries, and architectural concerns, producing structured review reports with prioritized, actionable feedback.
Performs comprehensive code reviews with automated fixes for Python, TypeScript, JavaScript, Go, Rust projects. Analyzes quality, security, performance, architecture, tests; applies safe fixes and generates reports.