intranet-page-lifecycle-review

对当前 SharePoint 网站的“网站页面”库执行只读的页面生命周期审计,并生成独立的 HTML 报告,涵盖陈旧页面、草稿页面、从未发布的页面、已取消发布的更改页面以及已签出的页面。使用场景示例:用户请求“审查内联网页面生命周期”、“查找陈旧或未发布的页面”或“创建页面生命周期报告”时。

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

安装方式

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

用 AI 助手安装

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

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

来源与配置

github.com

配置方式待核实

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

安装实测待补充

对当前 SharePoint 网站的“网站页面”库执行只读的页面生命周期审计,并生成独立的 HTML 报告,涵盖陈旧页面、草稿页面、从未发布的页面、已取消发布的更改页面以及已签出的页面。使用场景示例:用户请求“审查内联网页面生命周期”、“查找陈旧或未发布的页面”或“创建页面生命周期报告”时。

0 下载

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

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
翻译待完成,请参阅来源文档。
输入和输出
翻译待完成,请参阅来源文档。
限制与区别
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: intranet-page-lifecycle-review
description: |-
  Run a read-only lifecycle audit of the current SharePoint site's Site Pages library and create a self-contained HTML report covering stale, draft, never-published, unpublished-change, and checked-out pages.

  Use when the user says:
    - "Review the intranet page lifecycle"
    - "Find stale or unpublished pages"
    - "Audit Site Pages"
    - "Create a page lifecycle report"
    - "Show checked-out pages and drafts"

Intranet Page Lifecycle Review

When to use

Use this skill to audit the current SharePoint site's Site Pages library for page lifecycle findings and produce a self-contained HTML report. The review is strictly read-only with respect to pages and library items.

Trigger for requests to review, audit, or report on stale pages, drafts, never-published pages, pages with unpublished changes, or checked-out pages.

Inputs

  • Current SharePoint site from live site context.
  • Current date and site timezone from context.now or the equivalent authoritative date/time tool.
  • Optional user-supplied inactivity period. Default to 6 calendar months.
  • Optional report name or destination. Default to Intranet Page Lifecycle Review.html in the current location when suitable; otherwise save it in a location supported by the HTML output tool and return its link.

Steps

  1. Carry the live current-site context into every workflow. Discover the current site's lists and libraries and identify the Site Pages library from its observed title, URL, and library/template metadata. Don't assume a list ID or rebuild a library URL.
  2. Learn and use only the required read and output tools. Typical tools are lists.discover, lists.getSchema, lists.getItems, files.getVersions, context.now, and output.html or output.htmlReport.
  3. Perform reconnaissance before creating the report:
    • Read the Site Pages schema and a representative sample.
    • Map the actual internal columns for page title/name, file reference or URL, Created, Author, Modified, Editor, moderation/publishing state, version, checkout state, and checkout user.
    • Use fieldText for Person, Lookup, and other structured field values.
    • Don't guess internal column names or status encodings.
  4. Enumerate the full Site Pages library with pagination or an adequate row limit. Include page files and exclude folders and non-page support items. Preserve the page URL returned by SharePoint rather than fabricating one.
  5. Read version history when needed to distinguish publication states. Determine state from observed metadata and version evidence:
    • Draft status: the current page metadata explicitly identifies it as Draft.
    • Never been published: version history contains no published major version. Don't infer this from age or title.
    • Published with unpublished changes: version history contains at least one published major version, while the current page is a later draft/minor version or metadata explicitly reports unpublished changes.
    • Published: the current version is published and has no later unpublished changes.
    • If version evidence is unavailable or ambiguous, label the publishing status Unknown and explain the limitation; don't invent a status.
  6. Determine checkout status from the observed checkout metadata. Report Checked out only when the metadata confirms it, and show the checked-out user when available. Otherwise report Not checked out or Unknown as supported by the source.
  7. Calculate the stale threshold as the date exactly six calendar months before the authoritative current date, respecting the site timezone. Flag pages whose Modified timestamp is strictly earlier than that threshold. State the concrete threshold date in the report.
  8. Include a page when it has at least one of these findings:
    • Not modified within the last six months
    • Draft status
    • Never published
    • Published with unpublished changes
    • Currently checked out
  9. Findings can overlap. For each page, combine every applicable reason in Finding reason; don't duplicate the page into separate rows. Compute summary totals for unique pages reviewed, unique pages with findings, and each finding category independently.
  10. Recommend a non-destructive follow-up based on the evidence:
    • Stale: Confirm ownership and relevance; consider updating or starting the approved archival process.
    • Draft: Ask the owner to review and either publish through the approved process or continue editing.
    • Never published: Confirm whether the page is still needed; ask the owner to complete review or follow the approved removal process.
    • Unpublished changes: Ask the editor to review the pending changes and publish through the approved process if ready.
    • Checked out: Contact the checked-out user to complete or release the checkout through the approved process. Combine applicable recommendations without claiming any action was taken.
  11. Sort findings first by publishing status using a stable, documented order (Never published, Draft, Published with unpublished changes, Published, Unknown), then by Modified date ascending so the oldest page appears first within each status. Use title as a final tie-breaker.
  12. Split inspection and output into separate workflows when required: the first workflow reads and returns schema/sample/evidence; the second creates the report from inspected data. Perform all reads before the output write.
  13. Generate one self-contained HTML report with embedded CSS and no external runtime dependencies. Escape all source text before placing it in HTML. Make page URLs clickable.
  14. Return a concise completion message with the report link, the number of pages reviewed, the number with findings, the concrete stale threshold, and category totals.
  15. If a read or version-history call fails or returns incomplete data, say so in the report and completion message. Don't fabricate values or silently classify uncertain pages.

Output format

Create a self-contained HTML document containing:

  1. Header

    • Report title
    • Site name or URL
    • Generated timestamp and timezone
    • Stale threshold date
    • A clear Read-only review label
  2. Summary cards

    • Pages reviewed
    • Pages with one or more findings
    • Stale pages
    • Draft pages
    • Never-published pages
    • Published pages with unpublished changes
    • Checked-out pages
    • Unknown/incomplete classifications, when any
  3. Findings table with exactly these user-facing columns:

    • Page title
    • Page URL
    • Created date and created by
    • Modified date and modified by
    • Publishing status
    • Checked-out status and checked out by
    • Finding reason
    • Recommended action
  4. Method and limitations

    • Classification rules used
    • Concrete six-month threshold
    • Note that totals can overlap
    • Any missing fields, unreadable version histories, or ambiguous statuses
    • Statement that the skill made no page or library-item changes

Use ISO-style unambiguous dates with local timezone where possible. Show Not available for missing display values rather than leaving cells blank.

Constraints

  • Never edit, publish, unpublish, check in, check out, discard changes, move, copy, rename, archive, delete, restore, approve, reject, or change metadata on a page.
  • Never change library settings, versioning, approvals, permissions, navigation, or views.
  • The only permitted write is creation of the requested HTML report.
  • Don't ask for confirmation to perform page changes because page changes are forbidden by this skill.
  • Ground every finding in current Site Pages metadata and, where required, version history.

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

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

场景价值92/100

亮点

  • 解决企业内联网页面生命周期管理的明确痛点
  • 支持识别陈旧、草稿、未发布、已签出等多种状态
  • 适用于高频内容治理和合规审计场景
触发精准88/100

亮点

  • 提供5个典型用户请求句式,覆盖常见使用场景
  • 触发词边界清晰,避免与其他Skill重叠
结构规范90/100

亮点

  • 文档结构完整,步骤划分清晰(15步)
  • 包含详细的输出格式和约束说明
  • frontmatter完整,单文件长度适中
执行可靠90/100

亮点

  • 工具来源明确,参数使用规范
  • 严格只读操作,禁止任何页面变更
  • 异常处理完善,数据不完整时明确报告
证据可验 (前四项均值)90/100

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

正文静态检测

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

正文未命中当前规则。

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

权限与使用前检查

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

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

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

安全评级与访问范围

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

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