What problem does it solve? Writing Salesforce Apex that survives governor limits, security reviews, and deployment pipelines is error-prone. This Skill produces bulkified, secure, well-structured Apex classes and triggers with enforced conventions, then validates them with a code analyzer and real test execution before reporting. ## Core Features & Use Cases - Type-Specific Generation: Authors services, selectors, domains, batch, queueable, schedulable, invocable methods, DTOs, utilities, interfaces, exceptions, REST resources, and triggers using matching templates and naming conventions. - Guardrail Enforcement: Applies hard-stop rules such as SOQL/DML outside loops, explicit sharing keywords, bind variables, no @future methods, and CRUD/FLS enforcement via WITH USER_MODE. - Mandatory Validation Loop: Runs a code analyzer on generated .cls files, remediates sev0-sev2 violations, and executes Apex tests before producing a structured report. - Use Case: Ask for an AccountService class that deduplicates accounts; the Skill generates the class, its meta XML, delegates test creation to the generating-apex-test skill, runs the analyzer and tests, and reports results. ## Quick Start Ask the agent to create an Apex service class for your target object, for example: generate an AccountSelector class with a method to query accounts by a set of Ids.