site-pages-content-calendar
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "site-pages-content-calendar":https://skillpi.com/zh/skills/deepskill-f986665277f33bab741aeb93e6978225dbde8cab86fa270e13f7d55cbdc1a23b。安装前核对上游来源和版本:https://github.com/pnp/sharepoint-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
根据 SharePoint 站点页面库中的真实页面元数据和安全的状态分类,构建一个全尺寸、可交互且视觉丰富的 HTML 内容日历。适用于用户请求“为站点页面创建交互式内容日历”、“构建站点页面日历仪表板”、“制作 SharePoint 页面发布日历”、在日历中显示草稿/已发布/已计划页面,或生成用于页面状态和发布日期的 HTML 仪表板等场景。
介绍来源: third_party · pnp · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 适合谁
- 翻译待完成,请参阅来源文档。
- 输入和输出
- 翻译待完成,请参阅来源文档。
- 限制与区别
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: site-pages-content-calendar
description: |-
Build a full-size, interactive, visually rich HTML content calendar from a SharePoint Site Pages library, using real page metadata and safe status classification.
Use when the user says:
- "create an interactive content calendar for site pages"
- "build a site pages calendar dashboard"
- "make a SharePoint page publishing calendar"
- "show drafts, published, and scheduled pages in a calendar"
- "generate an HTML dashboard for page status and publish dates"Build Site Pages Content Calendar
When to use
Use this skill when the user wants an interactive HTML calendar/dashboard for SharePoint Site Pages, especially with page names, published/draft/scheduled status, dates, and click-through detail views. The generated calendar should be full-size by default, using the available browser viewport and content area instead of a small embedded or fixed-height calendar.
Inputs
- Current SharePoint site URL.
- Site Pages library/list ID if available from context. If not available, discover or resolve it before querying.
- Optional user preferences for destination file name, folder, colors, or layout.
Steps
- Inspect the Site Pages schema with
get_list_schema.- Include hidden and read-only fields so status fields are visible.
- Confirm internal names for:
FileLeafRef,FileRef,Title,Created,Modified,FirstPublishedDate,_PublishStartDate,_ScheduledVersion,_ModerationStatus,_UIVersionString,_Level,Author,Editor,PageLayoutType,Description, andFile_x0020_Type.
- List the Site Pages items with
list_items.- Use
rowLimitlarge enough for the whole library. - Use
viewFieldswith the verified internal names. - Filter to actual pages where possible:
File_x0020_Type = aspx. - If
hasMoreis true, process the returneddataRef, not the inline preview.
- Use
- Classify status without guessing.
- Scheduled: only when
_ScheduledVersionis non-empty or_ModerationStatusexplicitly contains “Scheduled”. - Do not classify pages as scheduled just because
_PublishStartDateexists; it can be defaulted/populated without a scheduled page. - Draft:
_ModerationStatuscontains “Draft” or item URL indicates draft. - Published:
_ModerationStatuscontains “Approved/Published” or item URL indicates published. - Unknown: no reliable status signal returned.
- Scheduled: only when
- Choose calendar placement date.
- Scheduled pages:
_PublishStartDateif available; otherwise Created with a label saying scheduled date unavailable. - Published pages:
FirstPublishedDateif available; otherwise Created with a label saying published date unavailable. - Draft pages: Created date, labeled as draft placement.
- Never invent missing dates; display “Not available” where absent.
- Scheduled pages:
- Render the calendar at full size.
- Make the main calendar fill the available page width and height, using responsive layout such as
min-height: 100vh, flexible columns/rows, and no narrow fixed-width wrapper around the calendar. - Use a full-width dashboard shell and let the calendar grid expand to the browser viewport.
- Avoid small embedded previews, constrained cards, or fixed-height containers that make the calendar look miniaturized.
- Make the main calendar fill the available page width and height, using responsive layout such as
- Show page titles directly in calendar cells.
- Each date cell must make the page title visible for pages on that date, using
Titlewhen present and falling back toFileLeafRef/file name. - Keep titles compact with truncation, wrapping, or a visible “+N more” affordance if the cell has many pages.
- Do not hide all titles behind counts only; counts may supplement titles but must not replace them.
- Each date cell must make the page title visible for pages on that date, using
- Open a true right-side overlay drawer when a page title is clicked.
- Clicking a visible page title in the calendar cell must open a fixed-position drawer that slides in from the right side of the browser viewport.
- Implement the drawer with CSS such as
position: fixed; top: 0; right: 0; height: 100vh; z-index: ...; transform: translateX(...), plus an overlay/backdrop and close button. - Do not render details below the calendar, below the selected date, or as an inline panel that appears after the calendar.
- The drawer should overlay the page or sit above the calendar without causing the calendar to collapse into a compact widget.
- The drawer should show all available metadata for the clicked page, including title, file name, source link, status, source status field, placement logic, created/modified dates, first published date, publish start date, scheduled version, moderation status, version, level, author, editor, page layout, and description.
- Include a clear source page link that opens the page.
- Avoid congested calendar cells.
- Show visible titles while keeping cells readable.
- Provide compact status counts and a “+N more” affordance when useful.
- Include month previous/next buttons and status filters.
- Generate the HTML using
execute_codewithoutputDataRef: true.- Keep all CSS and JavaScript inline.
- Do not reference external scripts, fonts, or images.
- Save the dashboard with
create_fileas.htmlusingcontentDataRef; omitcontentDataPathfor raw HTML output fromexecute_code.
Output format
Reply with:
- A markdown link to the created HTML dashboard.
- A short note summarizing the status logic, especially that scheduled pages only use
_ScheduledVersionor explicit scheduled status. - A short note that the calendar is rendered full-size to use the available page/viewport area.
- A short note that page titles are visible on the calendar and clicking a title opens a true right-side overlay drawer.
- If any status/date fields are missing, say what was unavailable instead of filling gaps.
Constraints
- Don’t hallucinate status, dates, page names, or URLs.
- Don’t treat
_PublishStartDatealone as proof of a scheduled page. - Don’t use the inline preview for final counts if a
dataRefis available. - Don’t constrain the calendar to a small fixed-size widget unless the user explicitly asks for an embedded compact view.
- Don’t make page details accessible only through hover.
- Don’t place details below the calendar; clicking a visible title must open a right-side overlay drawer.
- If tool calls fail or return empty data, say so plainly and don’t invent content.
当前收录版本
0.0.1
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 针对 SharePoint 站点页面构建交互式内容日历,解决用户在内容管理中对页面状态、发布日期可视化的实际需求
- 属于明确场景的通用工具,具有广泛受众的实用能力
亮点
- 触发词覆盖多种变体(如“交互式内容日历”、“日历仪表板”、“发布日历”等),边界清晰
- 描述完整,无歧义或边缘场景缺失
亮点
- Phase/步骤清晰(10个步骤),有出口条件,含端到端示例
- frontmatter完整,单文件未超限,结构规范
亮点
- 工具来源明确(SharePoint API 相关),参数正确
- 覆盖主要异常(如字段缺失、dataRef处理、状态分类逻辑),不可逆操作有确认机制
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。