generating-apex

Generate and refactor Salesforce Apex classes for services, selectors, domains, and triggers.

Updated Jun 1, 2026
One-click install
npx skills add https://github.com/Collabalist/SFDC --skill generating-apex-collabalist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generating-apex
Source: https://github.com/Collabalist/SFDC/tree/main/.agents/skills/generating-apex
Command: npx skills add https://github.com/Collabalist/SFDC --skill generating-apex-collabalist

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the creation and refactoring of Apex classes, enhancing productivity and ensuring code quality.

Core Features & Use Cases

  • Automated Class Generation: Generate Apex classes for services, selectors, domains, triggers, and more.
  • Refactoring: Refactor existing Apex classes for better structure and performance.
  • Code Review: Review Apex code for potential issues and optimizations.

Quick Start

Generate a new Apex class for the 'Account' object with CRUD operations by using the 'generating-apex' skill.

Frequently Asked Questions about generating-apex

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

FAQPage Schema
How do I automate Apex class generation for Salesforce objects?

Automated Apex class generation creates services, selectors, domains, and triggers for Salesforce objects. You can generate classes with CRUD operations and scheduled jobs by applying established Apex development patterns.

Can I refactor existing Salesforce Apex classes for better structure?

Refactoring existing Apex classes improves their structure and performance. The process targets Apex code to optimize designs, including batch jobs and trigger implementations, ensuring better code quality and maintainability.

Do I need to know Salesforce development patterns to use Apex automation?

Salesforce Apex development requires knowledge of the platform and its development patterns. Understanding Apex architecture for services, selectors, and domains is necessary to effectively implement CRUD operations and trigger design.

What is the best way to review Apex code for potential issues?

Reviewing Apex code for potential issues and optimizations is best handled through automated review processes. This identifies structural problems and performance bottlenecks across Apex classes, including batch and scheduled jobs.

Does Apex automation support generating batch and scheduled jobs?

Apex automation supports generating batch jobs and scheduled jobs. It handles the creation of Apex classes required for these operations alongside standard CRUD functionalities and trigger designs within the Salesforce environment.