platform-apex-generate

Generate Apex classes for Salesforce object operations.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/padjei/SF_Agents --skill platform-apex-generate-padjei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: platform-apex-generate
Source: https://github.com/padjei/SF_Agents/tree/main/.claude/skills/platform-apex-generate
Command: npx skills add https://github.com/padjei/SF_Agents --skill platform-apex-generate-padjei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating, modifying, and reviewing Apex classes, enhancing code quality and reducing development time.

Core Features & Use Cases

  • Apex Authoring: Provides templates and guidelines for creating different types of Apex classes like Services, Selectors, Batches, etc.
  • Code Refactoring: Supports the process of refactoring Apex code to improve maintainability and performance.
  • Code Review: Assists in reviewing existing Apex classes for best practices and potential issues.
  • Use Case: Imagine you are working on an integration that involves complex business logic. Use this Skill to generate the required Apex classes and perform a code review to ensure quality.

Quick Start

Use the platform-apex-generate skill to create a new batch class for processing bulk data updates.

Frequently Asked Questions about platform-apex-generate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Apex classes for Salesforce object operations?

To generate Apex classes for Salesforce object operations, use this Skill to automatically author various Apex types such as Services, Selectors, Batches, Queueables, and Schedulables from provided templates and guidelines.

What is the best way to refactor Apex code for maintainability?

The best way to refactor Apex code for maintainability is to use this Skill's refactoring support, which analyzes existing Apex classes and provides actionable improvements to enhance code performance and maintainability.

Can I use this Skill to review existing Apex classes for best practices?

Yes, you can use this Skill to review existing Apex classes for best practices. It assists in code review by identifying potential issues and ensuring quality standards are met during development.

Does this Skill support creating batch classes for bulk data updates in Apex?

Yes, this Skill supports creating batch classes for bulk data updates in Apex. It provides specific templates for Batches, alongside Queueables and Schedulables, to handle complex asynchronous processing workflows.

What types of Apex classes can I author using this Skill?

You can author multiple types of Apex classes using this Skill, including Services, Selectors, Batches, Queueables, and Schedulables, covering comprehensive Salesforce development workflows.

Are there limitations when refactoring complex business logic in Apex classes?

When refactoring complex business logic in Apex classes, limitations depend on the existing code structure and integration dependencies. This Skill provides guidelines to improve performance but requires valid Apex inputs to function correctly.