Develop Asc Change
rorkai/App-Store-Connect-CLI
Design, implement, and verify behavior changes in App-Store-Connect-CLI.
Primary Apex authoring skill for class generation, refactoring, and review.
$ npx skills add forcedotcom/sf-skills --skill platform-apex-generate -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install forcedotcom/sf-skills platform-apex-generate --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/forcedotcom/sf-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/platform-apex-generate .claude/skills/platform-apex-generate && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "platform-apex-generate" agent skill from https://github.com/forcedotcom/sf-skills/tree/main/skills/platform-apex-generate into .claude/skills/platform-apex-generate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "platform-apex-generate", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/forcedotcom/sf-skills/tree/main/skills/platform-apex-generateType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add forcedotcom/sf-skills --skill platform-apex-generate -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install forcedotcom/sf-skills platform-apex-generate --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/forcedotcom/sf-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/platform-apex-generate .agents/skills/platform-apex-generate && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "platform-apex-generate" agent skill from https://github.com/forcedotcom/sf-skills/tree/main/skills/platform-apex-generate into .agents/skills/platform-apex-generate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "platform-apex-generate", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add forcedotcom/sf-skills --skill platform-apex-generate -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install forcedotcom/sf-skills platform-apex-generate --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/forcedotcom/sf-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/platform-apex-generate .cursor/skills/platform-apex-generate && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "platform-apex-generate" agent skill from https://github.com/forcedotcom/sf-skills/tree/main/skills/platform-apex-generate into .cursor/skills/platform-apex-generate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "platform-apex-generate", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/forcedotcom/sf-skills.git --path skills/platform-apex-generate--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add forcedotcom/sf-skills --skill platform-apex-generate -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install forcedotcom/sf-skills platform-apex-generate --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/forcedotcom/sf-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/platform-apex-generate .gemini/skills/platform-apex-generate && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "platform-apex-generate" agent skill from https://github.com/forcedotcom/sf-skills/tree/main/skills/platform-apex-generate into .gemini/skills/platform-apex-generate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "platform-apex-generate", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install forcedotcom/sf-skills platform-apex-generateInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add forcedotcom/sf-skills --skill platform-apex-generate -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/forcedotcom/sf-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/platform-apex-generate .github/skills/platform-apex-generate && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "platform-apex-generate" agent skill from https://github.com/forcedotcom/sf-skills/tree/main/skills/platform-apex-generate into .github/skills/platform-apex-generate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "platform-apex-generate", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add forcedotcom/sf-skills --skill platform-apex-generate -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install forcedotcom/sf-skills platform-apex-generate --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/forcedotcom/sf-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/platform-apex-generate .opencode/skills/platform-apex-generate && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "platform-apex-generate" agent skill from https://github.com/forcedotcom/sf-skills/tree/main/skills/platform-apex-generate into .opencode/skills/platform-apex-generate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "platform-apex-generate", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
platform-apex-generatePrimary Apex authoring skill for class generation, refactoring, and review.
Platform Apex Generate is an agent skill from forcedotcom/sf-skills. Primary Apex authoring skill for class generation, refactoring, and review. ALWAYS ACTIVATE when the user mentions Apex, .cls, triggers, or asks to create/refactor a class (service, selector, domain, batch, queueable, schedulable, invocable, DTO, utility, interface, abstract, exception, REST resource). Use this skill for requests involving SObject CRUD, mapping collections, fetching related records, scheduled jobs, batch jobs, trigger design, @AuraEnabled controllers, @RestResource endpoints, custom REST APIs, or…
Its SKILL.md is about 5.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 19 other files, including reference files and assets.
It sits in Backend & APIs, covering Background jobs, Refactoring and REST APIs. The repository describes itself as: Salesforce's curated collection of agent skills for building applications. Optimized for Agentforce Vibes, compatible with all AI tools. The licence is Apache-2.0.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e5164d9. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
sfFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
soap.sforce.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Platform Apex Generate loads about 5.6k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 143 tokens; SKILL.md has 2,393 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from forcedotcom/sf-skills at commit e5164d9, republished under its Apache-2.0 licence (© forcedotcom). 2,393 words, ~5,616 tokens.
.claude/skills/platform-apex-generate/SKILL.md (or your agent's skills folder). This skill also uses 17 other files; get the full folder from GitHub.Use this skill for production-grade Apex: new classes, selectors, services, async jobs,
invocable methods, and triggers; and for evidence-based review of existing .cls OR .trigger.
Gather or infer before authoring:
Defaults unless specified:
with sharing (see sharing rules per type below)public (use global only when required by managed packages or @RestResource)66.0 (minimum version)If the user provides a clear, complete request, generate immediately without unnecessary back-and-forth.
All steps are sequential. Do not skip, merge, or reorder. If blocked, stop and ask for missing context. If not applicable, mark N/A with a one-line justification in the report.
Discover project conventions
Choose the smallest correct pattern (see Type-Specific Guidance below)
Review templates and assets
assets/ before authoring (see Type-Specific Guidance for the file mapping)references/ example exists for the type, read it as a concrete style guideplatform-apex-test-generate skillAuthor with guardrails -- apply every rule in the Rules section below
{ClassName}.cls with ApexDoc{ClassName}.cls-meta.xmlGenerate test classes -- Load the skill platform-apex-test-generate to create {ClassName}Test.cls and {ClassName}Test.cls-meta.xml. Apex tests are always required to be generated to deploy. No test file creation or edits can occur without loading the platform-apex-test-generate skill to generate tests.
Writing files is the midpoint, not the finish line. Steps 6 and 7 each require a tool invocation and produce output that must appear in the Step 8 report. Do not summarize or present the report until both steps have run and their output is captured.
Run code analyzer
run_code_analyzer on all generated/updated .cls files.sev0, sev1, and sev2 violations; re-run until clean.sf code-analyzer run --target <target>. If both are unavailable, record run_code_analyzer=unavailable: <error> in the report.Execute Apex tests
{ClassName}Test via sf apex run test or MCP.platform-apex-test-generate; iterate until the tests pass.test_execution=unavailable: <error> in the report.Analyzer line must contain the actual Step 6 tool output (or run_code_analyzer=unavailable: <reason> after attempting invocation).Testing line must contain the actual Step 7 results (or test_execution=unavailable: <reason> after attempting invocation).If any constraint would be violated in generated code, stop and explain the problem before proceeding:
| Constraint | Rationale |
|---|---|
| Place all SOQL outside loops | Avoid query governor limits (100 queries) |
| Place all DML outside loops | Avoid DML governor limits (150 statements) |
| Declare a sharing keyword on every class | Prevent unintended without sharing defaults and data exposure |
| Use Custom Metadata/Labels/describe calls instead of hardcoded IDs | Ensure portability across orgs |
| Always handle exceptions (log, rethrow, or recover) | Prevent silent failures |
| Use bind variables for all dynamic SOQL with user input | Prevent SOQL injection |
Use Apex-native collections (List, Map, Set) rather than Java types | Prevent compile errors |
| Verify methods exist in Apex before use | Prevent reliance on non-existent APIs |
Avoid System.debug() in main code paths | Debug statements evaluate even when loggign is not active and consume CPU. Use a logging framework if required on main code paths |
Never use @future methods | Use Queueable with System.Finalizer; @future cannot chain, cannot be called from Batch, and cannot accept non-primitive types |
Database.update(records, false)) and process SaveResult for errorsMap<Id, SObject> constructor for efficient ID-based lookups from query resultsMap<Id, List<SObject>> to group child records by parent; build the map in a single loop before processingSet<Id> for deduplication and membership checks; prefer Set.contains() over List.contains()AggregateResult with GROUP BY for rollup calculations instead of querying and counting in ApexTrigger.oldMap or prior state before adding to the update listLimits.getQueries(), Limits.getDmlStatements(), Limits.getCpuTime() to monitor consumption in complex transactionsWHERE clauses; use indexed fields (Id, Name, OwnerId, lookup/master-detail fields, ExternalId fields, custom indexes) in filters when possibleSELECT * does not exist in SOQL -- always specify the exact fields neededLIMIT clauses to bound result sets; use ORDER BY for deterministic results__mdt), do NOT use SOQL — use the built-in methods ({CustomMdt__mdt}.getAll().values(), getInstance(), etc.)without sharing keyword classes with API versions 67.0 and up will throw when the running user does not have the proper field or object-level security. If API versions are being updated, ensure queries are safeguarded properly, and that tests are updated accordingly. Only explicitly justified usages of SYSTEM_MODE variants within queries should be allowed by default.Cache.Org / Cache.Session) for frequently accessed, rarely changed data; set a TTL and always handle cache misses — cache can be evicted at any timeprivate static Map fields as transaction-scoped caches to prevent duplicate queries within the same execution context; lazy-initialize on first accesswith sharing; document justification for without sharing or inherited sharingWITH USER_MODE in SOQL and AccessLevel.USER_MODE for Database DML for CRUD/FLS enforcement — these are the defaults for all Apex classes with API versions of 67.0 or higherSchema.describeAuraHandledException for @AuraEnabled user-facing errors (no internal details)without sharing requires a Custom Permission checkwithout sharing logic in dedicated helper classes; call from with sharing entry points to limit elevated-access scopeBefore finalizing, verify: CRUD/FLS enforced (SOQL + DML) · explicit sharing keyword on every class · no hardcoded secrets or Record IDs · PII excluded from logs and error messages · error messages sanitized for end users.
Exception; include context in messagestry/catch only around code that can throw (DML, callouts, JSON parsing, casts); avoid defensive wrapping of simple assignments/collection ops/arithmeticnew CustomException('message', cause) (do not replace stack trace with concatenated messages)@AuraEnabled methods, catch exceptions and rethrow as AuraHandledExceptionException and either rethrow it or wrap it in a minimal custom exception that preserves the original cause.return early in private/trigger-handler methods, throw exceptions in public APIs, record.addError() in validation servicesnull?.) for chained property accessmap.get(key) inline unless presence is guaranteed; use containsKey, assignment + null check, or safe navigation first??) for default valuesString.isBlank(value) over manual checks like value == null || value.trim().isEmpty()UPPER_SNAKE_CASEprivate static final constants or a constants classLabel. custom labels for user-facing strings'); use literal single quotes ' in Apex string literals| Type | Pattern | Example |
|---|---|---|
| Service | {SObject}Service | AccountService |
| Selector | {SObject}Selector | AccountSelector |
| Domain | {SObject}Domain | OpportunityDomain |
| Batch | {Descriptive}Batch | AccountDeduplicationBatch |
| Queueable | {Descriptive}Queueable | ExternalSyncQueueable |
| Schedulable | {Descriptive}Schedulable | DailyCleanupSchedulable |
| DTO | {Descriptive}DTO | AccountMergeRequestDTO |
| Wrapper | {Descriptive}Wrapper | OpportunityLineWrapper |
| Utility | {Descriptive}Util | StringUtil |
| Interface | I{Descriptive} | INotificationService |
| Abstract | Abstract{Descriptive} | AbstractIntegrationService |
| Exception | {Descriptive}Exception | AccountServiceException |
| REST Resource | {SObject}RestResource | AccountRestResource |
| Trigger | {SObject}Trigger | AccountTrigger |
| Trigger Action | TA_{SObject}_{Action} | TA_Account_SetDefaults |
Additional naming rules:
PascalCasecamelCase, start with a verb (get, create, process, validate, is, has, can)camelCase, descriptive nouns; Lists as plural nouns (e.g., accounts, relatedContacts); Maps as {value}By{key} (e.g., accountsById); Sets as {noun}IdsUPPER_SNAKE_CASEacc, tks, rec)public/global method@param, @return, @throws, @example where helpfulClass-level format:
/**
* Provides services for geolocation and address conversion.
*/
public with sharing class GeolocationService { }Method-level format:
/**
* @param paramName Description of the parameter
* @return Description of the return value
* @example
* List<Account> results = AccountService.deduplicateAccounts(accountIds);
*/| Layer | Owns | Must NOT contain |
|---|---|---|
| Trigger | Event routing only | Business logic, orchestration |
| Handler/Service | Flow control, coordination | Inline SOQL/DML/HTTP/parsing |
| Domain | Business rules, validation | Queries, callouts, persistence details |
| Data/Integration | SOQL, DML, HTTP | Business decisions |
| Scenario | Default | Key Traits |
|---|---|---|
| Standard async work | Queueable | Job ID, chaining, non-primitive types, configurable delay (up to 10 min via AsyncOptions), dedup signatures |
| Very large datasets | Batch Apex | Chunked processing, max 5 concurrent; use QueryLocator for large scopes |
| Modern batch alternative | CursorStep (Database.Cursor) | 2000-record chunks, higher throughput, no 5-job limit |
| Recurring schedule | Scheduled Flow (preferred) or Schedulable | Schedulable has 100-job limit; use only when chaining to Batch or needing complex Apex logic |
| Post-job cleanup | Finalizer (System.Finalizer) | Runs regardless of Queueable success/failure |
| Long-running callouts | Continuation | Up to 3 per transaction, 3 parallel |
| Delays > 10 minutes | System.scheduleBatch() | Schedule a Batch job at a specific future time |
| Legacy fire-and-forget | @future | Do not use in new code — see Hard-Stop Constraints; replace with Queueable + Finalizer |
assets/service.cls · Reference: references/AccountService.clswith sharing; stateless — no public fields or mutable instance state; keep public APIs focused and static where reasonableAccountServiceException)assets/selector.cls · Reference: references/AccountSelector.clsinherited sharing; one per SObject or query domainList<SObject> or Map<Id, SObject>; use a shared base field list constant (no inline duplication)WITH USER_MODEassets/domain.clswith sharing; encapsulate field defaults, derivations, and validationsassets/batch.cls · Reference: references/AccountDeduplicationBatch.clswith sharing; implement Database.Batchable<SObject> (add Database.Stateful when tracking across chunks)start() = query definition; execute() = business logic; finish() = logging/notificationQueryLocator for large datasets; handle partial failures via Database.SaveResultassets/queueable.clswith sharing; implement Queueable and optionally Database.AllowsCallouts when HTTP callouts are neededFinalizer for recovery/cleanupAsyncOptions for configurable delay (up to 10 min) and dedup signaturesassets/schedulable.clswith sharing; execute() delegates to Queueable or BatchscheduleDaily() helperassets/dto.clsComparable when ordering matters@JsonAccess on private/protected inner DTOs that are serialized/deserializedassets/utility.clspublic static; private constructorassets/interface.clsassets/abstract.clswith sharing; offer default behavior via virtual methodsprotected virtual or protected abstractassets/exception.clsException with descriptive names(), ('msg'), (cause), ('msg', cause)assets/trigger.clsnew MetadataTriggerHandler().run();TriggerAction.{Context}Trigger_Action__mdt (actions are inactive without registration)TA_{SObject}_{ActionName}; prefer field-value comparison over static booleans for recursion@InvocableMethod)assets/invocable.clswith sharing; inner Request/Response with @InvocableVariablepublic static; non-static or single-object signatures will not compileList<Request>, return List<Response>; bulkify (SOQL/DML outside loops)label (required — Flow Builder display name), description, category (groups actions in Builder), callout=true (required when method makes HTTP callouts)@InvocableVariable parameters: label (required), description, required=true/false@InvocableVariable supports: primitives, Id, SObject, List<T> only (no Map/Set/Blob); use List<Id> or List<SObject> fields for Flow collection I/OisSuccess, errorMessage, and errorType (e.getTypeName()) in Response@RestResource)assets/rest-resource.clsglobal with sharing; both class and methods must be global@RestResource(urlMapping='/{resource}/v1/*')200/201/400/404/422/500); never default all errors to 500Pattern.matches('[a-zA-Z0-9]{15,18}', value)); bind all user input in SOQLLIMIT/ORDER BY in queries; implement pagination (pageSize/offset)ApiResponse wrapper (success, message, data/records); inner request/response DTOs@AuraEnabled Controllerwith sharing; use WITH USER_MODE in all SOQL@AuraEnabled(cacheable=true) only for read-only queries; leave cacheable unset for DML operationsAuraHandledException with user-friendly messagesDeliverables per class:
{ClassName}.cls{ClassName}.cls-meta.xml (default API version 66.0 or higher unless specified){ClassName}Test.cls (generated via platform-apex-test-generate skill){ClassName}Test.cls-meta.xml (generated via platform-apex-test-generate skill)Deliverables per trigger:
{TriggerName}.trigger{TriggerName}.trigger-meta.xml (default API version 66.0 or higher unless specified)Meta XML template:
<?xml version="1.0" encoding="UTF-8"?>
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>{API_VERSION}</apiVersion>
<status>Active</status>
</ApexClass>Report in this order:
Apex work: <summary>
Files: <paths>
Design: <pattern / framework choices>
Workflow: all steps completed (1-8); any N/A justified
Risks: <security, bulkification, async, dependency notes>
Analyzer: <REQUIRED -- paste actual run_code_analyzer output or state "run_code_analyzer=unavailable: <reason>">
Testing: <REQUIRED -- paste actual test execution results (pass/fail, coverage) or state "test_execution=unavailable: <reason>">
Deploy: <dry-run or next step>| Need | Delegate to |
|---|---|
| Apex tests / fix failures | platform-apex-test-generate skill |
| Describe objects/fields | metadata skill (if available) |
| Deploy to org | deploy skill (if available) |
| Flow calling Apex | Flow skill (if available) |
| LWC calling Apex | LWC skill (if available) |
This skill handles production .cls/.trigger/.apex issues only: compile/parse failures, deployment dependency errors, runtime governor-limit failures. For test execution, assertions, coverage, or sf apex run test failures, delegate to platform-apex-test-generate.
© forcedotcom, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 17 other files (references, assets) in skills/platform-apex-generate of forcedotcom/sf-skills.
Open the folder on GitHubat commit e5164d9
Platform Apex Generate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Platform Apex Generate this skillforcedotcom/sf-skills | 1.1k | — | ~5.6k | Automated safety check: Pass | Apache-2.0 | |
| Develop Asc Changerorkai/App-Store-Connect-CLI | 7.7k | — | ~818 | Automated safety check: Pass | MIT | |
| Laravel SpecialistJeffallan/claude-skills | 12k | 1 repos | ~2.1k | Automated safety check: Pass | MIT | |
| Polylith Base CreationDavidVujic/python-polylith | 553 | — | ~757 | Automated safety check: Pass | MIT | |
| Frappe App Devfrappe/skills | 146 | — | ~943 | Automated safety check: Pass | None | |
| Dj Servicesdvf/opinionated-django | 109 | — | ~3k | Automated safety check: Notes | MIT |
rorkai/App-Store-Connect-CLI
Design, implement, and verify behavior changes in App-Store-Connect-CLI.
Jeffallan/claude-skills
Builds Laravel 10+ applications with Eloquent models, Sanctum authentication, Horizon queues, API resources and Livewire components, tested with Pest or PHPUnit.
DavidVujic/python-polylith
Create a Polylith base with poly create base — the entry point of a deployable application (HTTP API, CLI, message-queue consumer, AWS Lambda handler, GCP Cloud Function, scheduled job).
frappe/skills
Builds full-stack Frappe Framework applications end-to-end. An agent skill from frappe/skills.
dvf/opinionated-django
Structure Django business logic as plain services that receive their dependencies via constructor injection, and wire them through an svcs registry so they can be resolved anywhere — views, Celery…
butterbase-ai/butterbase-skills
A skill your agent uses when developing, deploying, or debugging Butterbase serverless functions, or when the user needs to add backend logic like webhooks, scheduled jobs, or custom API endpoints
forcedotcom/sf-skills
Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA plugins.
forcedotcom/sf-skills
Data Cloud 360° view of a single Agentforce session. An agent skill from forcedotcom/sf-skills.
forcedotcom/sf-skills
Apply a Salesforce sandbox post-copy automation JSON config against a target org.
forcedotcom/sf-skills
Apply a Salesforce sandbox post-copy automation JSON config against a target org.
forcedotcom/sf-skills
Apply SLDS-compliant UI using the correct blueprints, styling hooks, utility classes, and icons.
forcedotcom/sf-skills
Lightning Web Components with PICKLES methodology and 165-point scoring.
Categories
Primary Apex authoring skill for class generation, refactoring, and review. Platform Apex Generate is an agent skill from forcedotcom/sf-skills. Primary Apex authoring skill for class generation, refactoring, and review.
Platform Apex Generate fits situations like: asks to create/refactor a class (service; requests involving SObject CRUD; mapping collections; fetching related records.
Run `npx skills add forcedotcom/sf-skills --skill platform-apex-generate -a claude-code`. Or copy the skill folder (skills/platform-apex-generate in forcedotcom/sf-skills) into .claude/skills/platform-apex-generate in your project. Claude Code loads it when a task matches its description.
Run `npx skills add forcedotcom/sf-skills --skill platform-apex-generate -a codex`. Or copy the skill folder (skills/platform-apex-generate in forcedotcom/sf-skills) into .agents/skills/platform-apex-generate in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add forcedotcom/sf-skills --skill platform-apex-generate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/platform-apex-generate, .gemini/skills/platform-apex-generate, .github/skills/platform-apex-generate and .opencode/skills/platform-apex-generate in your project.
Going by SKILL.md and its folder, Platform Apex Generate needs the command-line tools its instructions call (sf).
SKILL.md names 1 domain. In commands or code: soap.sforce.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Platform Apex Generate is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 5.6k tokens (SKILL.md is roughly 22k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.1k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Platform Apex Generate: Develop Asc Change (rorkai/App-Store-Connect-CLI, 7.7k stars), Laravel Specialist (Jeffallan/claude-skills, 12k stars), Polylith Base Creation (DavidVujic/python-polylith, 553 stars) and Frappe App Dev (frappe/skills, 146 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
forcedotcom (a GitHub organization) maintains it in forcedotcom/sf-skills, which has 1,060 GitHub stars. The repository holds 251 skills in this directory. The repository was last updated on October 7, 2026.
Source: forcedotcom/sf-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.