name: slides-docx-align description: Align a slide deck with a DOCX report while preserving each artifact’s role. Use this skill when a user wants missing report figures inserted into slides, terminology synchronized across report and deck, or extra slides added without overwriting the current summary version. license: BSD-3-Clause (see repo LICENSE)
Slides DOCX Align
Overview
Use this skill when a report and a slide deck have drifted apart. Keep the deck usable while making the report and slides say the same thing.
When to use
- Add a report figure into slides
- Keep the current slide summary and add a supporting slide
- Synchronize terminology between a DOCX and a PPTX
- Check for missing conceptual or educational content in slides
Workflow
- Treat the DOCX as the content source unless the user says otherwise.
- Identify what is missing in the deck versus what should stay summarized.
- Add new slides instead of overwriting existing summary slides when both are useful.
- Keep figure titles, keywords, and terminology aligned.
- When editing a generated deck or a
python-pptxbuilder, normalize layout rules in helpers first before nudging one slide at a time. - For repeated cards, pills, badges, and callouts, keep one shared vertical text contract:
- same vertical anchor for the same family
- same top/bottom margins for the same family
- no one-off text offsets unless the content is semantically different
- Validate the rendered deck, not just the source geometry. Prefer exporting through LibreOffice or PowerPoint and checking the actual slides for:
- clipped or wrapped text
- inconsistent vertical centering
- labels that sit too high or too low inside repeated blocks
- banners or callouts that look visually off even if coordinates seem correct
- Export deck outputs only if requested.
Guardrails
- If a pill or badge family requires repeated
top + 0.03style fixes, stop and move that behavior into the helper. - Do not mix top-aligned and middle-aligned text inside peer blocks without a clear semantic reason.
- When one slide family uses centered labels, keep the same visual center across the deck.
- For generated decks, fix alignment at the builder/helper level whenever the same defect appears more than once.
References
- Read
references/alignment.mdfor the alignment rules.