Skip to content
Back to skills

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
code-qualitygobashsecurityperformance

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 044-apex-review_556495a4 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 044 Apex Review 556495a4?

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

Security grade badge for 044 Apex Review 556495a4
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-044-apex-review-556495a4/badge)](https://www.skillsdirectory.com/skills/tools-only-044-apex-review-556495a4)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# 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

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.