Build a polished, self-contained single-page HTML report or briefing microsite - executive briefings, analysis reports, campaign/project one-pagers rendered for
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-web-report-95747887a53e ,按照其中的说明把「web-report」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Build a single, self-contained HTML file that presents an analysis or briefing at the quality of a published product page. Everything inline: one file, no local assets, no build step.
All user-visible text on the page MUST be written in the same language as
the task description you received. This skill's instructions are English,
but the deliverable follows the task's language. Set the lang attribute
on <html> accordingly.
If the modern-web-guidance skill is available in your skills directory,
consult it for current best-practice APIs (container queries, View
Transitions, Popover, etc.) while implementing. This skill owns the
STRUCTURE and DESIGN of the report; modern-web-guidance owns modern
platform techniques. Prefer progressive enhancement: the page must remain
fully readable if a modern API is unavailable.
.html file: all CSS in a single <style> block,
all JS in a single <script> block, data embedded as one
const DATA = {...} JSON literal.https://cdn.jsdelivr.net/npm/chart.js); everything else inline.:root and
html[data-theme="dark"], with a visible toggle. Drive EVERY color
through the custom properties - hardcoded colors break the other theme.header, main, nav, footer),
one h1, ordered heading levels, alt/aria labels on visuals, WCAG AA
contrast in BOTH themes, visible focus states.#FFFFFF, panel #F2F5FA, text #1F2733,
muted #66707F, primary #1A2B4A, accent #2E6FDB, warn #E8A33D,
positive #1E8E5A, negative #C6423F. Derive the dark theme by
swapping surfaces (#10151D background, #1A212C panel, #E8EDF4
text), keeping the same accent hues.clamp(). System font stack is fine.maintainAspectRatio: false; colors from the palette
via getComputedStyle; direct axis labels; no more than 5 series on
one chart; re-render charts on theme toggle so their colors follow.auto-fit, minmax().<script> body to a temp .js file (strip the DOM calls into a guard
or use node --check).python3 -c "import html.parser"-based or regex sanity pass: every
id referenced by getElementById exists; DATA parses as JSON
(extract and json.loads it).q3_briefing.html.curl -sS -X PUT --upload-file <file> -H "Content-Type: text/html; charset=utf-8" "<upload_url>"
Retry once on failure.