sf-permissions by jaganpro/sf-skills
npx skills add https://github.com/jaganpro/sf-skills --skill sf-permissions当用户需要进行权限分析与访问审计时使用此技能:权限集/权限集组层级视图、"谁有权访问X?"调查、用户权限分析或权限集元数据审查。
当工作涉及以下内容时使用 sf-permissions:
当用户进行以下操作时,请委托给其他技能:
询问或推断:
| 请求类型 |
|---|
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 默认能力 |
|---|
| "谁有权访问X?" | 权限检测器 |
| "该用户拥有什么权限?" | 用户分析器 |
| "显示层级结构" | 层级查看器 |
| "导出此权限集" | 导出器 |
| "根据分析生成元数据" | 生成器或交接 |
运行权限分析前验证 sf 认证。
除非用户明确要求全面审计,否则优先使用针对性分析而非全组织扫描。
使用:
使用:
完成时按以下顺序报告:
建议格式:
权限分析:<层级/检测/用户/导出>
范围:<组织,用户,权限目标>
发现:<权限集/组/访问级别>
来源:<直接分配或通过组>
后续步骤:<导出、生成元数据或部署更改>
| 需求 | 委托给 | 原因 |
|---|---|---|
| 生成或修改权限元数据 | sf-metadata | 元数据编写 |
| 部署权限更改 | sf-deploy | 发布 |
| 识别需要授权的Apex类 | sf-apex | 实现上下文 |
| 批量用户分配分析 | sf-data | 大型数据操作 |
| 分数 | 含义 |
|---|---|
| 90+ | 强大的权限分析,访问来源清晰 |
| 75–89 | 有用的审计,存在微小差距 |
| 60–74 | 仅部分可见性 |
| < 60 | 证据不足;需要扩展分析 |
每周安装量
276
代码仓库
GitHub星标数
223
首次出现时间
2026年1月24日
安全审计
安装于
codex269
opencode269
cursor268
gemini-cli268
github-copilot265
amp263
Use this skill when the user needs permission analysis and access auditing : Permission Set / Permission Set Group hierarchy views, “who has access to X?” investigations, user-permission analysis, or permission-set metadata review.
Use sf-permissions when the work involves:
Delegate elsewhere when the user is:
Ask for or infer:
| Request shape | Default capability |
|---|---|
| “who has access to X?” | permission detector |
| “what does this user have?” | user analyzer |
| “show me the hierarchy” | hierarchy viewer |
| “export this permset” | exporter |
| “generate metadata from analysis” | generator or handoff |
Verify sf auth before running permission analysis.
Prefer focused analysis over broad org-wide scans unless the user explicitly wants a full audit.
Use:
Use:
When finishing, report in this order:
Suggested shape:
Permission analysis: <hierarchy / detect / user / export>
Scope: <org, user, permission target>
Findings: <permsets / groups / access level>
Source: <direct assignment or via group>
Next step: <export, generate metadata, or deploy changes>
| Need | Delegate to | Reason |
|---|---|---|
| generate or modify permission metadata | sf-metadata | metadata authoring |
| deploy permission changes | sf-deploy | rollout |
| identify Apex classes needing grants | sf-apex | implementation context |
| bulk user assignment analysis | sf-data | larger data operations |
| Score | Meaning |
|---|---|
| 90+ | strong permission analysis with clear access sourcing |
| 75–89 | useful audit with minor gaps |
| 60–74 | partial visibility only |
| < 60 | insufficient evidence; expand analysis |
Weekly Installs
276
Repository
GitHub Stars
223
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex269
opencode269
cursor268
gemini-cli268
github-copilot265
amp263
Azure 升级评估与自动化工具 - 轻松迁移 Functions 计划、托管层级和 SKU
68,100 周安装