SkillsGrove
SkillsGrove/Documentos de escritório/icgma/slide-skill/slide-skill

slide-skill

Instalação

$npx skills add https://github.com/icgma/slide-skill --skill slide-skill
$git clone --depth 1 https://github.com/icgma/slide-skill.git /tmp/slide-skill && mkdir -p ~/.claude/skills && cp -r /tmp/slide-skill/. ~/.claude/skills/slide-skill
Por favor, instale esta Agent Skill para mim: https://github.com/icgma/slide-skill/tree/bf5c64265f4a9c6bc18f2274cf5520d7c8a6169d/. Leia primeiro o SKILL.md e os scripts, e só a instale na minha pasta de skills depois de confirmar que é segura.

Resumo

Descrição original · MITConvert any source material into a polished, fully-editable PowerPoint (.pptx). Use whenever the user asks for slides, a deck, a presentation, or "做一份 PPT". IMPORTANT — this is a ROUTED skill. Assess the user's scenario first, then follow exactly ONE workflow doc — defense-fill (校方模板), competition (比赛路演), course (课程汇报), fast (deadline 快速出片), or free-design (host agent hand-writes SVG).
O SKILL.md abaixo é reproduzido de icgma/slide-skill (commit bf5c642) sob a licença MIT. O texto não foi alterado; apenas os metadados do cabeçalho do arquivo foram omitidos, as imagens são exibidas como links e arquivos muito longos são truncados. Copyright 2026 slide-skill contributors. Licença: LICENSE. Apenas o arquivo de instruções é exibido; consulte o repositório original para ver os scripts.

slide-skill — AI Agent Skill (v5.1.0)

An SVG-first pipeline that turns prose into .pptx whose every shape, text run, and gradient is natively editable. 32 built-in themes, full CJK support, school template fill, competition packs, and automated QA gates. This entry file owns scenario routing only — each route's procedure lives in its own workflow doc.


Global Execution Discipline (applies to every route)

  1. Assess before generating. Understand the scenario, audience, time budget, and source quality BEFORE touching any command. Never run a generator blindly on raw input — garbage in, garbage out has been proven repeatedly.
  2. Serial steps. Execute pipeline stages in order. Never skip a QA gate, never run stages speculatively out of order.
  3. Closed world. Slide text comes ONLY from the user's source material or an agreed plan. Never invent facts, numbers, or claims absent from the source.
  4. QA gates are mandatory. A deck is done when the QA report passes — not when an export command exits 0.
  5. Match the user's language. Chinese request → Chinese deck and replies.

Routing Table

Resolve the user's request to EXACTLY ONE route. Open that route's workflow doc and follow it end to end. When two routes seem to match, ask one clarifying question instead of guessing.

Route Triggers (中 / EN) Workflow doc Output contract
defense-fill "学校模板 / 答辩模板 / 开题 / 中期 / 按模板填" + user HAS a .pptx template workflows/defense-fill.md Template pages untouched, content filled in, FILL-REPORT clean
competition "互联网+ / 挑战杯 / 数模 / 数学建模 / 大创 / 比赛路演 / roadshow pitch" workflows/competition.md Deck follows the competition's section budget + judge tips, with speaker notes and timing
course "课程汇报 / 作业展示 / 教学课件 / 上课用 / course presentation / teaching slides" workflows/course.md Academic-clean deck matching classroom density rules
fast "今晚就要 / deadline / 快点 / 越快越好 / no API key available" workflows/fast.md Presentable deck in seconds via the deterministic renderer
free-design "自由设计 / 高质量定制 / 精心设计 / design it yourself / make it beautiful" workflows/agent-authoring.md Host agent hand-writes every SVG page under per-page discipline; highest visual ceiling

RECOMMENDED route: when the driving model is capable and time permits, prefer free-design (workflows/agent-authoring.md). You — the host agent — author every page yourself. That is what this toolkit is built for: the harness handles conversion and QA; the model designs.


Fallback: no capable host agent

If the driving model cannot hand-author SVG (or the user wants zero involvement):

  • Built-in AI executor — slide-skill quickstart <md> --mode ai with OPENAI_API_KEY + OPENAI_BASE_URL configured. The toolkit's own planner/executor/visual-critic chain generates the deck.
  • Fast mode — slide-skill quickstart <md> --mode fast. Deterministic, no key, seconds. See workflows/fast.md.

Scenario Identification Cheat Sheet

Ask when unclear: "这份 PPT 用于什么场景?有学校模板吗?什么时候要?"

  • User has a mandated school .pptx → defense-fill (redesigning it is a failure mode)
  • Named competition (互联网+/挑战杯/数模/大创) → competition
  • Classroom / homework / teaching → course
  • Urgent, or no API key and no capable agent → fast
  • "Make it beautiful", flexible timeline, capable model → free-design

Setup

git clone https://github.com/icgma/slide-skill.git
cd slide-skill
pip install -e .

slide-skill --help    # verify
slide-skill themes    # list all 32 themes

Bottom line: You are NOT a command proxy. You are a presentation consultant with a rendering harness. Route first, follow the workflow doc exactly, let the QA gates arbitrate. The tool converts and verifies; YOU design.

Ver o texto completo da licença (MIT)
MIT License

Copyright (c) 2026 slide-skill contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Ver NOTICE
# Notices

This repository is an independent implementation of an agent-facing slide/PPTX skill.

## External References

- Anthropic `skills/pptx` was used as a behavioral reference only. Its skill files are proprietary and must not be copied into this repository.
- `hugohe3/ppt-master` was studied as an MIT-licensed architectural reference for SVG-first native PPTX generation. Do not copy source code from that repository unless the copied file keeps the MIT license notice and attribution.

## Clean-Room Rule

When implementing features inspired by external projects, write local code and prose from the project requirements and observed behavior. If direct code reuse is ever chosen, document it in the commit message and preserve license obligations.