slides-audit
Skill14 starsChanged 9 months agoMITView on GitHub
Run technical quality checks on an existing deck. Finds and fixes font size violations, shape overlaps, contrast issues, missing sources, and layout compliance problems. Use when the user says "check the deck for issues", "run QA", "lint the slides", "are there any formatting problems", "audit the presentation", or wants to verify visual quality before sharing.
In this repository6 other files it gives its agents.
- slides-buildSkill
- slides-critiqueSkill
- slides-editSkill
- slides-extractSkill
- slides-fullSkill
- slides-polishSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 10 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
After /slides-build to catch technical issues
- Distinctive: line 16
Before sharing a deck externally
- Distinctive: line 17
When a deck "looks off" but you're not sure why
- Distinctive: line 34
Ask the user which project to audit, or discover it:
- Distinctive: line 40
All subsequent commands run from within the project directory.
- Distinctive: line 46
Run lint and inspection in parallel:
- Very specific: line 91
Read the slide's layout from inspect output
- Very specific: line 92
Check color_zones[].bg_color from the template
- Very specific: line 100
Read the full shape geometry from inspect output
- Very specific: line 107
Write audit-fixes.json with patch ops:
- Distinctive: line 171
Don't add visual elements to title, disclaimer, or end slides
- Distinctive: line 172
Don't change font sizes on section divider slides
- Distinctive: line 173
Don't "fix" intentional large callout numbers (36pt+) flagged as out of range
- Distinctive: line 174
Don't move shapes that are part of the template layout (placeholders, decorations)
- Very specific: line 175
Don't rewrite slide content (that's /slides-critique)
- Very specific: line 176
Don't add speaker notes or metadata (that's /slides-polish)
- Distinctive: line 186
No contrast violations (white-on-light or dark-on-dark).
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Slides Audit
You are a presentation quality engineer. Your job is to find and fix technical defects — not rewrite content or restructure the narrative. You care about pixels, contrast ratios, font consistency, and layout compliance.
Technical quality analysis and automated fixes for an existing deck.
When to Use
- After
/slides-buildto catch technical issues - Before sharing a deck externally
- When a deck "looks off" but you're not sure why
Prerequisites
output.pptx— the deck to auditdesign-profile.json— design constraints for linting
References
| File | When to load | Content |
references/common-mistakes.md | During analysis (Step 2) | 25 ranked mistakes — focus on #6, #7, #9, #10, #12, #13, #21, #25 |
Load references/common-mistakes.md to cross-check findings against the ranked mistake list.
Step 0) Find the project directory
Ask the user which project to audit, or discover it:
find . -name "design-profile.json" -maxdepth 3All subsequent commands run from within the project directory.
Process
Step 1) Collect diagnostics
Run lint and inspection in parallel:
uvx --from agent-slides slides lint output.pptx --profile design-profile.json --out lint.json --compact
uvx --from agent-slides slides inspect output.pptx --page-all --ndjson --compact
uvx --from agent-slides slides validate output.pptx --compact
uvx --from agent-slides slides inspect output.pptx --summary --compactStep 2) Analyze findings
Categorize each lint issue by severity and fixability:
Auto-fixable (generate patch ops):
| Issue | Fix pattern |
SHAPE_OUT_OF_BOUNDS | Recalculate position within slide margins via ops patch |
SHAPE_OVERLAP | Adjust top/left to eliminate overlap via ops patch |
MISSING_VISUAL_ELEMENT | Add add_icon, add_rectangle, or add_line_shape via ops patch |
Requires judgment (report to user):
| Issue | What to report |
FONT_SIZE_OUT_OF_RANGE | Which slides and what sizes — may be intentional (callout numbers) |
FONT_NOT_ALLOWED | Which slides use non-allowed fonts |
COLOR_NOT_ALLOWED | Which shapes use off-palette colors |
Informational (skip):
| Issue | Why skip |
| Section divider slides flagged as "missing visual" | Intentionally text-only |
| Title/end slides flagged for density | Structural slides don't need content density |
Important: the edit subcommand's --query only replaces text content, not formatting properties. To fix font sizes or colors, use apply with ops patches containing new add_text ops at corrected sizes, combined with clearing the original text.
Step 3) Check contrast
For each slide, verify font color vs. background:
- Read the slide's layout from
inspectoutput - Check
color_zones[].bg_colorfrom the template - Flag white text (
FFFFFF) on light backgrounds (F2F2F2,FFFFFF,F0EDE6) - Flag dark text (
333333,131313) on dark backgrounds (203430,29BA74)
Step 4) Check content overlap
For slides with SHAPE_OVERLAP warnings:
- Read the full shape geometry from
inspectoutput - Identify which shapes overlap and by how much
- Generate ops patch to adjust positions
- Priority: move content shapes, never move template placeholders
Step 5) Generate and apply fixes
Write audit-fixes.json with patch ops:
uvx --from agent-slides slides apply output.pptx --ops-json @audit-fixes.json --output output.pptx --compactStep 6) Re-run QA
uvx --from agent-slides slides qa output.pptx --profile design-profile.json --out qa.json --compactStep 7) Report
Present a structured audit report:
Audit Report
============
What's Working
- [list 2-3 positive findings: things the deck does well technically]
Issues Found: X total (Y auto-fixed, Z need attention)
Critical
| Slide | Issue | Status |
|---|---|---|
| 3 | White text on light background | FIXED |
| 7 | Shape overlaps title area | FIXED |
Major
| Slide | Issue | Status |
|---|---|---|
| 5 | Font size 11pt below minimum | Needs review (may be intentional caption) |
Minor
| Slide | Issue | Status |
|---|---|---|
| 12 | Off-palette color #8B4513 | Reported |
Summary
- Before: X lint issues
- After: Y lint issues (Z fixed)
- QA status: ok/failCommon Mistakes to Check
These are the most impactful technical issues (from the full ranked list):
| # | Mistake | What to check |
| 6 | No visual hierarchy | Title must visually dominate, then headings, then body |
| 7 | Slides without visual structure | Every content slide needs chart/table/shape/icon |
| 9 | Ignoring template colors | All colors should come from design profile palette |
| 10 | Pure black text | Body text should use 333333/575757, not 000000 |
| 12 | Cramming content | Maintain margins from template's content box |
| 13 | Content overlapping title | Content must start below title area (y > 1.8") |
| 21 | Inconsistent font sizes | Same body size on all content slides |
| 25 | Ignoring content box | Content within extracted content_box boundaries |
Anti-patterns (what NOT to fix)
- Don't add visual elements to title, disclaimer, or end slides
- Don't change font sizes on section divider slides
- Don't "fix" intentional large callout numbers (36pt+) flagged as out of range
- Don't move shapes that are part of the template layout (placeholders, decorations)
- Don't rewrite slide content (that's
/slides-critique) - Don't add speaker notes or metadata (that's
/slides-polish)
Error Handling
On any slides error, run uvx --from agent-slides slides docs method:inspect or uvx --from agent-slides slides docs method:edit to verify the current contract.
Acceptance Criteria
- Lint issue count decreases after fixes.
- No
SHAPE_OVERLAPissues remain on content slides. - No contrast violations (white-on-light or dark-on-dark).
qa.jsonreports"ok": true.- Audit report delivered with both positive findings and issues.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

