All skills
SKILL.md / en

sf-apex

Jaganpro/sf-skills

Generates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.

Install sf-apex in 1 command

skills CLI: The skills CLI downloads this skill from GitHub and puts the folder where your agent looks for skills. Add -g to install it for every project instead of the current one.

Claude Code

Run in your terminal, inside the project.

npx skills add Jaganpro/sf-skills --skill sf-apex -a claude-code

Codex

Installs into .agents/skills for Codex.

npx skills add Jaganpro/sf-skills --skill sf-apex -a codex

claude.ai

No terminal needed. Works on Free, Pro, Max, Ultra, Team and Enterprise plans.

  1. Download the skill folder (the one with SKILL.md) from GitHub and zip it. The folder name must match the skill name.
  2. In Settings, Capabilities, turn on code execution and file creation.
  3. Open Customize, Skills, click +, Create skill, Upload a skill, pick the zip and switch it on.

Read SKILL.md and any scripts before you run it. Claude Code guide · Codex guide · Security checklist

What it does

Generates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.

Source on GitHub: Jaganpro/sf-skills

Example prompt

Paste this after installing. Replace the task with your own.

Use the sf-apex skill for this task: [describe what you want in one or two sentences]. Before you change anything, list the files you will read or edit and the steps you will take.

Or let your agent review and install it

Paste this prompt into Claude Code or Codex in your project. Your agent can review the source and install the complete folder.

GitHub file

Path
skills/sf-apex/SKILL.md
Source updated
17/09/2026

SKILL.md

read only

Open the full file on GitHub

Read the current instructions on GitHub. Full text appears here only when the repository has a recognized license.

Read SKILL.md on GitHub

Get the free Claude Code skills PDF

A short guide to the skills worth installing first, sent in Telegram by Anton Shumeiko. It also opens the free Claude Skills course.

Open in Telegram

About the sf-apex skill

sf-apex is an Agent Skill from the Jaganpro/sf-skills GitHub repository, which has 424 stars and 98 forks. The skill file is skills/sf-apex/SKILL.md on the main branch: open it on GitHub.

Description: Generates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.

Repository licence: MIT. Categories: Testing. Source updated: 2026-09-17.

Start of SKILL.md

sf-apex: Salesforce Apex Code Generation and Review Use this skill when the user needs **production Apex**: new classes, triggers, selectors, services, async jobs, invocable methods, test classes, or evidence-based review of existing `.cls` / `.trigger` code. ## When This Skill Owns the Task Use `sf-apex` when the work involves: - Apex class generation or…

Install sf-apex in 1 command

Claude Code: npx skills add Jaganpro/sf-skills --skill sf-apex -a claude-code

Codex: npx skills add Jaganpro/sf-skills --skill sf-apex -a codex

claude.ai: download the skill folder from GitHub and zip it, turn on code execution and file creation in Settings, Capabilities, then upload the zip in Customize, Skills, Create skill, Upload a skill. Read SKILL.md and any scripts first. Step-by-step guides: install in Claude Code, install in Codex and the security checklist.

Example prompt

Use the sf-apex skill for this task: [describe what you want in one or two sentences]. Before you change anything, list the files you will read or edit and the steps you will take.

More skills from Jaganpro/sf-skills

Related skills

  • agentic-workflows (mono/SkiaSharp): Route gh-aw workflow design/create/debug/upgrade requests to the right prompts.
  • dd-triage-flaky-test (DataDog/pup): Load when investigating a specific flaky test. Gets history, failure pattern, and category, then recommends fix, quarantine, or escalate.
  • azure-devops (sanjay3290/ai-skills): Manage Azure DevOps projects, work items, repos, PRs, pipelines, wikis, test plans, security alerts, variable groups, environments/approvals, branch policies, and…
  • qa-engineer-agent (peterfei/ai-agent-team): QA 工程师 Agent — 测试策略、测试用例设计、自动化测试、性能测试、安全测试
  • 054-design-tdd (jabrena/plinth): Use when Java implementation work should be guided by Test-Driven Development, including maintaining a test list, choosing the next behavior, writing a failing test…
  • Accessibility Regression Detector (Community-Access/accessibility-agents): Detects accessibility regressions by comparing audit results across commits/branches. Tracks score trends and validates previous fixes.

Browse the free Claude skills catalogue