Agent Skills › win4r/MuseAI-Skills › artifact_presentation

artifact_presentation

GitHub

用于构建或修订幻灯片演示文稿(PPTX/PDF/HTML)。涵盖单页 HTML 编写、主题系统应用、字体嵌入、幻灯片组装及导出,确保内容规范与质量验证。

opt/hatch/skills/artifacts/presentation/SKILL.md win4r/MuseAI-Skills

Trigger Scenarios

需要制作或修改幻灯片演示文稿 任务产物为 Presentation 类型

Install

npx skills add win4r/MuseAI-Skills --skill artifact_presentation -g -y
More Options

Non-standard path

npx skills add https://github.com/win4r/MuseAI-Skills/tree/main/opt/hatch/skills/artifacts/presentation -g -y

Use without installing

npx skills use win4r/MuseAI-Skills@artifact_presentation

指定 Agent (Claude Code)

npx skills add win4r/MuseAI-Skills --skill artifact_presentation -a claude-code -g -y

安装 repo 全部 skill

npx skills add win4r/MuseAI-Skills --all -g -y

预览 repo 内 skill

npx skills add win4r/MuseAI-Skills --list

SKILL.md

Frontmatter
{
    "name": "artifact_presentation",
    "metadata": {
        "includeInPrompt": false
    },
    "description": "Build or revise a slide deck (pptx by default; pdf or html on request). Use whenever a build task's artifact kind is presentation, or the user asks for a deck, slides, or a presentation. Covers per-slide HTML authoring, the StylePlan theme system, font embedding, deck assembly, render gates, and the PPTX export."
}

Slide-deck artifacts

A deck is authored as one standalone HTML file per slide plus a shared deck.css and a deck.json manifest, assembled and gated deterministically, then exported. The per-slide sources under .src/slides/ are the editable truth for every future revision; slide ids never renumber.

Three rules hold on every slide, before any reference is read. Sentence case everywhere (including stat labels). Never use text-transform:uppercase or letter-spacing on any text. No slide furniture: pills, subtitles, summary lines, eyebrows, kickers, badges, chips, tags, and captions do not belong anywhere on a slide. The cover is the deck title over its hero image and nothing else.

Task Read first
New deck /opt/hatch/skills/artifacts/presentation/references/workflow.md plus the references it names
Edit an existing deck /opt/hatch/skills/artifacts/presentation/references/editing.md, plus the references it names
Design and layout /opt/hatch/skills/artifacts/presentation/references/visual.md
Theme generation or application /opt/hatch/skills/artifacts/presentation/references/theme.md
Slides that plot data /opt/hatch/skills/artifacts/references/charts.md (shared)

Scripts

Script What it does
/opt/hatch/bin/hatch-slide-style Compiles the StylePlan; a deck is never built on an invented substitute plan
/opt/hatch/skills/artifacts/scripts/embed_deck_fonts.mjs Subsets and embeds webfonts into deck.css; a font that will not download warns, never blocks
/opt/hatch/skills/artifacts/scripts/assemble_deck.mjs Validates slide files against the manifest, enforces CSS scoping, emits the combined document; non-zero exit is unshippable
/opt/hatch/skills/artifacts/scripts/render_audit.mjs (shared) Renders slides and runs the deck gates; workflow.md names the flags
/opt/hatch/skills/artifacts/scripts/build_pptx.py Exports the validated PNGs as the PPTX and carries each slide's title into its speaker notes as best-effort accessibility text; the daemon-side rebuild path preserves those notes after UI edits

Verification

Follow /opt/hatch/skills/artifacts/testing/SKILL.md: run the gates, then read every slide PNG fresh before returning a link.

Version History

  • 38bbb45 Current 2026-10-18 15:46

Same Skill Collection

opt/hatch/skills/apple-healthkit/SKILL.md
opt/hatch/skills/artifacts/markdown/SKILL.md
opt/hatch/skills/artifacts/pdf/SKILL.md
opt/hatch/skills/artifacts/spreadsheet/SKILL.md
opt/hatch/skills/artifacts/testing/SKILL.md
opt/hatch/skills/booking/SKILL.md
opt/hatch/skills/calendly/SKILL.md
opt/hatch/skills/device-data/SKILL.md
opt/hatch/skills/duffel/SKILL.md
opt/hatch/skills/facebook-cli/SKILL.md
opt/hatch/skills/facebook/SKILL.md
opt/hatch/skills/flightaware/SKILL.md
opt/hatch/skills/forget/SKILL.md
opt/hatch/skills/function-health/SKILL.md
opt/hatch/skills/generate_podcast/SKILL.md
opt/hatch/skills/gmail/SKILL.md
opt/hatch/skills/goals/SKILL.md
opt/hatch/skills/google-calendar/SKILL.md
opt/hatch/skills/google-contacts/SKILL.md
opt/hatch/skills/google-drive/SKILL.md
opt/hatch/skills/google-forms/SKILL.md
opt/hatch/skills/google-health-connect/SKILL.md
opt/hatch/skills/google-slides/SKILL.md
opt/hatch/skills/google-tasks/SKILL.md
opt/hatch/skills/granola/SKILL.md
opt/hatch/skills/healthex/SKILL.md
opt/hatch/skills/image-search/SKILL.md
opt/hatch/skills/instagram-messages/SKILL.md
opt/hatch/skills/instagram/SKILL.md
opt/hatch/skills/media-library/SKILL.md
opt/hatch/skills/messenger/SKILL.md
opt/hatch/skills/meta-threads/SKILL.md
opt/hatch/skills/muse_db/SKILL.md
opt/hatch/skills/muse-early-access/SKILL.md
opt/hatch/skills/muse-feedback/SKILL.md
opt/hatch/skills/muse-mail/SKILL.md
opt/hatch/skills/notion/SKILL.md
opt/hatch/skills/opentable/SKILL.md
opt/hatch/skills/outlook-calendar/SKILL.md
opt/hatch/skills/outlook-contacts/SKILL.md
opt/hatch/skills/outlook-mail/SKILL.md
opt/hatch/skills/peloton/SKILL.md
opt/hatch/skills/philips-hue/SKILL.md
opt/hatch/skills/places-search/SKILL.md
opt/hatch/skills/plaid/SKILL.md
opt/hatch/skills/podcast/SKILL.md
opt/hatch/skills/printify/SKILL.md
opt/hatch/skills/self-awareness/SKILL.md
opt/hatch/skills/share-ideas/SKILL.md

Metadata

Files
0
Version
38bbb45
Hash
196f0625
Indexed
2026-10-18 15:46

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-19 11:09
浙ICP备14020137号-1