Individual skill
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.
plugins/builder/salesforce-development/skills/platform-apex-generate/SKILL.md
Source commit a8a18ce1e4ba12e69b4073eab98ce31bfbd8271e
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 4, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 1,151
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- engineering Derived category
- design Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 22,518 bytesSKILL.mdcore · 22,518 bytesassets/abstract.clsasset · 5,251 bytesassets/batch.clsasset · 4,894 bytesassets/domain.clsasset · 4,152 bytesassets/dto.clsasset · 3,569 bytesassets/exception.clsasset · 1,796 bytesassets/interface.clsasset · 747 bytesassets/invocable.clsasset · 4,104 bytesassets/queueable.clsasset · 3,565 bytesassets/rest-resource.clsasset · 11,648 bytesassets/schedulable.clsasset · 2,596 bytesassets/selector.clsasset · 3,449 bytesassets/service.clsasset · 2,879 bytesassets/trigger.clsasset · 1,704 bytesassets/utility.clsasset · 3,490 bytesreferences/AccountDeduplicationBatch.clsasset · 5,963 bytesreferences/AccountSelector.clsasset · 6,484 bytesreferences/AccountService.clsasset · 8,028 bytes
Read excerpt
# Generating Apex
Use this skill for production-grade Apex: new classes, selectors, services, async jobs,
invocable methods, and triggers; and for evidence-based review of existing `.cls` OR `.trigger`.
## Required Inputs
Gather or infer before authoring:
- Class type (service, selector, domain, batch, queueable, schedulable, invocable, trigger, trigger action, DTO, utility, interface, abstract, exception, REST resource)
- Target object(s) and business goal
- Class name (derive using the naming table below)
- Net-new vs refactor/fix; any org/API constraints
- Deployment targets (default to runSpecifiedTests and use generated tests where applicable)