← 返回列表
全部 Skill›开发 Development›report-to-pdf

report-to-pdf

作者 @asgeirtj · 语言 en
Create a polished PDF from an existing Data dashboard or report.
开发 Development包管理与发布需海外环境待翻译
最近源活动
—
检测 SKILL.md 语言
en
星标 ★
72,578
分支 Fork
0
安装选项
提示
指令
使用 AI 助手安装
将下面的提示复制到你正在使用的 AI 助手中。
下载完整 Skill 目录(含全部配套文件)。 下载压缩包 ↓
SKILL.md 原文预览

Report To PDF

Create a polished PDF from an existing Data dashboard or report.

Overall Instructions

  • Follow the shared Data instructions throughout this workflow.
  • When converting a Data report or dashboard to PDF, follow the Data App Contract for source preservation and export.

Dependencies

Apply the shared dependency resolution policy to the categories below.

  • Knowledge & Files: Source dashboards or reports, supporting artifacts, and requested styling references.

Workflow guidance

Use this skill only when the user explicitly asks for a PDF. Author through the canonical @pdf plugin.

Route

  • For an existing dashboard or report, use its verified local dist/index.html and reviewed src/data.json, or its exact published HTTPS .chatgpt.site or .chatgpt-team.site URL with reviewed snapshot and presentation state. Follow Reading a linked dashboard or report to preserve the linked view and requested scope, including all reader-visible tabs and sections for an entire-dashboard export.
  • Convert the existing app directly without creating an intermediate report or rebuilding it. If the user requested a new report and no source app exists yet, use $build-report once and reuse its verified HTML and evidence for every requested conversion.
  • Do not print an app shell, create a PDF-specific app runtime, or author from an unstructured chat summary.

Workflow

  1. Preflight capabilities. Confirm that the canonical PDF skill is available before conversion. If it is unavailable, explain the blocker and retain any verified source HTML.
  2. Resolve the existing app. For a local app, verify dist/index.html and use src/data.json. For a published app, verify the exact HTTPS .chatgpt.site or .chatgpt-team.site source URL, load the compiled app, and fetch its reviewed snapshot and saved presentation from the source origin's /api/snapshot and /api/presentation endpoints. Follow Published Site authentication before declaring a 401 blocked. Reject unreadable or unverified sources. Preserve the reviewed evidence, requested dashboard/report scope, and current filters, selections, and presentation. For local apps, if browser access or page tools are unavailable or fail, continue from the verified compiled HTML and reviewed data. Apply supported link parameters and any supplied or saved presentation, otherwise use the authored presentation. Include all reader-visible tabs and sections for an entire-dashboard export. Briefly note after export that browser-only edits may not be included.
  3. Author with the PDF plugin. Read and follow the canonical PDF skill completely. Preserve the title, narrative, charts, tables, metric definitions, caveats, freshness, source labels, and links. For chart figures from an open Data app, prefer list_data_app_cards({}) followed by get_data_app_card_image({ cardId, scale: 3 }) or get_data_app_card_images({ cardIds, scale: 3 }); follow Card images for slides and documents to discover tools, verify scope, and decode local PNGs without printing base64. If capture is unavailable or unsuitable, use the chart's vector output or reviewed-data rendering. Keep surrounding report text selectable and avoid duplicating titles already captured in a card. Omit interactive controls and internal runtime or local-path metadata.
  4. Render, inspect, and repair. Confirm page count and metadata, extract text when selectable text is expected, and inspect every page. Fix blank pages, clipping, overlap, broken tables, missing chart marks, unreadable glyphs, unresolved placeholders, and leaked app controls.
  5. Validate and deliver. Confirm the PDF is non-empty, opens cleanly, and contains the required claims, definitions, caveats, freshness, and provenance. Return the verified PDF and, when useful, the source report HTML.

Hard gates

  • The canonical PDF plugin was selected and available before conversion.
  • The existing app's verified local HTML and reviewed data, or its verified published app, snapshot, and presentation endpoints, were used directly as the conversion source.
  • Every page passes full-page visual inspection.
  • Required claims, definitions, caveats, freshness, and provenance survive conversion.
  • App-only controls and internal conversion metadata are absent.

If a hard gate fails, stop and report the failure.

评论
Aasgeirtj
asgeirtj
asgeirtj/system_prompts_leaks
查看 GitHub 仓库 查看作者的其他 Skill
来源信息
作者@asgeirtj
所属大类开发 Development / 包管理与发布
国内可用性需海外环境
最近源活动—
风险提示无
提示:风险标签为程序静态扫描结果,仅作提示,不代表安全认证。安装前请阅读 SKILL.md 及其引用的脚本、权限,自行判断是否可信。