PranavNagrecha/AwesomeSalesforceSkills / skills/admin/custom-permissions
custom-permissions
VerifiedUse when creating, assigning, or checking custom permissions to control feature access beyond CRUD and FLS. Trigger keywords: 'custom permission', 'FeatureManagement.checkPermission', '$Permission global variable', 'feature gate', 'named access grant', 'beta feature flag', 'SetupEntityAccess', 'requiredPermission', 'who has this custom permission'. NOT for gating Apex service code and its tests — use apex/apex-custom-permissions-check. NOT for permission set design — use admin/permission-set-architecture.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 23.6 KB |
| references/examples.md | markdown | 8.2 KB |
| references/gotchas.md | markdown | 13.7 KB |
| references/llm-anti-patterns.md | markdown | 8.0 KB |
| references/metadata-examples.md | markdown | 14.2 KB |
| references/well-architected.md | markdown | 7.6 KB |
| scripts/check_custom_permissions.pyexecutable | script | 17.3 KB |
| scripts/fixtures/empty-tree/README.md | markdown | 473 B |
| templates/custom-permissions-template.md | markdown | 4.0 KB |
scripts/fixtures/empty-tree/README.md
View on GitHubexpected: `--manifest-dir empty-tree` → the counts block, then "Scanned 0 file(s) — nothing asserted; check --manifest-dir", exit 0. No `*.customPermission-meta.xml`, no `*.permissionset-meta.xml`/`*.profile-meta.xml` and no consumer file (`.cls`, `.flow-meta.xml`, `.validationRule-meta.xml`, …) exists anywhere in the tree, so "Summary: 0 error(s), 0 warning(s), 0 info." must not stand alone — on its own it reads as a pass, and this fixture had no scan at all.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |