SkillsGrove
SkillsGrove/Documentos de escritório/aws-samples/sample-spec-driven-presentation-maker/spec-driven-presentation-maker

spec-driven-presentation-maker

Instalação

$npx skills add https://github.com/aws-samples/sample-spec-driven-presentation-maker --skill spec-driven-presentation-maker
$git clone --depth 1 https://github.com/aws-samples/sample-spec-driven-presentation-maker.git /tmp/sample-spec-driven-presentation-maker && mkdir -p ~/.claude/skills && cp -r /tmp/sample-spec-driven-presentation-maker/sdpm ~/.claude/skills/spec-driven-presentation-maker
Por favor, instale esta Agent Skill para mim: https://github.com/aws-samples/sample-spec-driven-presentation-maker/tree/c3729424259e9654cddfd7b67f5c038c232d3175/sdpm. 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 · MIT-0Generate PowerPoint presentations from JSON. Use when user wants to create slides, proposals, or presentation materials.
O SKILL.md abaixo é reproduzido de aws-samples/sample-spec-driven-presentation-maker (commit c372942) sob a licença MIT-0. 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 Amazon.com, Inc. or its affiliates. All Rights Reserved.. Licença: LICENSE. Apenas o arquivo de instruções é exibido; consulte o repositório original para ver os scripts.

PPTX Maker

Generate PowerPoint from JSON using corporate templates. This is the Layer 1 (no-MCP) environment adapter: it tells you how to run the engine, not what to do — role and procedure are what the start subcommand prints.

All paths in this file are relative to this SKILL.md. cd to this directory before running commands.

Running the engine

uv run python3 scripts/pptx_builder.py {contract_name} [args]

Subcommand names match the MCP tool names (generate_pptx, read_guides, list_styles, init_deck_workspace, analyze_template, search_assets, list_templates, code_to_slide, diff_pptx, arch_diagram, grid), so workflow text that calls a tool applies verbatim here. --help on any subcommand shows its arguments.

CLI-only operations without a contract name:

Operation Command
Preview slides as PNG scripts/pptx_builder.py preview
Measure text bounding boxes scripts/pptx_builder.py measure
Build output.html for an HTML deck scripts/pptx_builder.py generate_html <deck>
Import an existing PPTX to JSON scripts/pptx_to_json.py
Start a deck translation scripts/translate_extract.py <deck> --target-lang <lang>
Apply filled translations scripts/translate_apply.py <deck>-<lang>

Files, not tool calls

There is no MCP session here — deck files (deck.json, specs/, slides/) are read and written directly with normal file I/O. Everything the workflows describe as a tool call (read_text, write_file, etc.) is just that: open the path, read or write it.

HTML decks (deck.json outputFormat html; composer: start composing --mode html) have no run_python post-processing here — run generate_html <deck> after writing slides. It also checks every slide in a local Chrome / Edge (layout, JS errors) when one is installed; measure <deck> reports those checks and preview <deck> writes PNGs to preview/png/.

Start here

To create slides, run start presentation --workflow-only and follow it (start composing --deck <dir> --slugs ... prints the composer's document and inputs; start style, start translation --deck <dir> --language <lang> likewise).

Without a sub-agent mechanism, one agent plays both roles, one slug group at a time.

Ver o texto completo da licença (MIT-0)
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

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.

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
Spec-Driven Presentation Maker
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.