Skip to content
Back to skills

Slides.Fix Rendered Pdf

ASecurity

Make sure that the PDF rendering of a slide smd file is well formed

  • 158 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 7, 2026
toolsgobash

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add gpsaggese/helpers --skill slides.fix_rendered_pdf --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Slides.Fix Rendered Pdf?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Slides.Fix Rendered Pdf
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gpsaggese-slides-fix-rendered-pdf/badge)](https://www.skillsdirectory.com/skills/gpsaggese-slides-fix-rendered-pdf)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Make sure that the PDF rendering of a slide smd file is well formed
model: haiku
---

# Goal
- Make sure that the PDF rendering of a slide `.smd` file is well formed

# Inputs
- `<SMD_FILE>`: lecture file to check
  - E.g., `msml610/lectures_source/Lesson01.4-Brief_History_of_AI.smd`

# Workflow

## Render the Slides
- Run:
  ```bash
  > gen_slides.py <SMD_FILE> -- --toc_type=remove_headers
  ```
- Read the generated PDF `<PDF_FILE>`
  - E.g., `msml610/lectures_pdf.tmp/Lesson01.4-Brief_History_of_AI.pdf`

## Check the Slide Count
- Check that the slide count in `<SMD_FILE>`:
  ```bash
  > grep "^* " <SMD_FILE> | wc -l
  ```
  equals the PDF page count, not counting the `References` page
- If the counts differ, some slides `* <TITLE>` render in more than one PDF page
- Then adjust the picture sizes and the text, so each slide fits exactly in one page

# Conventions
- Follow the role in `.claude/skills/role.ai_researcher.md`
- Read `.claude/skills/slides.rules.md`

# Verification
- [ ] The number of slides in `<SMD_FILE>` is the same as in `<PDF_FILE>`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.