Token导航 LogoToken导航TokenDH.com
前端设计操作浏览器github未标认证来源可访问许可证需确认审计提醒

marp-slides马尔普幻灯片

Agent Skill

marp-slides 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

605

周安装

26

GitHub Stars

216

下载量

212
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:marp-slides(马尔普幻灯片)
来源仓库:https://github.com/mathews-tom/armory
仓库路径:skills/marp-slides
安装命令:
npx skills add https://github.com/mathews-tom/armory --skill marp-slides
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/mathews-tom/armory --skill marp-slides

简介

marp-slides 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合围绕仓库状态、代码变更或协作事项进行整理。
  • 适用于 Codex、Claude、Cursor、Gemini CLI 中的开发协作场景。
  • 通过 npx 安装,需确认权限范围和维护状态,注意可能触发文件读写操作。
  • 建议结合来源仓库和原始 README 核验具体用法,避免误操作生产环境代码。

SKILL.md

MARP Slides Skill

Author slide decks as plain Markdown using the MARP ecosystem (Marpit + Marp Core + marp-cli) and export to PDF, PowerPoint, or self-contained HTML. Decks are single .md files, git-friendly, and themable with plain CSS.

When This Skill Triggers

  • User asks for a MARP deck by name
  • User wants "markdown slides" or "slides from markdown"
  • User wants a .md file they can commit to git and regenerate deterministically
  • User mentions marp-cli, Marpit directives, or asks to theme slides with CSS
  • User wants CLI-exportable PDF or PPTX sourced from a text document

When NOT to Use This Skill

User wantsUse instead
Reveal.js / browser-native HTML presentation with scroll navhtml-presentation
Edit a binary .pptx with native PowerPoint features (animations, transitions set in PowerPoint)document-skills:pptx
Static poster or single-page visualconcept-to-image
Animated explainer videoconcept-to-video

Step 0: Gather Requirements

Before generating anything, confirm in a single message. Use defaults silently for anything the user declines to specify — never ask twice.

ParameterOptionsDefault
Export targetpdf, pptx, html, allpdf
Themedark-dashboard, light-editorial, or MARP built-in (default, gaia, uncover)dark-dashboard
Aspect ratio16:9, 4:316:9
Slide countinteger or autoauto
Visual densityminimal (text-first), standard (mixed), dashboard (charts + metric cards)standard
Brandinglogo path, accent color hexnone

Step 1: Load References On-Demand

Do NOT read all reference files up front. Based on user intent, load only what is needed. This keeps the skill within armory's token-efficiency budget.

User intentLoad
Any deck (always required)references/DIRECTIVES.md — Marpit directives, frontmatter schema, image syntax
Custom theme or CSS stylingreferences/THEMES.mddark-dashboard and light-editorial starter CSS
Charts, dashboards, metric cards, SVG visualsreferences/COMPONENTS.md — SVG chart recipes, cards, status tags, icons
Export to PDF/PPTX/HTML or imagereferences/EXPORT.md — marp-cli flags, Chrome dependency, --html flag
User wants a concrete example to matchreferences/examples/ — 3 curated decks: dashboard.md, editorial.md, technical.md

Step 2: Compose the Deck

  1. Start with frontmatter. Every deck begins with a YAML front-matter block setting theme, paginate, header, footer, and optionally global style. See DIRECTIVES.md for the full schema.
  2. Split slides with ---. A horizontal rule on its own line creates a new slide. Frontmatter must come before the first slide break.
  3. First slide = title. Use <!-- _class: lead --> to center the title slide, and <!-- _paginate: skip --> to hide it from the page count.
  4. Middle slides = content. Prefer one idea per slide. If density is dashboard, use metric cards and SVG charts from COMPONENTS.md. If density is minimal, use large headings and whitespace.
  5. Last slide = summary/CTA. Mirror the lead class on the closing slide for visual symmetry.
  6. Background images use extended syntax: ![bg](url), ![bg left:40%](url), ![bg brightness:0.3 blur:2px](url). Multiple ![bg] tags on one slide arrange horizontally; add vertical for a column layout.

Step 3: Verify Before Handoff

  • Frontmatter block present and valid YAML
  • theme: matches a known name (built-in or custom in the file's global style: block)
  • Every slide break is --- on its own line with blank lines around it
  • Relative image paths only (MARP's --allow-local-files requires this for PDF export)
  • If using raw HTML (SVG, custom divs), confirm the export command uses --html
  • Run the export command once locally to confirm no directive warnings

Step 4: Export

See references/EXPORT.md for the full command reference. Minimal invocation:

npx @marp-team/marp-cli@latest slides.md --pdf --allow-local-files --html

This skill wraps the MIT-licensed MARP ecosystem. See root ATTRIBUTIONS.md for upstream credits.

Design Rules

  1. One idea per slide. MARP clips overflow silently — there is no warning for content that runs off the bottom.
  2. Paginate: skip on title and divider slides. paginate: hold on appendix slides.
  3. Relative paths only for images. Absolute paths break in VS Code preview and PDF export.
  4. --html is required for any SVG, <div>, <details>, or inline styling. Without it, MARP escapes HTML tags to text.
  5. Cap lists at 6 rows on content slides. Use details collapsibles or a second slide for more.
  6. Headings carry meaning: h1 for slide title, h2 for subtitle, h3 for uppercase section labels. Consistent hierarchy = consistent visual rhythm.
  7. Never hardcode theme CSS into every slide. Define it once in the global <!-- style: | --> directive or a separate .css file loaded via theme:.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.54%
按下载量换算80

Claude

28.08%
按下载量换算60

Cursor

17.01%
按下载量换算36

Gemini CLI

9.13%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills