/sfskills:migrate-profile-to-permsetfrom SfSkills — Salesforce AI Skill Library
Decomposes a Salesforce profile into Permission Sets and Permission Set Groups, minimizing the profile to mandatory residue only. Accepts profile filter, grouping strategy, PSG composition, and rollout mode.
Claude never picks this command on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /sfskills:migrate-profile-to-permset still runs it.
Wraps agents/profile-to-permset-migrator/AGENT.md. Minimizes the profile to its mandatory residue (license, default record type, default app, page layouts, login IP/hours, session) and emits the PS + PSG layout that absorbs every migratable permission.
Ask the user:
1. Target org alias (required — agent probes ProfileName, PermissionSet, PermissionSetGroup, object perms)?
2. Profile(s) to migrate?
Either one profile name OR a name filter ("Sales*", "*Admin*").
3. Grouping strategy?
Options: by-object | by-persona | by-feature | hybrid (recommended)
4. PSG composition goal? (flatten | nested-by-persona | baseline + overlays)
5. Rollout mode? (shadow-assign | cutover | parallel)
If more than 5 profiles match the filter, STOP and ask for a narrower scope — this agent processes one workstream at a time.
Read agents/profile-to-permset-migrator/AGENT.md + mandatory reads (security/profile-to-permset-strategy, admin/permission-set-group-composition, security/least-privilege-principles).
/architect-perms for a clean-slate persona redesign if residue is large/audit-sharing after migration to verify no permission drift/scan-security if object CRUD changedWhat the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub pranavnagrecha/awesomesalesforceskills --plugin sfskills94 commands in this plugin
/add-skill/add-skill — one command, topic in, landed skill outYou give it a topic. It works out everything else./add-to-backlog/add-to-backlog — add one ask to the release plan```/analyze-field-impact/analyze-field-impact — Score the blast radius of renaming or deleting a fieldWraps [`agents/field-impact-analyzer/AGENT.md`](../agents/field-impact-analyzer/AGENT.md). Returns a risk-scored inventory of every place a field is referenced./analyze-flow/analyze-flow — Flow vs Apex routing + bulkification reviewWraps [`agents/flow-analyzer/AGENT.md`](../agents/flow-analyzer/AGENT.md). For a Flow or an sObject, routes via `standards/decision-trees/automation-selection.md`, checks bulkification, and flags trigger/flow co-existence risks./architect-perms/architect-perms — Design or audit Permission Sets + Permission Set GroupsWraps [`agents/permission-set-architect/AGENT.md`](../agents/permission-set-architect/AGENT.md). Two modes: `design` (from a persona) or `audit` (against the live org)./assess-org/assess-org — Org Health Assessment CommandTriggers the **org-assessor** agent.Other plugins' commands for the same job