pptx: Add direct PptxGenJS reference and design constraints #146
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Adds guidance for when html2pptx doesn't provide enough control over positioning.
Problem: The pptx skill covers html2pptx (great for standard layouts) but doesn't address what to do when you need fine-grained coordinate control - calculated positions, collision detection, algorithmic placement.
Solution: Document the "escape hatch" to direct PptxGenJS with the gotchas learned the hard way.
Changes
SKILL.md
New: references/direct-pptxgenjs.md (~140 lines)
insetnotmarginfor internal padding (fails silently!)autoFitvsshrinkTextfor text overflowlinepropertyNew: references/visual-details-options.md
Context
Based on building a 59-slide presentation with Fibonacci spiral-arranged quote boxes. html2pptx couldn't handle the algorithmic placement, so I dropped to direct PptxGenJS and discovered these gotchas through trial and error (including unzipping .pptx files to inspect the XML).
Result
SKILL.md reduced from 500 to 458 lines while adding new functionality via progressive disclosure.
Test plan