Back to skills
SKILL.md
044 Apex Review 556495a4
ASecurity``` Review this Apex code for best practices and issues:
- 9 stars
- 0 votes
- 0 copies
- 1 view
- Added October 11, 2026
Security analysis
100/100npx -y skills add tools-only/X-Skills --skill 044-apex-review_556495a4 --agent claude-codeAre you the author of 044 Apex Review 556495a4?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-044-apex-review-556495a4)# Apex Code Review Template
## Gemini Review Prompt
```
Review this Apex code for best practices and issues:
CODE:
[paste code here]
REVIEW CATEGORIES:
1. BULKIFICATION
- SOQL queries in loops
- DML operations in loops
- Governor limit risks
- Collection usage
2. SECURITY
- CRUD permissions check
- FLS enforcement
- Sharing model compliance
- Injection vulnerabilities
3. BEST PRACTICES
- Trigger handler pattern
- One trigger per object
- Separation of concerns
- Proper exception handling
4. PERFORMANCE
- Selective SOQL queries
- Index usage
- Unnecessary computation
5. MAINTAINABILITY
- Code comments
- Method length
- Test coverage considerations
OUTPUT FORMAT:
JSON with summary, issues array, bestPractices array, and score
```
## Usage
```bash
gemini "Review this Apex trigger for issues: [paste code]" -o json
```
## Severity Guidelines
| Severity | Criteria |
|----------|----------|
| High | Security, governor limits, data integrity |
| Medium | Performance, best practices |
| Low | Style, minor improvements |
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.