ajbcoding/claude-skill-eval/moai-alfred-code-reviewer
- community
Checking that the SKILL.md file is still in the repository.
Enterprise systematic code review orchestrator with TRUST 5 principles, multi-language support, Context7 integration, AI-powered quality checks, SOLID principle validation, security vulnerability detection, and maintainability analysis across 25+ programming languages; activates for code reviews, quality standard validation, TRUST 5 enforcement, architectural audits, and automated review automation
Install
npx vskill@latest install ajbcoding/claude-skill-eval/moai-alfred-code-reviewerSKILL.md
Enterprise Systematic Code Review Orchestrator v4.0.0
Skill Metadata
| Field | Value | |
|---|---|---|
| Skill Name | moai-alfred-code-reviewer | |
| Version | 4.0.0 Enterprise (2025-11-12) | |
| Core Framework | TRUST 5 principles, Context7 integration | |
| AI Integration | ✅ Context7 MCP, AI quality checks, pattern matching | |
| Auto-load | When conducting code reviews or quality checks | |
| Languages | 25+ (Python, JavaScript, Go, Rust, Java, etc.) | |
| Lines of Content | 950+ with 15+ production examples | |
| Progressive Disclosure | 3-level (framework, patterns, advanced) |
What It Does
Provides systematic guidance for enterprise-grade code review processes applying TRUST 5 principles, validating SOLID principles, identifying security issues, ensuring maintainability, and automating quality gates across all programming languages.
The TRUST 5 Review Framework
T - Test First
Focus: Test coverage, quality, comprehensiveness
Key Questions:
- Are tests comprehensive? Do they cover happy path + edge cases?
- Test coverage ≥ 85%?
- Tests verify behavior, not just implementation?
- Edge cases handled: null, empty, boundary values?
- Async/concurrent scenarios tested?
Tools: pytest coverage, jest --coverage, go test -cover, cargo test
Examples:
R - Readable
Focus: Code clarity, self-documentation, maintainability
Key Questions:
- Are function/variable names meaningful and clear?
- Can a new team member understand the intent?
- Comments explain WHY, not WHAT (code shows what)?
- Cyclomatic complexity reasonable (<10)?
- Functions single responsibility?
- Magic numbers extracted as constants?
Tools: linters, code formatters, readability checkers
Examples:
U - Unified
Focus: Consistency, patterns, architectural cohesion
Key Questions:
- Does code follow team patterns and conventions?
- Consistent with codebase style?
- Uses established error handling patterns?
- Logging strategy aligned?
- Database access follows repository pattern?
- API design consistent with existing endpoints?
Tools: style guides, architectural patterns, linters
Examples:
S - Secured
Focus: Security vulnerabilities, input validation, secret handling
Key Questions:
- Are inputs validated before use?
- No hardcoded credentials, API keys, or secrets?
- SQL injection prevention (parameterized queries)?
- XSS prevention (output escaping)?
- CSRF tokens used for state-changing operations?
- Authentication required for sensitive operations?
- Rate limiting on public endpoints?
- Dependency vulnerabilities scanned?
Tools: bandit, safety, npm audit, go vet, security scanners
Examples:
T - Trackable
Key Questions:
- Changelog entry added?
- Git history clear and atomic?
- Breaking changes documented?
- Migration guides for version updates?
Examples:
SOLID Principles Checklist
| Principle | Focus | Review Question | |
|---|---|---|---|
| Single Responsibility | One reason to change | Does this class/function do one thing? | |
| Open/Closed | Open for extension, closed for modification | Can behavior be extended without modifying? | |
| Liskov Substitution | Substitutable subtypes | Can derived classes replace base without breaking? | |
| Interface Segregation | Minimal, specific interfaces | Are clients forced to depend on methods they don't use? | |
| Dependency Inversion | Depend on abstractions, not concretions | Do high-level modules depend on low-level implementations? |
Code Review Process (4-Step)
Step 1: Automated Checks (5 min)
Step 2: Architecture Review (15 min)
Step 3: Security Audit (10 min)
Step 4: Implementation Review (20 min)
Review Depth Matrix
| Change Type | Severity | Automation | Review Time | Focus Areas | |
|---|---|---|---|---|---|
| Security fix | 🔴 Critical | Full scan | 30+ min | Vulnerabilities, test coverage, audit trail | |
| Core architecture | 🔴 Critical | Partial | 45+ min | Design patterns, scalability, consistency | |
| Feature (new) | 🟡 Major | Full scan | 30 min | Completeness, TRUST 5, documentation | |
| Bug fix | 🟢 Minor | Partial | 15 min | Root cause, test coverage, regressions | |
| Documentation | 🟢 Minor | Basic | 5 min | Accuracy, completeness, examples | |
| Configuration | 🟡 Medium | Full | 10 min | Security, best practices, side effects | |
| Refactoring | 🟢 Minor | Full | 15 min | Behavior preservation, performance |
Best Practices
DO
- Automate repetitive checks: Linting, coverage, formatting
- Focus human review on high-value areas: Architecture, security, design
- Be constructive: Review code, not people
- Explain WHY: Help reviewer understand the reasoning
- Request specific changes: Not vague "improve this"
- Provide examples: Show the better approach
- Flag trade-offs: Explain choices made
- Document decisions: Comment on why certain patterns chosen
DON'T
- Nitpick style: Let linters handle formatting
- Reject without alternatives: Always suggest improvements
- Make personal comments: Focus on code quality
- Review when tired: Quality suffers
- Block on minor issues: Distinguish critical from nice-to-have
- Skip security review: Always check authentication, validation, secrets
- Ignore test coverage: Enforce ≥85% requirement
Integration with Context7
Live Security Scanning: Get latest vulnerability patterns from official databases Best Practice Integration: Apply latest security recommendations from official docs Version-Aware Checks: Context7 provides version-specific security guidance Automated Fix Suggestions: Context7 patterns for common vulnerability fixes
Related Skills
moai-alfred-practices(Code patterns and best practices)moai-essentials-refactor(Refactoring strategies)
For detailed review checklists: reference.md For real-world examples: examples.md Last Updated: 2025-11-12 Status: Production Ready (Enterprise v4.0.0)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/moai-alfred-code-reviewer/SKILL.md
Popularity
- Repository stars
- 4
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 14 May 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ajbcoding/claude-skill-eval/moai-alfred-code-reviewer)