Goal
- Given content or topic from the user, write a given number of slides
Workflow
Role
- Your role is specified in
.claude/skills/role.ai_researcher.md
Input
- The user will provide:
- Information, a topic, or a file
<TOPIC>about the topic to describe - (Optional) Number of slides
<NUM_SLIDES>otherwise assume
<NUM_SLIDES> = 3
- If the user has passed you a file
<TOPIC>read it
Format
- For all formatting rules, templates, and structural guidelines, see
.claude/skills/slides.rules.md
Create Slides
- Create
<NUM_SLIDES>slides - Each slide needs to start with a
* <TITLE>format - Open with a standalone
* Roadmapslide - Close with a standalone
* Summaryslide (before* References, if the deck has
one)
- See
.claude/skills/slides.rules.md## Roadmap Slide/## Summary Slide
These two do not count against <NUM_SLIDES>
Add Visuals
- Follow the instructions from
.claude/skills/figure.rules.md
Save Result
- Do not print anything on the screen
- Save the result in an output file
<OUTPUT_FILE> - If there was no input file then create a new file
<TOPIC>.slides.md
in the current dir
- If a file
<FILE>was provided then create a file like<FILE>.slides.md - If the destination file already exists, delete it and create a new one
Verification
- [ ] Make sure that the new slides render correctly, e.g.,
```bash
> gen_slides.py -i <OUTPUT_FILE> --notes_to_pdf_args="--skip_action open_pdf"
```