What problem does it solve? Writing Salesforce Apex that passes code analysis, respects governor limits, and deploys cleanly requires deep knowledge of bulkification, sharing rules, and async patterns. This Skill automates the authoring, validation, and testing of Apex classes and triggers so generated code meets production standards on the first pass. ## Core Features & Use Cases - Type-Specific Class Generation: Authors services, selectors, domains, batch, queueable, schedulable, invocable, DTO, utility, interface, abstract, exception, and REST resource classes using templates and naming conventions. - Enforced Guardrails: Applies hard-stop rules for SOQL/DML outside loops, sharing keywords, CRUD/FLS enforcement, null safety, and governor-limit monitoring. - Validation & Test Loop: Runs the code analyzer on generated files, remediates severity violations, and delegates test generation to the platform-apex-test-generate skill until tests pass. - Use Case: Ask for an AccountService class that deduplicates accounts; the Skill generates the class, its meta XML, and a passing test class, then reports analyzer output and coverage. ## Quick Start Ask the assistant to create an Apex service class for Account deduplication with tests and code analyzer validation.