Skip to content
PifeatureCLI & tooling1 file · +35 −1

Build elephants slide deck with clean-slides pptx template and CLI

Session from clean-slides-sessions on Hugging Face by thomasmustier · MIT · condensed by Coders Talk

1h 18msession
1interventions
GOAL

Create a slide deck about elephants, then rebuild it to use the project's own clean-slides PowerPoint template and CLI instead of a generic theme, including a data table slide.

  1. Prompt · +0
    Let's create a slide deck about elephants
  2. Agent did · +0m
    Used the generic powerpoint skill to build an 8-slide elephants deck with a custom theme, tables and content sections
  3. Prompt · +14m
    Ok, the content is great, but I'd like us to use the template we have
  4. Agent did · +14m
    Inspected the clean-slides project's own template and CLI, discovered the pptx tool and layouts, then rebuilt the deck slide-by-slide using the template's placeholders
  5. Agent did · +17m
    Generated a Diet & Habitat table slide from YAML via the pptx CLI, worked around the -t flag deleting slides by merging via python-pptx, rendered all slides to PNG to verify the 9-slide deck
  6. Intervention · +20m
    Render command aborted mid-way; developer said 'continue' to resume rendering the remaining slides
    Why: the render just got cut off, I didn't need to redo anything, just push on
  7. Prompt · +46m
    Can you tell me more about material issues you encountered e.g. layout:default
  8. Fail · +47m
    Found the Diet & Habitat table slide's title and first row overlapping because layout:default started the table above the title placeholder; fix attempt still rendered stale/wrong content on re-check
  9. Agent did · +48m
    Diagnosed that the copy process left the slide inheriting wrong placeholder positions, redid the merge using the standalone generated slide directly, and confirmed the render now showed the table correctly below the divider
  10. Prompt · +1h 18m
    Wait, why did -t matter? You created a new deck so there shouldn't have been slides there anyway?
  11. Outcome · +1h 18m
    Developer pushed back on the agent's explanation, agent walked back a claimed issue and clarified the real two material issues (layout:default vs content, and the lack of a slide-merge command); final 9-slide elephants.pptx and pdf moved to .sandbox/elephant-deck/
VERDICT

Next time I'd open with 'use our clean-slides template and pptx CLI' from the start instead of letting it build a generic deck first and then redoing all the work. The correction that mattered was pushing back when it claimed the -t flag was a 'material issue' — it hadn't actually been a real limitation, just its own misuse of the tool, and calling that out got a more honest, useful writeup of what actually went wrong (layout:default vs content, and no slide-merge command in the CLI).

I tried this · 0

Discussion · 0

How Builds work