PranavNagrecha/AwesomeSalesforceSkills / .claude/skills/salesforce-apex
salesforce-apex
VerifiedRouter for the 159 SfSkills `apex` skill packages. Apex and SOQL: triggers, Apex governor limits, async processing, OUTBOUND HTTP callouts, security enforcement, and test patterns. Owns calling an external API FROM Salesforce; salesforce-integration owns inbound. Generic nightly scheduling without naming code belongs to salesforce-flow. Codebase security review belongs to salesforce-security. NOT for SOSL — use salesforce-data. Use when the request mentions Apex, trigger, SOQL, Apex governor limit, batch, queueable, @future, schedulable, test class, CPU time, heap, with sharing, StripInaccessible, callout, HTTP callout, HttpRequest, call an external API, consume a REST API from Apex, Named Credential in Apex, HttpCalloutMock, Apex REST service. Finds and opens the exact skill package to read; it does not contain the guidance itself.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 6.0 KB |
| references/skill-index.md | markdown | 43.2 KB |
references/skill-index.md
View on GitHub# SfSkills — `apex` skill roster (159 packages)
The zero-setup lookup path: this file ships with the plugin and needs
no search index. Scan it, pick a package by name, then read that
package from the repository root under `${CLAUDE_PLUGIN_ROOT}`.
Generated from `registry/skills.json` by `scripts/build_plugin.py`.
Do not hand-edit.
**How to read a gloss.** The package id is on the line already, so the
gloss does not repeat it. It carries what the id cannot, in this order:
the package's own **trigger vocabulary** (the phrasings that should
land here), then its **`NOT for …` redirect** (which names the package
to use instead), then a short scope phrase if there is room. A
`…` marks a truncation, always at a word, keyword or
whole-clause boundary. Budget: 220 characters.
**A `NOT for X - use Y` clause is the most useful thing on the line.**
If your question is X, stop and open Y instead of this package.
- `skills/apex/ai-model-integration-apex/SKILL.md` — Triggers: aiplatform.ModelsAPI, createGenerations, createChatGenerations, createEmbeddings, Einstein Platform Services, Einstein Vision, Einstein Language, …. NOT for Einstein Next Best Action strategies.
- `skills/apex/ampscript-development/SKILL.md` — writing, debugging, or reviewing AMPscript in Marketing Cloud email bodies, subject lines, preheaders, SMS, push notifications, or Cloud Pages …. NOT for Journey Builder configuration.
- `skills/apex/apex-aggregate-queries/SKILL.md` — Triggers: soql aggregate groupby apex, count sum group by salesforce, aggregateresult get alias, having clause soql, rollup cube subtotals, …. NOT for which field types … use apex/soql-aggregate-field-type-support
- `skills/apex/apex-batch-chaining/SKILL.md` — you need to run one Batch Apex job immediately after another completes …. NOT for single-job batch design or scope sizing — use apex/batch-apex-patterns. NOT for choosing Batch vs Queueable — use apex/async-apex.
- `skills/apex/apex-blob-and-content-version/SKILL.md` — Triggers: 'ContentVersion VersionData Blob', 'upload file from LWC to Apex', 'large file heap limit Apex', 'ContentDocumentLink sharing'. NOT for the Files data model itself — use data/salesforce-files-architecture.
- `skills/apex/apex-callable-interface/SKILL.md` — Triggers: Callable, call method, dynamic Apex, action registry, plugin pattern, managed package extension point. NOT for an @InvocableMethod action exposed to Flow — use apex/invocable-methods.
- `skills/apex/apex-callout-retry-and-resilience/SKILL.md` — Strategy layer for resilient Apex HTTP callouts: bounded retry with backoff, queueable async retry chains, circuit-breaker via Platform …. NOT for callout authentication — use apex/apex-named-credentials-patterns.
- `skills/apex/apex-class-decomposition-pattern/SKILL.md` — When and how to split an Apex class into Domain / Service / Selector layers using this repo's lightweight base classes (BaseDomain, BaseService …. NOT for a full fflib migration — use apex/fflib-enterprise-patterns.
- `skills/apex/apex-collections-patterns/SKILL.md` — Triggers: 'Map<Id, SObject>', 'containsKey', 'retainAll', 'putAll', 'Set intersection', 'heap limit', 'collection in loop', 'unbounded accumulation', …. NOT for SOQL query optimization — use apex/soql-fundamentals.
- `skills/apex/apex-connect-api-chatter/SKILL.md` — Triggers: ConnectApi, FeedItem, Chatter post, @mention, rich text post, FeedElementCapabilities, link post. NOT for Experience Cloud feed embeds. NOT for sending email from Apex — use apex/apex-outbound-email-patterns.
- `skills/apex/apex-cpu-and-heap-optimization/SKILL.md` — Triggers: 'CPU time limit exceeded', 'heap size too large', 'string concatenation', 'regex in loop', 'Limits.getCpuTime', 'System.LimitException', …. NOT for generic SOQL/DML governor-limit … use apex/governor-limits
- `skills/apex/apex-custom-notifications-from-apex/SKILL.md` — sending Custom Notifications (bell icon / mobile push) from Apex via `Messaging.CustomNotification`. Covers target resolution …. NOT for creating the Notification Type in Setup — use admin/custom-notification-types.
- `skills/apex/apex-custom-permissions-check/SKILL.md` — Custom Permissions in Apex: FeatureManagement.checkPermission, $Permission global variable, permission-set gating of feature code …. NOT for creating or assigning the permission in Setup — use admin/custom-permissions.
- `skills/apex/apex-custom-settings-hierarchy/SKILL.md` — reading or writing Hierarchy Custom Settings from Apex to resolve per-user/per-profile/org configuration. Covers `getInstance()` resolution …. NOT for Custom Metadata Types in Apex — use apex/custom-metadata-in-apex.
- `skills/apex/apex-decimal-arithmetic-precision/SKILL.md` — Triggers: 'apex decimal divide rounded wrong', 'currency calculation off by a penny', 'apex setScale rounding mode', …. NOT for dated exchange rates — use data/multi-currency-and-advanced-currency-management.
- `skills/apex/apex-design-patterns/SKILL.md` — Triggers: 'service layer', 'selector pattern', 'domain layer', 'dependency injection', 'fat trigger/controller', 'unit of work', 'strategy pattern in Apex', …. NOT for the fflib … use apex/fflib-enterprise-patterns
- `skills/apex/apex-dml-patterns/SKILL.md` — Triggers: 'Database.insert allOrNone false', 'partial DML success apex', 'SaveResult isSuccess', 'database merge apex', 'DML exception handling'. NOT for savepoint placement and … use apex/apex-savepoint-and-rollback
- `skills/apex/apex-dynamic-soql-binding-safety/SKILL.md` — Safe construction of dynamic SOQL — Database.query bind variables (:varName, API 60+ semantics), Database.queryWithBinds(query …. NOT for reviewing a query for injection or CRUD/FLS generally — use apex/soql-security.
- `skills/apex/apex-email-services/SKILL.md` — Triggers: InboundEmailHandler, email service address, handleInboundEmail, Messaging.InboundEmail, Email-to-Case alternative, process email in Apex. NOT for outbound email — use apex/apex-outbound-email-patterns.
- `skills/apex/apex-encoding-and-crypto/SKILL.md` — Triggers: 'Crypto.sign', 'Crypto.generateMac', 'EncodingUtil.base64Encode', 'JWT signing in Apex', 'verify webhook signature'. NOT for where the signing key or API secret is … use apex/apex-secrets-and-protected-cmdt
- `skills/apex/apex-enum-patterns/SKILL.md` — Apex enum patterns — enum-based dispatch instead of string switching, ordinal stability, enum values in Custom Metadata …. NOT for picklist-field design and value-set management — use admin/picklist-and-value-sets.
- `skills/apex/apex-event-bus-subscriber/SKILL.md` — Apex Platform Event subscriber runtime semantics — checkpoint-and-resume via …. NOT for publishing from Apex — use apex/platform-events-apex. NOT for external subscribers — use integration/platform-events-integration.
- `skills/apex/apex-execute-anonymous/SKILL.md` — Execute Anonymous Apex: Developer Console, VS Code SFDX, `sf apex run` …. NOT for trace flags or reading the log output — use apex/debug-logs-and-developer-console. NOT for async job design — use apex/async-apex.
- `skills/apex/apex-flow-invocation-from-apex/SKILL.md` — invoking Autolaunched Flows from Apex via `Flow.Interview.createInterview`. Covers parameter typing, output retrieval, governor …. NOT for writing the `@InvocableMethod` class a Flow calls — use apex/invocable-methods.
- `skills/apex/apex-future-method-patterns/SKILL.md` — @future methods: primitive-only parameters, callout=true, no chaining, 50 per transaction, error …. NOT for Queueable job design — use apex/apex-queueable-patterns. NOT for Batch Apex — use apex/batch-apex-patterns.
- `skills/apex/apex-hardcoded-id-elimination/SKILL.md` — Remove hardcoded Salesforce record IDs (Profile, RecordType, User, Queue, custom) from Apex and replace with describe-API …. NOT for record type IDs in Flow, formulas or LWC — use admin/record-type-id-management.
- `skills/apex/apex-http-callout-mocking/SKILL.md` — HttpCalloutMock for Apex tests: HttpCalloutMock interface, StaticResourceCalloutMock, MultiStaticResourceCalloutMock, Test.setMock …. NOT for writing the callout itself — use apex/callouts-and-http-integrations.
- `skills/apex/apex-json-serialization/SKILL.md` — Triggers: 'suppress null fields JSON Apex', 'deserialize JSON into Apex class', 'JSON parse unknown shape', 'TypeException JSON deserialize', …. NOT for shaping a wrapper class … use apex/apex-wrapper-class-patterns
- `skills/apex/apex-jwt-bearer-flow/SKILL.md` — OAuth 2.0 JWT Bearer Token Flow for server-to-server authentication from Apex — Connected App with certificate …. NOT for choosing which OAuth flow to use — use integration/oauth-flows-and-connected-apps.
- `skills/apex/apex-limits-monitoring/SKILL.md` — Triggers: check governor limits before SOQL apex, defensive coding against limits apex, Limits.getDMLStatements getLimitDMLStatements, Limits class usage, …. NOT for diagnosing a limit you … use apex/governor-limits
- `skills/apex/apex-managed-sharing/SKILL.md` — Sharing records programmatically via Apex: Share objects, row cause, Apex sharing reason, sharing recalculation, with/without sharing patterns. NOT for declarative sharing rules — use admin/sharing-and-visibility.
- `skills/apex/apex-metadata-api/SKILL.md` — Triggers: 'Metadata.Operations', 'Metadata.CustomField from Apex', 'deploy metadata from Apex', 'enqueueDeployment', 'create a custom field programmatically', …. NOT for … use apex/metadata-api-and-package-xml
- `skills/apex/apex-mocking-and-stubs/SKILL.md` — Triggers: 'StubProvider', 'Test.createStub', 'HttpCalloutMock', 'StaticResourceCalloutMock', 'mocking infrastructure'. NOT for multi-response or per-endpoint HTTP mocks — use apex/apex-http-callout-mocking.
- `skills/apex/apex-named-credentials-patterns/SKILL.md` — Triggers: 'callout: prefix', 'named credential header formula', 'UserExternalCredential', 'External Credential per-user principal', …. NOT for Named Credential setup in the … use integration/named-credentials-setup
- `skills/apex/apex-outbound-email-patterns/SKILL.md` — Apex outbound email via Messaging.SingleEmailMessage — OrgWideEmailAddress, ReplyTo and Reply-To header semantics, EmailTemplate …. NOT for processing email that arrives into Salesforce — use apex/apex-email-services.
- `skills/apex/apex-performance-profiling/SKILL.md` — Triggers: 'why is my Apex slow', 'flame graph Apex', 'profile Apex transaction', 'Query Plan tool', 'Apex Log Analyzer'. NOT for fixing specific CPU or heap patterns after the … use apex/apex-cpu-and-heap-optimization
- `skills/apex/apex-polymorphic-soql/SKILL.md` — Polymorphic SOQL with TYPEOF: querying Task.WhatId, Task.WhoId, ContentDocumentLink.LinkedEntityId, FeedItem.ParentId; fallback …. NOT for subqueries or dot-notation traversal — use apex/apex-soql-relationship-queries.
- `skills/apex/apex-queueable-patterns/SKILL.md` — Triggers: 'Queueable', 'System.enqueueJob', 'Finalizer', 'QueueableContext', 'AsyncOptions', 'stack depth', 'chained queueable', 'DuplicateMessageException', …. NOT for choosing Queueable vs Batch — use apex/async-apex.
- `skills/apex/apex-record-clone-patterns/SKILL.md` — SObject.clone(preserveId, isDeepClone, preserveReadonly, preserveAutonumber): shallow vs …. NOT for data migration — use data/bulk-api-and-large-data-loads. NOT for record snapshots — use data/field-history-tracking.
- `skills/apex/apex-regex-and-pattern-matching/SKILL.md` — writing Apex that validates, extracts, or transforms strings with Pattern/Matcher or String regex methods. Covers catastrophic backtracking, the …. NOT for String.split or String.format — use apex/apex-string-and-regex.
- `skills/apex/apex-rest-services/SKILL.md` — Triggers: 'Apex REST', '@RestResource', 'HttpGet/HttpPost', 'RestContext', 'versioned endpoint', 'services/apexrest', 'urlMapping', 'RestRequest requestBody', …. NOT for … use apex/callouts-and-http-integrations
- `skills/apex/apex-salesforce-id-patterns/SKILL.md` — working with Salesforce Ids in Apex …. Triggers: Id prefix, Id.valueOf, Id.getSobjectType, 15-char, 18-char, case-insensitive Id. NOT for hardcoded Profile or RecordType Ids — use apex/apex-hardcoded-id-elimination.
- `skills/apex/apex-savepoint-and-rollback/SKILL.md` — Database.Savepoint / Database.rollback for partial-transaction undo: placement rules, ID reset, limit counters, nested …. NOT for Database.allOrNone=false partial success semantics — use apex/apex-dml-patterns.
- `skills/apex/apex-scheduled-jobs/SKILL.md` — Triggers: 'run this code every night', 'schedule a class to run daily', 'nightly Apex job', 'run at 2am', 'cron expression for a daily job', …. NOT for writing the Batch Apex class a … use apex/batch-apex-patterns
- `skills/apex/apex-schema-describe/SKILL.md` — Apex Schema describe API patterns — `Schema.getGlobalDescribe()`, `SObjectType.getDescribe()`, `DescribeFieldResult` …. NOT for building dynamic SOQL or dynamic field get/put — use apex/dynamic-apex.
- `skills/apex/apex-secrets-and-protected-cmdt/SKILL.md` — Storing API keys, signing secrets, and third-party tokens that Apex must consume — Protected Custom Metadata in a managed package, Protected …. NOT for callout authentication — use apex/apex-named-credentials-patterns.
- `skills/apex/apex-security-patterns/SKILL.md` — Triggers: 'with sharing', 'inherited sharing', 'AuraEnabled security', 'what execution context does this class run in', 'system mode vs user mode'. NOT for … use apex/apex-stripinaccessible-and-fls-enforcement
- `skills/apex/apex-soql-relationship-queries/SKILL.md` — Triggers: relationship query, subquery, dot notation, getSObjects, TYPEOF, What.Type filter, WhatId, WhoId, alias notation, child relationship name, __r, …. NOT for aggregate queries — use apex/apex-aggregate-queries.
- `skills/apex/apex-string-and-regex/SKILL.md` — Apex String class methods, Pattern/Matcher regex, text parsing, template rendering, and null-safety landmines. …. NOT for catastrophic backtracking or the 1M char regex cap — use apex/apex-regex-and-pattern-matching.
- `skills/apex/apex-stripinaccessible-and-fls-enforcement/SKILL.md` — Use Security.stripInaccessible to enforce CRUD/FLS on user-supplied records before DML, and to scrub query …. NOT for the with sharing / without sharing keyword choice — use apex/apex-with-without-sharing-decision.
- `skills/apex/apex-switch-on-sobject/SKILL.md` — Apex switch-on-SObjectType patterns — type dispatching across SObject collections …. NOT for `switch on` over an enum — use apex/apex-enum-patterns. NOT for plain Integer / String switch syntax (Apex Developer Guide).
- `skills/apex/apex-system-runas/SKILL.md` — System.runAs in Apex tests: user-context impersonation, mixed-DML workaround, profile/permission testing, sharing …. NOT for the MIXED_DML_OPERATION error outside tests — use apex/mixed-dml-and-setup-objects.
- `skills/apex/apex-test-setup-patterns/SKILL.md` — @TestSetup method semantics: one-time creation per test class, isolation behavior, @TestVisible, System.runAs …. NOT for building a reusable test data factory class — use apex/test-data-factory-patterns.
- `skills/apex/apex-transaction-finalizers/SKILL.md` — Triggers: FinalizerContext, System.attachFinalizer, getAsyncApexJobId, ParentJobResult, Queueable cleanup on failure, post-job compensation, …. NOT for Queueable design or chaining — use apex/apex-queueable-patterns.
- `skills/apex/apex-trigger-bypass-and-killswitch-patterns/SKILL.md` — Runtime mechanisms to disable Apex triggers without commenting out code: Custom Metadata kill switches via Trigger_Setting__mdt, Custom …. NOT for a handler re-entering itself — use apex/recursive-trigger-prevention.
- `skills/apex/apex-trigger-context-variables/SKILL.md` — Apex Trigger.new / Trigger.old / Trigger.newMap / Trigger.oldMap / Trigger.isInsert etc.: when each is …. NOT for trigger framework / handler architecture and one-trigger-per-object design — use apex/trigger-framework.
- `skills/apex/apex-user-and-permission-checks/SKILL.md` — Apex needs to check what the running user is, can see, or can do — via UserInfo, FeatureManagement …. NOT for CRUD/FLS enforcement — use apex/apex-stripinaccessible-and-fls-enforcement.
- `skills/apex/apex-with-without-sharing-decision/SKILL.md` — Choosing the sharing keyword on an Apex class: with sharing vs without sharing vs inherited sharing, how it …. NOT for enforcing CRUD/FLS on the records themselves — use apex/apex-stripinaccessible-and-fls-enforcement.
- `skills/apex/apex-wrapper-class-patterns/SKILL.md` — Triggers: wrapper class, inner class, Comparable, Comparator, @AuraEnabled fields, @JsonAccess, return a wrapper list to LWC, sort a list of wrapper objects. NOT for JSON … use apex/apex-json-serialization
- `skills/apex/apex-wsdl2apex-patterns/SKILL.md` — Triggers: 'generate Apex from WSDL', 'wsdl2apex', 'WSDL parse error xsd:choice', 'outbound SOAP callout from Apex', 'WebServiceCalloutException not caught'. NOT for … use apex/apex-callout-retry-and-resilience
- `skills/apex/apexguru-performance-analysis/SKILL.md` — Triggers: ApexGuru scan, apexguru Code Analyzer, Apex performance findings, SOQL scalability issue, AI Apex optimization. NOT for general PMD/security lint — use devops/salesforce-code-analyzer.
- `skills/apex/async-apex/SKILL.md` — Triggers: 'queueable vs batch', 'future method', 'flex queue', 'async job failed', 'schedule apex', 'move a callout out of a trigger', …. NOT for Batchable structure or scope sizing — use apex/batch-apex-patterns.
- `skills/apex/batch-apex-patterns/SKILL.md` — designing, reviewing, or debugging Batch Apex …. Triggers: 'Database.Batchable', 'Database.Stateful', 'executeBatch', 'batch scope', 'AsyncApexJob'. NOT for choosing Batch vs Queueable vs Future — use apex/async-apex.
- `skills/apex/billing-integration-apex/SKILL.md` — Triggers: billing apex, blng.InvoiceAPI, blng.TransactionAPI, invoice generation apex, credit note apex, programmatic invoice, payment gateway adapter. NOT for a … use apex/commerce-payment-integration
- `skills/apex/callout-and-dml-transaction-boundaries/SKILL.md` — Triggers: 'uncommitted work pending', 'callout after DML', 'DML between callouts'. NOT for the callout itself — use apex/callouts-and-http-integrations. NOT for rollback semantics — use apex/apex-savepoint-and-rollback.
- `skills/apex/callouts-and-http-integrations/SKILL.md` — Triggers: 'HttpRequest', 'Named Credential', 'callout exception', 'uncommitted work pending', 'HttpCalloutMock', 'uncommitted work pending', …. NOT for exposing Apex as an inbound REST … use apex/apex-rest-services
- `skills/apex/case-trigger-patterns/SKILL.md` — Triggers: 'case trigger', 'case assignment rule apex', 'entitlement auto-association trigger', 'case merge trigger', 'MasterRecordId case', …. NOT for generic trigger framework … use apex/trigger-framework
- `skills/apex/change-data-capture-apex/SKILL.md` — Triggers: trigger syntax on ChangeEvent objects, reading ChangeEventHeader fields (changeType, changedFields, recordIds, commitUser), …. NOT for platform events published by application … use apex/platform-events-apex
- `skills/apex/clinical-decision-support/SKILL.md` — implementing clinical decision support in Health Cloud: creating …. NOT for care plan lifecycle Apex hooks — use apex/health-cloud-apex-extensions. NOT for FHIR ingestion — use apex/fhir-integration-patterns.
- `skills/apex/commerce-extension-points/SKILL.md` — extending Salesforce B2B/B2C Commerce Cloud behavior through Apex: building custom …. NOT for standard LWC Commerce components, declarative store configuration, or Experience … use admin/commerce-checkout-configuration
- `skills/apex/commerce-order-api/SKILL.md` — building or debugging headless B2C Commerce storefront order submission using the Salesforce Commerce API …. NOT for OrderSummary, FulfillmentOrder, or other OMS Connect API work — use admin/commerce-order-management.
- `skills/apex/commerce-payment-integration/SKILL.md` — building or debugging a custom Salesforce Commerce payment gateway adapter using the CommercePayments Apex namespace …. NOT for Salesforce Billing invoices and the blng namespace — use apex/billing-integration-apex.
- `skills/apex/commerce-search-customization/SKILL.md` — Triggers: commerce search ranking, faceted navigation commerce, search index rebuild, Einstein recommendations storefront, product not appearing in search. NOT for catalog … use admin/commerce-catalog-strategy
- `skills/apex/common-apex-runtime-errors/SKILL.md` — Diagnosing and resolving common Apex runtime exceptions: NullPointerException …. NOT for structuring try/catch — use apex/exception-handling. NOT for a cross-cutting error framework — use apex/error-handling-framework.
- `skills/apex/continuation-callouts/SKILL.md` — making long-running HTTP callouts from Visualforce or LWC that exceed the synchronous callout timeout limit …. NOT for ordinary synchronous callouts and Named Credential setup — use apex/callouts-and-http-integrations.
- `skills/apex/cpq-apex-plugins/SKILL.md` — Triggers: SBQQ plugin, QuoteCalculatorPlugin, ProductSearchPlugin, OrderPlugin, ContractingPlugin, ConfigurationInitializerPlugin, SBQQ__CustomScript__c, …. NOT for driving CPQ … use apex/cpq-api-and-automation
- `skills/apex/cpq-api-and-automation/SKILL.md` — Triggers: CPQ API, SBQQ.ServiceRouter, QuoteCalculator, QuoteReader, QuoteSaver, QuoteProductAdder, ProductLoader, ContractAmender, ContractRenewer, …. NOT for CPQ plugin interfaces — use apex/cpq-apex-plugins.
- `skills/apex/cpq-custom-actions/SKILL.md` — Triggers: CPQ custom action, QLE button, SBQQ__CustomAction__c, CPQ Flow button, CPQ URL action. NOT for code CPQ itself calls during calculation or contracting — use apex/cpq-apex-plugins.
- `skills/apex/cpq-test-automation/SKILL.md` — Triggers: CPQ test class, SBQQ test, quote calculation test, price rule test, CPQ Apex test, ServiceRouter test, QuoteCalculator test. NOT for production CPQ API code — use apex/cpq-api-and-automation.
- `skills/apex/cross-object-formula-and-rollup-performance/SKILL.md` — Triggers: 'roll-up summary timing stale in trigger', 'Maximum 15 object references error', 'rollup recalculation timeout on large child set'. NOT for formula syntax … use apex/formula-field-performance-and-limits
- `skills/apex/cti-adapter-development/SKILL.md` — building or debugging a browser-based CTI softphone adapter using the Salesforce Open CTI JavaScript API — covers …. NOT for Service Cloud Voice / Amazon Connect setup — use admin/service-cloud-voice-setup.
- `skills/apex/custom-iterators-and-iterables/SKILL.md` — Triggers: custom iterator, Iterable interface, Iterator interface, batch start iterable, lazy evaluation apex, streaming apex query, paginated batch. NOT for standard list iteration (use for-each on List directly).
- `skills/apex/custom-logging-and-monitoring/SKILL.md` — designing or implementing a custom logging framework in Apex: log sObject schema …. NOT for System.debug vs durable logging — use apex/debug-and-logging. NOT for exception capture — use apex/error-handling-framework.
- `skills/apex/custom-metadata-in-apex/SKILL.md` — Triggers: 'Custom Metadata Type', '__mdt', 'getInstance', 'Apex Metadata API', 'protected custom metadata'. NOT for the Setup-side CMT vs Custom Settings choice — use admin/custom-metadata-types-and-settings.
- `skills/apex/debug-and-logging/SKILL.md` — Triggers: 'debug log', 'System.debug', 'logging framework', 'AsyncApexJob monitoring', 'production logs', 'log truncated', 'publish immediately', …. NOT for trace flag … use apex/debug-logs-and-developer-console
- `skills/apex/debug-logs-and-developer-console/SKILL.md` — Triggers: 'set up debug log', 'Developer Console', 'anonymous Apex', 'trace flag', 'Apex Replay Debugger', 'tail Apex logs from the CLI', …. NOT for production logging strategy or custom … use apex/debug-and-logging
- `skills/apex/dynamic-apex/SKILL.md` — Triggers: 'Database.query', 'Schema.getGlobalDescribe', 'Schema.describeSObjects', 'dynamic field access', 'SObjectType', 'DescribeFieldResult'. NOT for static SOQL queries — use apex/soql-fundamentals.
- `skills/apex/einstein-activity-capture-api/SKILL.md` — Triggers: 'ActivityMetric SOQL', 'EAC data not in reports', 'UnifiedActivity query', 'query synced emails from EAC', 'activity capture SOQL returns no rows'. NOT for email template design or email deliverability …
- `skills/apex/entitlement-apex-hooks/SKILL.md` — Triggers: CaseMilestone trigger, auto-complete milestone Apex, milestone violation polling, CompletionDate write pattern. NOT for entitlement auto-association or assignment rules in a … use apex/case-trigger-patterns
- `skills/apex/error-handling-framework/SKILL.md` — designing a cross-cutting Apex error handling framework: custom exception hierarchies, centralized rollback-safe logging via Platform …. NOT for a single try/catch or DmlException question — use apex/exception-handling.
- `skills/apex/exception-handling/SKILL.md` — Triggers: 'DmlException', 'swallowed exception', 'AuraHandledException', 'trigger rollback', 'try catch'. NOT for a specific runtime error — use apex/common-apex-runtime-errors. … use apex/common-apex-runtime-errors
- `skills/apex/feature-flags-and-kill-switches/SKILL.md` — implementing runtime feature toggles, emergency kill switches, or gradual rollout controls in Apex using Custom …. NOT for disabling a trigger during a data load — use apex/apex-trigger-bypass-and-killswitch-patterns.
- `skills/apex/fflib-enterprise-patterns/SKILL.md` — adopting or working with the fflib (Apex Enterprise …. Triggers: 'fflib', 'UnitOfWork', 'SObjectDomain', 'enterprise patterns apex'. NOT for Apex layering without the fflib library — use apex/apex-design-patterns.
- `skills/apex/fhir-integration-patterns/SKILL.md` — Triggers: FHIR R4 integration, Healthcare API, CodeSetBundle, HealthCondition mapping, ingest a FHIR bundle. NOT for mapping a FHIR resource to Health Cloud objects field by field — use data/fhir-data-mapping.
- `skills/apex/field-level-security-in-async-contexts/SKILL.md` — Triggers: 'fls bypassed in batch apex', 'queueable runs as wrong user', 'stripInaccessible in async returns full record', …. NOT for synchronous FLS enforcement — use apex/apex-stripinaccessible-and-fls-enforcement.
- `skills/apex/formula-field-performance-and-limits/SKILL.md` — Triggers: 'formula field slowing SOQL', 'compile size limit', 'cross-object formula spanning limit', 'formula field not indexable', …. NOT for formula syntax help, building formula … use admin/formula-fields
- `skills/apex/fsc-apex-extensions/SKILL.md` — extending Financial Services Cloud (FSC) behavior through Apex: customizing …. NOT for standard Apex unrelated to the FSC managed package, standard Salesforce sharing rules, or … use the admin/financial-account-setup
- `skills/apex/fsc-compliant-sharing-api/SKILL.md` — Programmatic record access in Financial Services Cloud using Compliant Data Sharing (CDS): inserting …. NOT for enabling CDS in Setup, OWDs, or Participant Role setup — use admin/compliant-data-sharing-setup.
- `skills/apex/fsc-document-generation/SKILL.md` — Triggers: OmniStudio DocGen FSC, disclosure document generation, account statement PDF, AuthorizationForm document, FINRA disclosure workflow, …. NOT for general … use omnistudio/document-generation-omnistudio
- `skills/apex/fsc-financial-calculations/SKILL.md` — Custom financial calculation logic in Financial Services Cloud — portfolio performance metrics …. NOT for disabling FSC's built-in triggers, Compliant Data Sharing, or FSC action handlers — use apex/fsc-apex-extensions.
- `skills/apex/fsc-integration-patterns-dev/SKILL.md` — Triggers: syncing FinancialAccount or FinancialHolding records from a core banking system, integrating a custodian data feed into FSC Wealth Management, …. NOT for a one-time … use data/financial-account-migration
- `skills/apex/fsl-apex-extensions/SKILL.md` — Triggers: FSL Apex namespace, GetSlots, schedule service appointment via code, appointment booking API, FSL optimization API. NOT for scheduling policy or work rule config — use admin/fsl-scheduling-policies.
- `skills/apex/fsl-custom-actions-mobile/SKILL.md` — Triggers: FSL Mobile custom action, lightning__GlobalAction FSL, barcode scanner LWC, mobileCapabilities, Nimbus plugin, FSL lightning SDK. NOT for offline priming, deep links or … use apex/fsl-mobile-app-extensions
- `skills/apex/fsl-mobile-app-extensions/SKILL.md` — Triggers: FSL mobile extension, LWC action FSL, field service deep link, offline custom action, FSL mobile toolkit. NOT for barcode, GPS, or camera capture — use apex/fsl-custom-actions-mobile.
- `skills/apex/fsl-scheduling-api/SKILL.md` — Triggers: AppointmentBookingService, ScheduleService.schedule, GetSlots, GradeSlotsService, OAAS, bulk scheduling, FSL optimization callout. NOT for scheduling policy config — use admin/fsl-scheduling-policies.
- `skills/apex/fsl-service-report-templates/SKILL.md` — designing, generating, or troubleshooting Field Service service report templates …. NOT for Quote PDF templates — use apex/quote-pdf-customization. NOT for Visualforce PDF generation — use apex/pdf-generation-patterns.
- `skills/apex/governor-limit-recovery-patterns/SKILL.md` — Recovering from and preventing Apex governor limit errors: proactive Limits class checkpoints, savepoint-based partial recovery …. NOT for org-level capacity planning — use architect/limits-and-scalability-planning.
- `skills/apex/governor-limits/SKILL.md` — Triggers: 'too many SOQL queries', 'too many DML statements', 'CPU time limit', 'bulkification', 'Queueable vs Batch', 'fix a governor limit exception', …. NOT for … use integration/callout-limits-and-async-patterns
- `skills/apex/headless-commerce-api/SKILL.md` — building custom headless storefronts that call Salesforce Commerce API (SCAPI) — including Shopper API authentication with SLAS OAuth2 JWT …. NOT for order submission or order status — use apex/commerce-order-api.
- `skills/apex/health-cloud-apex-extensions/SKILL.md` — Triggers: CarePlanProcessorCallback, HealthCloudGA namespace, ReferralRequest, ReferralResponse, care plan invocable actions, clinical Apex extension, …. NOT for standard Apex triggers or generic Apex development …
- `skills/apex/health-cloud-apis/SKILL.md` — working with Health Cloud APIs: querying healthcare-specific SObjects (CarePlan, ClinicalEncounter, HealthCondition) via the …. NOT for choosing or enabling the clinical objects — use data/health-cloud-data-model.
- `skills/apex/health-cloud-lwc-components/SKILL.md` — building custom LWC components for Health Cloud: extending patient card configurations, building custom timeline components using …. NOT for configuring Industries Timeline — use admin/health-cloud-timeline.
- `skills/apex/invocable-methods/SKILL.md` — Triggers: 'InvocableMethod', 'InvocableVariable', 'Flow Apex action', 'bulk-safe invocable', 'Apex action input/output', 'callout=true', …. NOT for wiring the action into Flow Builder — use flow/flow-action-framework.
- `skills/apex/lead-conversion-customization/SKILL.md` — Triggers: 'lead conversion apex', 'Database.LeadConvert', 'custom field mapping conversion', 'convert lead trigger', 'lead convert opportunity', …. NOT for configuring lead … use admin/lead-management-and-conversion
- `skills/apex/long-running-process-orchestration/SKILL.md` — Triggers: 'multi-step Queueable chain', 'cross-transaction state', 'platform event state machine', 'Finalizer retry', 'orchestrate across transactions', …. NOT for single-job Queueable … use flow/orchestration-flows
- `skills/apex/marketing-cloud-api/SKILL.md` — Triggers: MC API, Marketing Cloud REST, journey injection, triggered send, fire entry event, DE row upsert, dataeventsasync, Installed Package API integration. NOT for Account Engagement … use apex/mcae-pardot-api
- `skills/apex/marketing-cloud-custom-activities/SKILL.md` — Triggers: custom activity, Postmonger, config.json, Journey Builder execute endpoint, customActivity.js, custom split outcome, installed package app extension, …. NOT for … use admin/journey-builder-administration
- `skills/apex/marketing-cloud-data-views/SKILL.md` — Triggers: SFMC system data views, underscore data views, _Subscribers status, _Job metadata, data retention marketing cloud, data view schema, …. NOT for writing or debugging the … use data/marketing-cloud-sql-queries
- `skills/apex/mcae-pardot-api/SKILL.md` — Triggers: Pardot API, Account Engagement API, prospect sync, visitor tracking API, form handler integration, MCAE REST API. NOT for connector setup, business unit provisioning or User Sync — use admin/mcae-pardot-setup.
- `skills/apex/metadata-api-and-package-xml/SKILL.md` — Metadata API concepts, package.xml manifest structure, retrieve and deploy workflows, what metadata types can and cannot …. NOT for scripting retrieve/deploy in a CI pipeline — use devops/metadata-api-retrieve-deploy.
- `skills/apex/mixed-dml-and-setup-objects/SKILL.md` — Triggers: 'MIXED_DML_OPERATION', 'setup object DML error', 'cannot insert User and Account together', 'System.runAs mixed DML', …. NOT for general async Apex patterns — use apex/async-apex.
- `skills/apex/npsp-api-and-integration/SKILL.md` — NPSP programmatic integration patterns: BDI gift processing API for bulk gift ingestion, ERD Schedules and …. NOT for a one-off historical gift migration through the NPSP Data Importer — use data/gift-history-import.
- `skills/apex/npsp-custom-rollups/SKILL.md` — Triggers: CRLP, customizable rollups, rollup definition, filter group, rollup batch job, NPSP gift totals, NPSP recalculate rollups. NOT for rolling up across a lookup outside … use data/roll-up-summary-alternatives
- `skills/apex/npsp-trigger-framework-extension/SKILL.md` — extending the NPSP Trigger-Driven Trigger Management (TDTM) framework with custom Apex handler classes — covering class authorship …. NOT for trigger-handler framework design outside NPSP — use apex/trigger-framework.
- `skills/apex/omni-channel-custom-routing/SKILL.md` — Use this skill to implement Apex-driven custom …. Triggers: PendingServiceRouting, SkillRequirement, IsReadyForRouting, skills-based routing, …. NOT for Omni-Channel Setup config — use admin/omni-channel-routing-setup.
- `skills/apex/opportunity-trigger-patterns/SKILL.md` — Triggers: stage change automation, opportunity rollup, team member sync, split percentage, Trigger.oldMap stage comparison. NOT for generic trigger framework structure (use … use admin/flow-for-admins
- `skills/apex/order-of-execution-deep-dive/SKILL.md` — Complete reference for the Salesforce record save order of execution: all 20 steps from DB load through commit, covering trigger placement …. NOT for trigger framework design — use apex/trigger-framework.
- `skills/apex/pdf-generation-patterns/SKILL.md` — Generating PDF documents from Salesforce using Visualforce renderAs='pdf' …. NOT for Quote PDF template customization (use apex/quote-pdf-customization). NOT for OmniStudio DocGen document generation.
- `skills/apex/platform-cache/SKILL.md` — Triggers: 'Platform Cache', 'Cache.Org', 'Cache.Session', 'cache-aside', 'cache invalidation'. NOT for caching user-specific sensitive data, and NOT for durable configuration storage — use apex/custom-metadata-in-apex.
- `skills/apex/platform-events-apex/SKILL.md` — Triggers: 'EventBus.publish', 'platform event trigger', 'CDC vs Platform Events', 'replay ID', 'high-volume event', 'publishBehavior', 'PublishAfterCommit', …. NOT for … use integration/platform-events-integration
- `skills/apex/quote-pdf-customization/SKILL.md` — Customizing Salesforce Quote PDFs using Visualforce: custom VF-based quote templates …. NOT for LWC-based document generation (use omnistudio/document-generation-omnistudio). NOT for OmniStudio DocGen templates.
- `skills/apex/record-locking-and-contention/SKILL.md` — diagnosing or preventing …. Triggers: 'UNABLE_TO_LOCK_ROW', 'record lock contention', 'FOR UPDATE SOQL', 'deadlock', 'lock timeout'. NOT for locks from a Flow — use flow/flow-record-locking-and-contention.
- `skills/apex/recursive-trigger-prevention/SKILL.md` — Triggers: 'trigger recursion', 'static boolean guard', 'recursive update', 'self DML', 'trigger firing multiple times'. NOT for how to structure the trigger handler itself — use apex/trigger-framework.
- `skills/apex/sales-engagement-api/SKILL.md` — Triggers: 'enroll lead in cadence', 'assignTargetToSalesCadence', 'ActionCadenceTracker', 'log call result cadence', 'Sales Engagement Apex'. NOT for building or administering … use admin/sales-engagement-cadences
- `skills/apex/salesforce-debug-log-analysis/SKILL.md` — Triggers: '.log file', 'debug log', 'why is this field changing', 'flow cascade', 'CPU timeout', 'heap exceeded', 'UNABLE_TO_LOCK_ROW', 'INSUFFICIENT_ACCESS', …. NOT for … use apex/debug-logs-and-developer-console
- `skills/apex/scheduled-apex-failure-detection-and-monitoring/SKILL.md` — Triggers: 'nightly batch failed at 2am with no notification', 'how do we know if a scheduled apex job is failing', 'BatchApexErrorEvent vs custom retry logic', …. NOT for general Apex … use apex/apex-scheduled-jobs
- `skills/apex/service-cloud-rest-api/SKILL.md` — Triggers: Knowledge article retrieval, data category filtering, URL-name lookup, Enhanced Chat API, legacy Chat REST API migration. NOT for Salesforce REST API CRUD on … use apex/callouts-and-http-integrations
- `skills/apex/sf-cli-and-sfdx-essentials/SKILL.md` — Triggers: sf CLI, sfdx, scratch org, source push, source pull, deploy, retrieve, package.xml, org login, sf project. NOT for scripting the CLI in CI with --json, aliases, and … use devops/salesforce-cli-automation
- `skills/apex/soql-aggregate-field-type-support/SKILL.md` — Triggers: soql aggregate field type support, sum/avg unsupported field type, aggregate function malformed query, which fields support avg sum, …. NOT for GROUP BY / HAVING / ROLLUP / … use apex/apex-aggregate-queries
- `skills/apex/soql-date-functions/SKILL.md` — writing a SOQL query that groups or filters records by a date period — day …. NOT for SOQL relative date literals (TODAY, LAST_N_DAYS, THIS_FISCAL_YEAR — those are literals … use apex/timezone-and-datetime-pitfalls
- `skills/apex/soql-for-view-and-for-reference/SKILL.md` — a SOQL query that serves a custom record-viewing surface (custom LWC/Aura/Visualforce page, mobile app, or API client) must make the retrieved …. NOT for FOR UPDATE row locking — use apex/record-locking-and-contention.
- `skills/apex/soql-format-function-localization/SKILL.md` — a SOQL SELECT clause or SOSL FIND/RETURNING clause must return number, date, time, or currency fields already localized to the running …. NOT for grouping or filtering by date period — use apex/soql-date-functions.
- `skills/apex/soql-fundamentals/SKILL.md` — writing or debugging SOQL queries: SELECT syntax, WHERE filters, ORDER BY, LIMIT, OFFSET, relationship …. Triggers: soql, query, SELECT FROM WHERE. NOT for SOQL injection or CRUD/FLS enforcement — use apex/soql-security.
- `skills/apex/soql-multiselect-picklist-queries/SKILL.md` — Triggers: multi-select picklist, multiselect, INCLUDES, EXCLUDES, semicolon, 'field contains value'. NOT for single-select picklist filtering (use plain = / IN), NOT for query … use admin/picklist-and-value-sets
- `skills/apex/soql-null-ordering-patterns/SKILL.md` — Triggers: 'soql nulls first', 'soql null sort order', 'pagination missing records with null fields', 'order by skipping null records', …. NOT for general SOQL optimization (use … use data/soql-query-optimization
- `skills/apex/soql-object-limits-and-restrictions/SKILL.md` — a SOQL query fails or must be shaped around a specific object's own limits and …. NOT for generic SOQL governor limits — use apex/governor-limits. NOT for index and selectivity tuning — use data/soql-query-optimization.
- `skills/apex/soql-outer-join-null-semantics/SKILL.md` — Triggers: soql outer join, null foreign key, WHERE Parent.Field = null, boolean field = null, relationship query returning null-parent rows, …. NOT for NULLS FIRST/NULLS LAST sort placement … use apex/soql-security
- `skills/apex/soql-security/SKILL.md` — Triggers: 'Database.query', 'WITH USER_MODE', 'WITH SECURITY_ENFORCED', 'stripInaccessible', 'security review finding'. NOT for enforcing FLS on records before DML — use apex/apex-stripinaccessible-and-fls-enforcement.
- `skills/apex/soql-string-escaping-and-reserved-characters/SKILL.md` — a SOQL single-quoted string literal contains a character that must be escaped: an apostrophe in a name (O'Brien, Bob's …. NOT for binding untrusted input into dynamic SOQL — use apex/apex-dynamic-soql-binding-safety.
- `skills/apex/soql-using-scope-clause/SKILL.md` — writing or reviewing a SOQL query (in Apex, a selector, or via the API) that must return only a subset of records defined by ownership …. NOT for plain SELECT / WHERE / ORDER BY syntax — use apex/soql-fundamentals.
- `skills/apex/ssjs-server-side-javascript/SKILL.md` — writing, debugging, or reviewing Server-Side JavaScript (SSJS) in Salesforce Marketing Cloud — Script …. NOT for standard Apex on the Salesforce Platform, and not for client-side JavaScript in Experience Cloud or LWC.
- `skills/apex/territory-api-and-assignment/SKILL.md` — Territory2 API in Apex: programmatic territory member management …. NOT for ETM admin setup, territory model design, declarative assignment rules, or Opportunity … use admin/enterprise-territory-management
- `skills/apex/test-class-standards/SKILL.md` — writing, reviewing, or debugging Apex …. Triggers: 'SeeAllData', 'Test.startTest', 'HttpCalloutMock', 'test data factory', 'missing assertions'. NOT for the factory class itself — use apex/test-data-factory-patterns.
- `skills/apex/test-data-factory-patterns/SKILL.md` — designing or building reusable Apex test data factories: @IsTest utility classes …. NOT for test class structure and assertions (use apex/test-class-standards) or for loading data … use devops/data-seeding-for-testing
- `skills/apex/timezone-and-datetime-pitfalls/SKILL.md` — writing or reviewing Apex, SOQL, or Flow logic that involves Date or Datetime fields …. NOT for calendar UI component layout, time-zone configuration in org settings, or Salesforce Connect external object date mapping.
- `skills/apex/tooling-api-patterns/SKILL.md` — Triggers: 'tooling api compile single apex class', 'MetadataContainer ContainerAsyncRequest', 'ApexCodeCoverageAggregate query', …. NOT for runtime Apex metadata … use `devops/deployment-error-troubleshooting`
- `skills/apex/trigger-and-flow-coexistence/SKILL.md` — Governance patterns for orgs where Apex triggers and record-triggered Flows both run on the same object: field-write conflict prevention …. NOT for save order of execution — use apex/order-of-execution-deep-dive.
- `skills/apex/trigger-framework/SKILL.md` — Triggers: 'trigger', 'trigger handler', 'trigger framework', 'recursion', 'before insert', 'after update', 'one trigger per object'. NOT for Flow-based automation — use … use admin/flow-for-admins
- `skills/apex/visualforce-fundamentals/SKILL.md` — Designing and debugging Visualforce pages: standard/custom controllers, view state management, CSRF and SOQL …. NOT for hardening or rewriting legacy VF in LWC — use security/visualforce-security-and-modernization.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |