sf-apex

Community

Generate & review Apex code with 2025 best practices.

AuthorJaganpro
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Writing high-quality, secure, and performant Apex code that adheres to Salesforce best practices and governor limits is challenging. This skill automates Apex code generation and provides expert code reviews, ensuring your code is production-ready and maintainable, saving development and review time.

Core Features & Use Cases

  • Intelligent Code Generation: Create Apex classes, triggers (using Trigger Actions Framework), and test classes from natural language requirements.
  • Automated Code Review: Analyze existing Apex code against 8 categories of best practices, providing a score and actionable fixes.
  • Deployment Integration: Seamlessly validate and deploy generated or reviewed code using the sf-deployment skill.
  • Use Case: "Generate an Apex service class to handle Account record updates, ensuring bulkification and proper error handling." The skill will create the class, a corresponding test, and validate it against best practices.

Quick Start

Generate an Apex trigger for the Account object that sets default values before insert.

Dependency Matrix

Required Modules

sf-deployment

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sf-apex
Download link: https://github.com/Jaganpro/claude-code-sfskills/archive/main.zip#sf-apex

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository