Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Apex class generation and review v1.0.0

Use this resource to write, refactor or review production Apex code

New

  • 333 downloads
  • 195 likes
  • 134 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install apex-class-generation-review

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent writes Apex classes for the requested type, from the supplied templates, then validates the code before returning it. It applies bulkification, governor limit, SOQL and security rules, and reviews existing code on the basis of evidence.

Mostly picked by

Updated November 2, 2026

Card for the “Apex class generation and review” skill

Details

Generates with
Your agent's model
Licence
Apache-2.0

Similar resources

View all

What you get

  • SKILL.md: class types, authoring workflow and validation
  • assets/: service, selector, batch, queueable, DTO and REST resource templates

Good fit for

  • You must write an Apex batch or queueable for a large volume
  • You review a trigger that runs queries inside a loop

Not for

    Tags

    • apex
    • salesforce
    • trigger
    • batch
    • code review

    About

    You say

    “Write an Apex batch that recalculates the status of inactive accounts in chunks of 200.”

    Card for the “Apex class generation and review” skill

    Skill published by forcedotcom under the Apache-2.0 license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to write, refactor or review production Apex code
    3. Review and adjust the result

    Content preview

    Files

    • assets/abstract.cls5.3 KB
    • assets/batch.cls4.9 KB
    • assets/domain.cls4.2 KB
    • assets/dto.cls3.6 KB
    • assets/exception.cls1.8 KB
    • assets/interface.cls0.8 KB
    • assets/invocable.cls4.1 KB
    • assets/queueable.cls3.6 KB
    • assets/rest-resource.cls11.7 KB
    • assets/schedulable.cls2.6 KB
    • assets/selector.cls3.5 KB
    • assets/service.cls2.9 KB
    • assets/trigger.cls1.7 KB
    • assets/utility.cls3.5 KB
    • LICENSE11.4 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/AccountDeduplicationBatch.cls6 KB
    • references/AccountSelector.cls6.5 KB
    • references/AccountService.cls8 KB
    • SKILL.md22.4 KB

    Origin and licence

    Listed unmodified

    Author
    forcedotcom
    Source
    github.com/forcedotcom/sf-skills/tree/985407c7f7896030759d3310fe47d652265916b3/skills/platform-apex-generate
    Licence
    Apache-2.0

    Notice

    « platform-apex-generate » (forcedotcom, Apache-2.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.