Platform Apex Generate
Primary Apex authoring skill for class generation, refactoring, and review. ALWAYS ACTIVATE when the user mentions Apex, .cls, triggers, or asks to create/refactor a class (service, selector, domain, batch, queueable, schedulable, invocable, DTO, utility, interface, abstract, exception, REST resource). Use this skill for requests involving SObject CRUD, mapping collections, fetching related records, scheduled jobs, batch jobs, trigger design, @AuraEnabled controllers, @RestResource endpoints, custom REST APIs, or code review of existing Apex.
- Type
- Skill
- Author
- forcedotcom
- GitHub stars
- 1.1K
- Installs
- 7.1K
- Last updated
- October 30, 2026
Install
npx skills add https://github.com/forcedotcom/sf-skills --skill platform-apex-generateAbout this skill
The primary Apex authoring skill for class generation, refactoring, and review, activating on mentions of Apex, .cls files, or triggers. It covers service, selector, domain, batch, queueable, schedulable, invocable, DTO, utility, interface, abstract, exception, and REST resource classes. It also handles SObject CRUD, collection mapping, related record fetching, scheduled and batch jobs, trigger design, @AuraEnabled controllers, @RestResource endpoints, custom REST APIs, and code review of existing Apex.
Summary written with AI assistance from the project's public description.
More from forcedotcom
Platform Apex Test Generate
Generate and validate Apex test classes with TestDataFactory patterns, bulk testing (251+ records), mocking strategies, assertion best practices, a...
by forcedotcom
Platform Apex Test Run
Apex test execution, coverage analysis, and test-fix loops with 120-point scoring. Use when the user needs to run Apex tests, check code coverage,...
by forcedotcom
Platform Apex Logs Debug
Salesforce debug log analysis and troubleshooting with 100-point scoring. TRIGGER when: user analyzes debug logs, hits governor limits, reads stack...
by forcedotcom
Platform Soql Query
SOQL query generation, optimization, and analysis with 100-point scoring. Use this skill when the user needs SOQL/SOSL authoring or optimization: n...
by forcedotcom
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh