Skip to content

gpsaggese/helpers / .claude/skills/slides.reorganize

slides.reorganize

Verified

Propose a reorganization of the slides, without removing any content

Goal

  • Given a markdown file <FILE> with slides about technical material, propose how to reorganize the slides without removing any content, only moving them

Workflow

  • Read the conventions in .claude/skills/slides.rules.md

Extract Table of Content

  • Extract the current table of content of the slides
    > extract_toc_from_txt.py -i <FILE> --max_level 5 --mode headers 2>&1 | tee slides.before.txt
    

Propose Reorganization

  • Propose a new flow for the slides, separating cohesive chunks with:

    • level 1 # ...
    • level 2 headers ## ...
    • slides * ...
  • Keep the standalone * Roadmap slide first and the standalone * Summary slide last (right before * References, if present). Never move either one, per .claude/skills/slides.rules.md ## Roadmap Slide / ## Summary Slide. Update * Roadmap's bullets if the reorganization changes the order of the # topics it previews

  • E.g.,

    # Topic 1
    
    ## Topic 1.1
    
    * Slide 1
    ...
    
    * Slide 2
    ...
    
  • Do not delete any slide, only move slides around, without changing them

Propose Slides to Remove or Merge

  • Propose slides whose content is redundant or unclear to be removed
  • Propose slides to merge to consolidate or remove redundant content

Wait for User

  • Save the entire proposal in plan-slides.reorganize.md in the current dir
  • Say in the plan file how it was generated, with this line right after the title:
    - Generated by `.claude/skills/slides.reorganize/SKILL.md`
    
  • Save the proposal in the file plan.slides.after.txt in the same format as plan.slides.before.txt

Perform Reorganization

  • Wait for the user to approve the changes
  • After approval, reorganize the slides in place, without removing any slide or content

Verification

  • Make sure that the updated slides render correctly, e.g.,
    > gen_slides.py -i <FILE> --notes_to_pdf_args="--skip_action open_pdf"
    
  • The plan file says that it was generated by .claude/skills/slides.reorganize/SKILL.md
canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.Stars: 197kUpdated Claude CodeCodexVerifiedInstall