Skip to content

PranavNagrecha/AwesomeSalesforceSkills / .claude/skills/salesforce-security

salesforce-security

Verified

Router for the 49 SfSkills `security` skill packages. Platform security and compliance: org hardening, encryption, session policy, MFA, monitoring, incident response, and TROUBLESHOOTING a specific record-access denial. Designing the sharing model itself (OWD, role hierarchy, sharing rules) is salesforce-admin. Use when the request mentions security, org hardening, Shield, platform encryption, field audit trail, MFA, SSO, SAML, session policy, guest user, event monitoring, GDPR, XSS, injection, why can this one user see this record, Apex managed sharing, sharing recalculation. Finds and opens the exact skill package to read; it does not contain the guidance itself.

FileKindSize
SKILL.mdskill md4.6 KB
references/skill-index.mdmarkdown14.3 KB

references/skill-index.md

View on GitHub
# SfSkills — `security` skill roster (49 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/security/apex-managed-sharing-patterns/SKILL.md` — Grant row-level access programmatically via __Share records when declarative sharing rules cannot express the policy. NOT for OWD, role hierarchy, or criteria-based sharing rule design — use admin/sharing-and-visibility.
- `skills/security/api-only-user-hardening/SKILL.md` — Provision and harden integration (API-only) users: no UI login, IP restrictions, minimum permission set, session lifetime, and monitoring. NOT for human admin account hardening — use admin/integration-user-management.
- `skills/security/api-security-and-rate-limiting/SKILL.md` — Triggers: API rate limit, Connected App scopes, API security audit. NOT for Connected App policy design — use security/connected-app-security-policies. NOT for OAuth setup — use admin/connected-apps-and-auth.
- `skills/security/certificate-and-key-management/SKILL.md` — creating, uploading, or rotating certificates in Salesforce, configuring mutual TLS (mTLS) client …. NOT for Shield Platform Encryption key management or Named Credential setup — use integration/named-credentials-setup.
- `skills/security/clickjack-and-frame-protection/SKILL.md` — Configure clickjack protection headers and frame-ancestors for VF pages, LWR sites, and Aura apps. NOT for CSP or Trusted URL configuration — use security/csp-and-trusted-urls.
- `skills/security/connected-app-security-policies/SKILL.md` — Managing OAuth policies, IP relaxation, session security, PKCE, and credential rotation for Salesforce Connected Apps. Use when …. NOT for basic Connected App setup or creation — use admin/connected-app-troubleshooting.
- `skills/security/csp-and-trusted-urls/SKILL.md` — Configure Content Security Policy via Trusted URLs and CSP Trusted Sites so Lightning, LWR, and LWC can call third-party scripts, APIs, and frame …. NOT for clickjack configuration — use lwc/static-resources-in-lwc.
- `skills/security/customer-data-request-workflow/SKILL.md` — Implement GDPR/CCPA data subject rights (access, deletion, rectification) using …. NOT for the underlying erasure mechanics (Individual sObject, ShouldForget, ContactPointConsent) — use security/gdpr-data-privacy.
- `skills/security/data-classification-labels/SKILL.md` — Classify Salesforce fields by data sensitivity and compliance category using the four …. NOT for data masking, Shield Platform Encryption, or runtime access control enforcement — use data/data-quality-and-governance.
- `skills/security/dynamic-sharing-recalculation/SKILL.md` — Force or orchestrate sharing recalculation after bulk data loads, rule changes, or user/role reorgs so …. NOT for designing new sharing rules — use sharing-selection tree — use data/sharing-recalculation-performance.
- `skills/security/encrypted-field-query-patterns/SKILL.md` — Triggers: Shield Platform Encryption, encrypted field query, probabilistic vs deterministic encryption, encrypted SOQL filter. NOT for Classic Encryption (deprecated), field-level … use security/platform-encryption
- `skills/security/event-monitoring/SKILL.md` — Shield Event Monitoring: event log types, downloading logs via REST API and SOQL, real-time event monitoring with streaming API, and threat …. NOT for debug logs — use apex/debug-logs-and-developer-console.
- `skills/security/experience-cloud-security/SKILL.md` — configuring access controls, sharing, or site security for authenticated or guest Experience Cloud …. NOT for internal sharing model configuration (use sharing-and-visibility) — use data/external-user-data-sharing.
- `skills/security/ferpa-compliance-in-salesforce/SKILL.md` — implementing FERPA (Family Educational Rights and Privacy Act) compliance …. NOT for GDPR/CCPA data privacy, platform encryption at rest, or HIPAA health-data compliance — use architect/health-cloud-data-residency.
- `skills/security/field-audit-trail/SKILL.md` — Salesforce Shield Field Audit Trail: configuration, retention policies, querying archived field data, compliance …. NOT for field history tracking (use field-history-tracking) — use data/field-history-tracking.
- `skills/security/file-upload-virus-scanning/SKILL.md` — designing malware and content scanning for files uploaded to Salesforce …. Triggers: 'virus scan salesforce upload', 'malware scan. NOT for field-level data validation — use integration/file-and-document-integration.
- `skills/security/gdpr-data-privacy/SKILL.md` — implementing GDPR or CCPA data privacy …. Triggers: GDPR, consent management, Individual object, ContactPointConsent, ShouldForget, Privacy Center. NOT for field-level encryption — use security/platform-encryption.
- `skills/security/guest-user-security/SKILL.md` — hardening the Experience Cloud guest user profile, controlling unauthenticated access …. NOT for Experience Cloud site creation (use Experience Cloud skills) or for authenticated … use security/experience-cloud-security
- `skills/security/guest-user-security-audit/SKILL.md` — Audit Experience Cloud guest user access …. Triggers: guest user audit, Experience Cloud guest security, site guest profile. NOT for member/community user provisioning — use admin/experience-cloud-member-management.
- `skills/security/ip-range-and-login-flow-strategy/SKILL.md` — Design and implement Salesforce Login Flows (Screen Flows assigned to profiles …. NOT for IP allowlisting (use security/network-security-and-trusted-ips) or org-wide MFA rollout — use security/mfa-enforcement-strategy.
- `skills/security/ip-relaxation-and-restriction/SKILL.md` — Triggers: login IP range, trusted IP, IP relaxation, restricted IP, IP allowlist, login hours. NOT for CSP Trusted Sites, CORS allowlists, TLS requirements, or … use security/network-security-and-trusted-ips
- `skills/security/login-forensics/SKILL.md` — Investigate Salesforce login activity using LoginHistory, IdentityVerificationHistory, and Login Forensics (Event Monitoring add-on): reconstruct …. NOT for MFA setup — use security/mfa-enforcement-strategy.
- `skills/security/mfa-enforcement-patterns/SKILL.md` — Design MFA enforcement: auto-enablement, Authenticator rollout …. Triggers: MFA enforcement, MFA exception, api-only MFA, MFA SSO. NOT for org-wide MFA policy sequencing — use security/mfa-enforcement-strategy.
- `skills/security/mfa-enforcement-strategy/SKILL.md` — Org-wide MFA rollout strategy, phased enablement, exception governance, and …. Triggers: MFA rollout plan, MFA policy, MFA governance. NOT for per-user-type enforcement patterns — use security/mfa-enforcement-patterns.
- `skills/security/network-security-and-trusted-ips/SKILL.md` — Configure and audit Salesforce network security controls — trusted IP ranges …. NOT for per-profile login IP range policy, IP relaxation decisions, or their interaction … use security/ip-relaxation-and-restriction
- `skills/security/oauth-redirect-and-domain-strategy/SKILL.md` — Triggers: oauth redirect uri, connected app callback, my domain, enhanced domains, sandbox url change. NOT for end-user login flow UX, Experience Cloud branding, or SAML-only … use admin/connected-app-troubleshooting
- `skills/security/oauth-token-management/SKILL.md` — work depends on how Salesforce OAuth access and refresh tokens are issued, refreshed, rotated …. NOT for choosing which OAuth grant or Connected App flow to implement (use … use security/connected-app-security-policies
- `skills/security/org-hardening-and-baseline-config/SKILL.md` — defining or reviewing baseline org hardening settings, especially Security Health Check gaps, clickjack and browser …. NOT for feature-level app permissions or record-sharing design — use security/security-health-check.
- `skills/security/permission-set-groups-and-muting/SKILL.md` — designing or reviewing permission-set-group architecture …. Triggers: 'permission set group', 'muting permission. NOT for record-sharing design or CRUD/FLS review in Apex code — use admin/permission-set-architecture.
- `skills/security/platform-encryption/SKILL.md` — Triggers: Shield Platform Encryption, data at rest, AES-256, tenant secret, BYOK, key rotation, encrypted search. NOT for TLS/transport encryption, Classic Encrypted Text … use architect/salesforce-shield-architecture
- `skills/security/privileged-access-management/SKILL.md` — Design just-in-time elevation, break-glass accounts, and audit trails for Modify All Data / System Admin / Customize Application permissions. NOT for regular permission set design — use admin/permission-set-architecture.
- `skills/security/recaptcha-and-bot-prevention/SKILL.md` — configuring reCAPTCHA on Web-to-Case, Web-to-Lead …. Triggers: 'enable reCAPTCHA on Web-to-Case'. NOT for AppExchange security review or session-level login policies — use security/session-management-and-timeout.
- `skills/security/record-access-troubleshooting/SKILL.md` — Diagnose why a user can or cannot see/edit a record: UserRecordAccess SOQL, Why Can a User Access This Record debug log …. NOT for remediating a CRUD/FLS finding — use apex/apex-stripinaccessible-and-fls-enforcement.
- `skills/security/salesforce-shield-deployment/SKILL.md` — Roll out Shield (Platform Encryption + Event Monitoring + Field Audit Trail) end-to-end, sequencing feature enablement …. NOT for Classic Encryption or general PE design — use architect/salesforce-shield-architecture.
- `skills/security/sandbox-data-masking/SKILL.md` — Triggers: data mask, sandbox masking, PII in sandbox, GDPR sandbox, HIPAA. NOT for sandbox refresh mechanics (use devops/sandbox-refresh-and-templates) or production data anonymization — use admin/sandbox-strategy.
- `skills/security/scim-provisioning-integration/SKILL.md` — designing or reviewing SCIM-based user lifecycle provisioning into Salesforce from Okta, Azure AD / Entra, or …. NOT for SSO/authentication setup (see single-sign-on skills) — use integration/manufacturing-cloud-setup.
- `skills/security/secure-coding-review-checklist/SKILL.md` — Use this skill to audit Apex, Visualforce, LWC, and Aura code for Salesforce security review …. NOT for network-level penetration testing or Shield Platform Encryption key management — use security/platform-encryption.
- `skills/security/security-health-check/SKILL.md` — running, interpreting, or acting on Salesforce Security Health Check results …. NOT for org hardening implementation, permission model design, or broad baseline config — use security/org-hardening-and-baseline-config.
- `skills/security/security-incident-response/SKILL.md` — When to use: active or suspected Salesforce org compromise, unauthorized access …. NOT for general security setup, permission set design, or field-level security configuration — use admin/permission-sets-vs-profiles.
- `skills/security/service-account-credential-rotation/SKILL.md` — designing credential rotation for integration users, connected apps, named credentials, and OAuth client …. Triggers: 'rotate integration user. NOT for end-user password policies — use admin/connected-apps-and-auth.
- `skills/security/session-high-assurance-policies/SKILL.md` — Enforce step-up authentication for sensitive pages/objects using High Assurance session level and login flow policies. NOT for initial MFA enrollment UX — use admin/org-setup-and-configuration.
- `skills/security/session-management-and-timeout/SKILL.md` — configuring session timeout values, concurrent session limits, session IP locking, or …. NOT for OAuth token refresh flows, login IP ranges, or MFA/identity-provider configuration — use security/oauth-token-management.
- `skills/security/shield-event-log-retention-strategy/SKILL.md` — designing Salesforce Shield Event Monitoring retention, SIEM routing, and …. Triggers: 'shield event log retention'. NOT for enabling Shield (see salesforce-shield-deployment) — use security/event-monitoring.
- `skills/security/shield-kms-byok-setup/SKILL.md` — Configure Shield Platform Encryption with customer-supplied (BYOK) or customer-held (Cache-Only Key Service) tenant secrets, rotate …. NOT for Classic Encryption or field masking — use security/platform-encryption.
- `skills/security/sso-configuration/SKILL.md` — Triggers: SAML SSO setup, configure single sign-on, identity provider metadata, Just-in-Time provisioning, My Domain SSO, OpenID Connect, SSO-only login, …. NOT for SSO failures - use security/sso-saml-troubleshooting.
- `skills/security/sso-saml-troubleshooting/SKILL.md` — Troubleshoot SAML SSO failures — assertion errors, certificate mismatch, JIT provisioning. Triggers: SAML error, SSO login failure, assertion invalid. NOT for initial SSO configuration - use security/sso-configuration.
- `skills/security/transaction-security-policies/SKILL.md` — Transaction Security policy creation and configuration: condition builder, enhanced policies, enforcement …. NOT for Event Monitoring log analysis or Shield Event Monitoring setup — use security/event-monitoring.
- `skills/security/visualforce-security-and-modernization/SKILL.md` — Triggers: 'should I rewrite this Visualforce page in LWC', 'CSRF protection disabled on Visualforce page is that safe', …. NOT for greenfield Visualforce architecture (use … use apex/visualforce-fundamentals
- `skills/security/xss-and-injection-prevention/SKILL.md` — writing or reviewing Visualforce pages …. Triggers: 'XSS in Visualforce', 'SOQL injection vulnerability'. NOT for Apex CRUD/FLS enforcement, Shield encryption, or AppExchange security review — use apex/soql-security.

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: 472kUpdated Claude CodeCodexVerifiedInstall
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: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall