More screenshots
Works with the AI Agents you already use
Salesforce Apex and LWC Review: Limits, Security and Tests
Review and write bulk-safe Apex, triggers, SOQL and LWC with governor limits, CRUD/FLS security and test classes.
$12
Salesforce Apex and LWC Review: Limits, Security and Tests
Example session with this skill installed
Review this trigger: it runs a SOQL query for each Account in Trigger.new and updates related Contacts one by one.
- Read your context and instructions
- Compiled the salesforce apex
Summary: risk HIGH. Top issues: SOQL and DML in a loop (fails at 101 queries), logic inside the trigger, no tests for bulk.
CRITICAL AccountTrigger - SOQL inside the loop. Fix: collect Account ids, query Contacts once with WHERE AccountId IN :ids and group them in a Map.
CRITICAL DML inside the loop. Fix: add changed Contacts to a list and update once after the loop.
IMPORTANT Move logic into a handler class and add a test with 200 Accounts.
Connects securely to your tools. The creator never sees your data.
About this skill
Catch governor-limit and security problems before Salesforce does.
Paste Apex, a trigger, SOQL or an LWC and get CRITICAL / IMPORTANT / MINOR findings with the fix, plus bulk-safe corrected code and a matching test class when asked.
What it covers
- Governor limits: SOQL or DML in loops, bulkification, selective queries, async choice (queueable, batch, scheduled)
- Trigger design: one trigger per object, handler classes, all contexts, recursion
- Security: with sharing, CRUD and field-level security, bind variables, named credentials, @AuraEnabled exposure
- LWC: wire adapters vs imperative Apex, events, error states, Jest tests
- Tests: 1 and 200 records, assertions, test data factory, runAs
- Deployment safety: validate, dependencies, rollback
Includes a governor limits cheat sheet with bulk-safe trigger and test patterns. Works with any AI agent that supports SKILL.md.
Does not connect to your org or run code. Governor limit numbers can change by release; the skill tells you to confirm them for your API version.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 6 days ago
Permissions
No special permissions declared or detected