intranet-page-lifecycle-review
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "intranet-page-lifecycle-review" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-8201a67311b34c0a1b9baefc1c2d03301358f19afe12078d039de98b1bff741b. Verify the upstream source and version against https://github.com/pnp/sharepoint-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Perform a read-only lifecycle audit of the site pages library on the current SharePoint site and produce a standalone HTML report covering stale pages, draft pages, never-published pages, changes that were unpublished, and checked-out pages. Use when users request actions such as “review intranet page lifecycle,” “find stale or unpublished pages,” or “create page lifecycle report.”
Introduction source: third_party · pnp · 0.0.1 Reference
SkillPi interpretation
- Tasks
- |-
- Audience
- 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 and outputs
- 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.
- Limits and differences
- 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.
- Testing
- Not tested
Browse files
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.nowor 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.htmlin the current location when suitable; otherwise save it in a location supported by the HTML output tool and return its link.
Steps
- 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.
- Learn and use only the required read and output tools. Typical tools are
lists.discover,lists.getSchema,lists.getItems,files.getVersions,context.now, andoutput.htmloroutput.htmlReport. - 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
fieldTextfor Person, Lookup, and other structured field values. - Don't guess internal column names or status encodings.
- 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.
- 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
Unknownand explain the limitation; don't invent a status.
- Determine checkout status from the observed checkout metadata. Report
Checked outonly when the metadata confirms it, and show the checked-out user when available. Otherwise reportNot checked outorUnknownas supported by the source. - 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.
- 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
- 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. - 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.
- Stale:
- 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. - 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.
- 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.
- 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.
- 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:
-
Header
- Report title
- Site name or URL
- Generated timestamp and timezone
- Stale threshold date
- A clear
Read-only reviewlabel
-
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
-
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
-
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.
Current listing version
0.0.1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决企业内联网页面生命周期管理的明确痛点
- 支持识别陈旧、草稿、未发布、已签出等多种状态
- 适用于高频内容治理和合规审计场景
Highlights
- 提供5个典型用户请求句式,覆盖常见使用场景
- 触发词边界清晰,避免与其他Skill重叠
Highlights
- 文档结构完整,步骤划分清晰(15步)
- 包含详细的输出格式和约束说明
- frontmatter完整,单文件长度适中
Highlights
- 工具来源明确,参数使用规范
- 严格只读操作,禁止任何页面变更
- 异常处理完善,数据不完整时明确报告
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.