permission-report

创建一个只读的权限与共享访问审查报告,保存为独立的 HTML 文件并存储到 SharePoint。适用场景示例:用户询问“谁有访问权限”、“权限报告”或“创建权限报告”时。

仓库最近推送
GitHub Stars
169
Forks
67
Issues / PRs
3

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "permission-report":https://skillpi.com/zh/skills/deepskill-d1616bc4a8f33f52faec41505821488e903aec8193d2e9815a639ac448910add。安装前核对上游来源和版本:https://github.com/pnp/sharepoint-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

创建一个只读的权限与共享访问审查报告,保存为独立的 HTML 文件并存储到 SharePoint。适用场景示例:用户询问“谁有访问权限”、“权限报告”或“创建权限报告”时。

0 下载

介绍来源: third_party · pnp · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
翻译待完成,请参阅来源文档。
输入和输出
翻译待完成,请参阅来源文档。
软件、账号及付费要求
翻译待完成,请参阅来源文档。
限制与区别
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: permission-report
description: |-
  Create a read-only permission and sharing access review report as a self-contained HTML file saved to SharePoint.

  Use when the user says:
    - "who has access"
    - "permission report"
    - "sharing report"
    - "access review"
    - "review permissions"
    - "create a Permission Report"

Permission Report

When to use

Use this skill when the user wants a read-only review of who has access to SharePoint files, folders, libraries, lists, or a site, especially requests such as “who has access,” “permission report,” “sharing report,” “access review,” or “review permissions.”

Inputs

Use the current SharePoint context by default. Determine the reporting scope from the user’s request and available context:

  • Selected files or folders, if the user has selected items or says “these/this.”
  • A named library or list, if the user names one.
  • The whole current site, if no narrower scope is provided.

Only report content and permission details the current user can already see. Never invent access data.

Steps

  1. Stay strictly read-only on permissions.

    • Never grant, revoke, change, break, restore, or otherwise modify sharing or permissions.
    • Do not create sharing links or invite users.
    • Use only discovery, listing, permission-checking, and file-creation tools needed to produce the report.
  2. Resolve the scope.

    • If items are selected, report on those selected files or folders.
    • If a list or library is named, resolve it from the current site and report on that list/library and representative or included items as supported by available permission tools.
    • If no narrower scope is clear, report across accessible user-created lists and libraries on the current site.
    • If a scope cannot be resolved, state that plainly in the report and do not guess.
  3. Collect access information. For each scoped site/list/library/file/folder where available, read:

    • Who has access: users, groups, sharing principals, and links.
    • Permission level: normalize to Full Control, Edit, Read, or Other/Unknown.
    • Whether access is inherited or uniquely set.
    • Any sharing links, especially Anyone links.
    • External or guest users. If a tool fails or returns partial/empty permission data, record that limitation plainly; do not fill gaps from assumptions.
  4. Flag risks. Mark rows and findings for:

    • Anyone links.
    • External or guest access.
    • Broad groups such as Everyone, Everyone except external users, All users, or similar tenant-wide groups.
    • Broken inheritance / unique permissions.
    • Individual users with Full Control.
  5. Draft a single self-contained HTML report.

    • No scripts.
    • No external CSS, fonts, images, or resources.
    • Use inline CSS only.
    • Include a summary band with totals such as scoped objects reviewed, principals found, Full Control/Edit/Read counts, external/guest count, sharing link count, and flagged risk count.
    • Include a color-coded access table: red for Full Control/high risk, amber for Edit or caution, green for Read/low risk, gray for unknown. Highlight flagged rows.
    • Include a plain-English findings list explaining the main risks and safe observations.
    • Include a limitations section if permission details were unavailable or partial.
  6. Save the report.

    • Save the HTML file in an Access Reports folder in an appropriate document library on the current site.
    • If the folder does not exist, create only that report folder and only if needed for saving the report.
    • Use a clear filename such as Permission-Report-YYYY-MM-DD-HHMM.html.
  7. Respond to the user.

    • Provide the report link.
    • Give a short summary of the highest-risk findings.
    • Do not claim permissions were changed.

Output format

After saving the report, respond:

# Permission report created

[Open the report](<link>)

- Scope: <selected items, named list/library, or whole site>
- Reviewed: <count or brief description>
- Key findings: <1 concise sentence with highest-risk issues, or “No high-risk access was found in the data available.”>

HTML report requirements

The saved file must be a complete HTML document:

<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <title>Permission Report</title>
  <style>
    /* inline CSS only */
  </style>
</head>
<body>
  <h1>Permission Report</h1>
  <section><!-- summary band --></section>
  <section><!-- findings --></section>
  <section><!-- access table --></section>
  <section><!-- limitations, if any --></section>
</body>
</html>

Constraints

  • Strictly read-only for permissions and sharing.
  • Never grant, revoke, share, unshare, create sharing links, or change inheritance.
  • Never invent users, groups, permission levels, links, or inheritance status.
  • If access data is unavailable, say so plainly in the report.
  • HTML must be self-contained and must not include scripts or external resources.

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值92/100

亮点

  • 解决企业用户高频刚需的SharePoint权限审计场景
  • 提供端到端权限报告生成与存储解决方案
  • 直接对应"谁有访问权限"等明确用户请求
触发精准95/100

亮点

  • 触发词覆盖6种常见变体,边界清晰
  • 精准匹配权限审查相关用户请求
结构规范95/100

待提升项

  • 缺少When to Use章节 原报告严重程度:轻微

    文档结构完整但缺少显式的When to Use章节标题

    改进建议:建议在文档开头添加显式的When to Use章节

执行可靠90/100

待提升项

  • 缺少错误处理细节 原报告严重程度:轻微

    虽然提到了权限数据不可用的情况,但缺少具体的错误处理机制说明

    改进建议:建议补充具体的错误处理策略和用户反馈机制

证据可验 (前四项均值)93/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

翻译待完成,请参阅来源文档。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。