بنقرة واحدة
slide-excellence
// Comprehensive slide excellence review combining visual audit, pedagogical review, and proofreading. Produces three reports and a combined summary.
// Comprehensive slide excellence review combining visual audit, pedagogical review, and proofreading. Produces three reports and a combined summary.
Convert a PDF (or any document) to clean markdown so Claude can read it efficiently. Tries Microsoft MarkItDown first; falls back to OpenDataLoader-PDF for complex layouts (multi-column papers, dense tables, math). Use when user says "convert this PDF", "make this document readable", "turn paper.pdf into markdown", "preprocess this document", or before reading any PDF for analysis.
Enforce the replication-protocol.md rule by cross-checking numeric claims in a manuscript against the actual R / Stata / Python outputs. Report PASS/FAIL per claim against tolerance thresholds. Use before submission and before releasing a replication package.
Adversarial QA workflow comparing Quarto HTML against Beamer PDF benchmark. Iterates between critic (finds issues) and fixer (applies fixes) until APPROVED or max iterations reached.
Run holistic pedagogical review on lecture slides. Checks narrative arc, PhD student prerequisites, worked examples, notation clarity, and deck pacing.
Perform adversarial visual audit of Quarto or Beamer slides checking for overflow, font consistency, box fatigue, and layout issues.
| name | slide-excellence |
| description | Comprehensive slide excellence review combining visual audit, pedagogical review, and proofreading. Produces three reports and a combined summary. |
| disable-model-invocation | true |
| argument-hint | [QMD or TEX filename] |
Run a comprehensive multi-dimensional review of lecture slides. Three agents analyze the file independently, then results are synthesized into a combined summary.
Parse $ARGUMENTS for the filename. If no argument provided, ask the user which lecture to review.
Resolve the full path:
Lecture4_StaggeredRollout.qmd, look in Quarto/.tex file, look in Slides/Launch all three agents as Task subagents simultaneously.
Agent 1: Visual Audit (slide-auditor)
quality_reports/[FILENAME_WITHOUT_EXT]_visual_audit.mdAgent 2: Pedagogical Review (pedagogy-reviewer)
quality_reports/[FILENAME_WITHOUT_EXT]_pedagogy_report.mdAgent 3: Proofreading (proofreader)
quality_reports/[FILENAME_WITHOUT_EXT]_report.mdAfter all three agents complete, read their reports and produce a combined summary:
# Slide Excellence Review: [Filename]
**Date:** [date]
## Overall Quality Score: [EXCELLENT / GOOD / NEEDS WORK / POOR]
**Total Issues:** N
- Critical: X
- Medium: Y
- Low: Z
### By Dimension
| Dimension | Critical | Medium | Low |
|-----------|----------|--------|-----|
| Visual/Layout | | | |
| Pedagogical | | | |
| Proofreading | | | |
| TikZ Freshness | | | |
| Content/Env Parity | | | |
### Critical Issues (Immediate Action Required)
1. **[Dimension] [Slide/Location]** — [Description]. [Recommendation].
2. ...
### Medium Issues (Next Revision)
[Grouped by dimension]
### Reports
- Visual: `quality_reports/[FILE]_visual_audit.md`
- Pedagogy: `quality_reports/[FILE]_pedagogy_report.md`
- Proofreading: `quality_reports/[FILE]_report.md`
### Recommended Next Steps
1. Fix critical issues (prioritize pedagogical violations first)
2. Re-render and verify visual fixes
3. Re-run `/slide-excellence` to confirm improvement
| Score | Critical Issues | Medium Issues | Meaning |
|---|---|---|---|
| Excellent | 0-2 | 0-5 | Ready to present |
| Good | 3-5 | 6-15 | Minor refinements needed |
| Needs Work | 6-10 | 16-30 | Significant revision needed |
| Poor | 11+ | 31+ | Major restructuring needed |
/visual-audit, /pedagogy-review, or /proofread individually/slide-excellence Lecture5_DiD.qmd
# → Review combined summary
# → Fix critical issues
# → Re-run to verify
# → Commit when score is "Good" or "Excellent"