Pular para o conteúdo
Kitbay
SkillOficial

platform-apex-generate

Apache-2.0Atualizado em 6 de nov. de 20261.156Estrelas no GitHub

A Salesforce skill for writing, refactoring and reviewing Apex classes and triggers.

O que a skill ensina

A Salesforce skill for writing, refactoring and reviewing Apex classes and triggers. It covers service, selector and domain classes, batch, queueable and schedulable jobs, invocable methods, DTOs, utilities, interfaces, exceptions and REST resources, with a bundled template for each. The agent authors the code, validates it before reporting, and follows the skill's rules on bulkification and governor limits, SOQL efficiency, caching, security checks and error handling, including hard-stop constraints it must enforce. It also covers trigger design, @AuraEnabled controllers and custom REST APIs. It uses the sf CLI.

O que faz

  • Generate Apex classes from bundled templates
  • Refactor or review existing Apex
  • Design triggers and @AuraEnabled controllers
  • Write custom REST resources in Apex