Skill · loaded on demand
The Focus AI Standards
Skill: SKL-008
Install: pptx-decks
Provenance: Authored here
The Focus AI
standards.thefocus.ai

pptx-decks

Status of this skill

This is a skill: a capability an agent loads when its triggers match. It binds nothing — it is something an agent can do, not something any repository must do (STD-011).

Generate a branded PowerPoint (.pptx) from markdown or an outline using PptxGenJS — slide masters, stat slides, card grids, process flows — then QA it by rendering the slides to images and inspecting them. Brand-agnostic: reads palettes and type from the project's DESIGN.md or brand skill. Use when asked for a deck, slides, a presentation, a pitch, or a .pptx file. Triggers on: "deck", "slides", "presentation", "pptx", "powerpoint", "pitch deck", "keynote", "/deck".

Agent · install with
skills add The-Focus-AI/standards --skill pptx-decks

Outline in, .pptx out, generated with PptxGenJS and checked visually before delivery.

This skill owns the mechanics only — masters, layout math, the PptxGenJS API and its sharp edges. Palettes, fonts, and voice come from the project's brand.

Where the tokens come from

  1. The project's DESIGN.md frontmatter.
  2. A brand skill. For Focus.AI work that is focus-ai-brand, whose design-system reference carries the slide palettes under "Output-Format Tokens".
  3. Ask rather than guess.

Declare the palette once as a constant at the top of the generated script (the reference examples assume CLIENT / LABS in scope) and reference it everywhere. Never inline a hex code twice.

Process

  1. Read the source and plan the structure before writing any code — title, sections, content slides, conclusion. A deck is an argument with a shape, not a pile of slides.
  2. Choose a master per slide. Dark for title and conclusion, light paper for content — the sandwich. references/pptx-system.md has the masters and their layout math.
  3. Vary the layouts. Stats, cards, two-column, process flow. Six identical bullet slides in a row is the tell of a generated deck.
  4. Generate and run the PptxGenJS script.
  5. QA visually. Convert the slides to images and look at every one. Text overflow, collisions, and off-grid elements do not show up in the script — only in the render. The checklist at the end of the reference is the pre-ship gate.
npm install -g pptxgenjs react react-dom react-icons sharp

Reference

TopicWhere
Slide masters and their layout mathreferences/pptx-system.md
Component patterns: title, stat, cards, process flowreferences/pptx-system.md
Type scale and font mappingreferences/pptx-system.md
Do / Don't rules and the pre-ship checklistreferences/pptx-system.md

Pitfalls