ask-matt
MAmattpocock/skills337k4,217 new stars in the last 7 days
Design, generate, review, and revise editable PowerPoint presentations through a rigorous brief-to-PNG workflow using the public pptx-designer Python library.
This skill is a presentation design director and delivery workflow. The
pptx-designer Python package is the rendering engine; this skill decides
what should be designed, how it should be structured, how it should look, and
whether the rendered result actually satisfies the user's need.
The design framework below keeps the mature design judgment, content rules,
domain paradigms, and quality standards that make the workflow reliable. The
implementation engine is the public pptx-designer Python library.
Act as a senior presentation designer. Make decisions from the audience and the communication goal, not from the list of available Python functions.
For a new delivery-grade presentation task, initialize the task from
templates/task-init/ and keep task-specific requirements in those task
files. Run init_presentation_task.py from the loaded Skill's scripts/
directory (use its absolute path if the working directory is the project):
python <skill-root>/scripts/init_presentation_task.py --project <project-root> --name <lowercase-task-slug>. It creates an isolated
<project-root>/ppt_tasks/<task-slug>/ and refuses to overwrite it. Do not
begin implementation while a required research or direction decision remains
unresolved.
For a delivery-grade deck, do not write the build script until these decisions are explicit:
generate_ppt(), Build Mode, or VI Build Mode;The only acceptable shortcut is an explicitly requested quick exploratory draft.
A PPTX file that merely runs successfully is not complete. A task is complete
only after the deck has been rendered through the confirmed PPTX -> PDF -> PNG path, the LLM has inspected the PNG output, material visual issues have
been revised, and the user has confirmed the final direction or result.
MUST, SHOULD, or NICE_TO_HAVE.pptx-designer API object. Resolve
it once with ThemeComposer.compose(...), save the resulting complete
resolved theme, and pass that object to the generation API.content using documented public
pptx_designer APIs. Record the Theme Lock version, resolved-theme source,
seed, package version, and module path with the generation result.skill/scripts/render_pptx.ps1.NEEDS_REVISION. Gate 2 preserves the serious-defect review:
check overflow, overlap, clipping, unreadable text, missing requirements,
unsupported claims, broken citations, editability, and other delivery risks.PASS, NEEDS_REVISION, or
BLOCKED. Do not replace this comparison with a generic aesthetic opinion.MUST condition,
identify the source-code/content cause, revise, regenerate, and inspect
again. Return to the failed decision level: revise the visual direction,
composition, or asset strategy for a directional failure; use local edits
only for a local defect. A deck is not complete while a MUST condition is
unresolved.Set three 1-10 dials before choosing layouts:
These dials change composition, not just colors. They must remain compatible with the audience and domain.
The skill has three generation modes. Do not collapse VI Build into a generic template option:
| Mode | Use case | Content/layout control | Quality target |
|---|---|---|---|
| Build Mode | Delivery-grade blank-canvas deck | Python source with exact element placement | Highest composition control |
| FreeStyle Mode | Fast exploration or goal-driven content | generate_ppt(query=...) or generate_ppt(content=...) | Fast, coherent draft |
| VI Build Mode | Existing enterprise template and brand compliance | Template + extracted design DNA + controlled new pages | Preserve brand framework |
Default for investor, board, client, sales, strategy, editorial, and other
delivery-grade work when no supplied template must be preserved. The LLM writes
a reproducible Python script using Presentation() and public
pptx_designer.tools.* APIs.
Pass the complete resolved theme with Presentation(theme=resolved_theme, strict_theme=True) for ordinary themed Build Mode. Partial contexts are only
for VI/template work and must be visibly diagnosed; do not pass a Theme Lock
directly as a theme.
The library completes the deck through generate_ppt(). A topic query is the
quick path; a structured content dictionary gives the LLM more control over
page goals and copy. They are two input forms of the same FreeStyle mode, not
separate rendering engines. FreeStyle does not provide pixel-level placement
control and does not replace the PNG review gate.
When a direction is locked, call generate_ppt(theme=resolved_theme, ...).
Do not also pass style, palette atoms, or style_seed: FreeStyle treats a
supplied resolved theme as authoritative and reports those discovery arguments
as ignored.
Use when the user supplies template.pptx, a corporate master, or a brand
compliance requirement. The workflow is:
extract_design_dna();merge_vi_design_context(template_context, resolved_theme, page_context);
template-locked fields must remain unchanged and conflicts must be reviewed;pptx_designer helpers;Do not promise exact reproduction of unsupported PowerPoint master, SmartArt,
animation, or OOXML behavior. Read references/template-brand.md before
handling a template.
Do not generate multiple full decks without a design decision that requires comparison. When proposals are useful, create a small number of genuinely different structural directions, get a user choice, and only then build the full deck.
The following behaviors are prohibited unless the user explicitly requests a quick exploratory draft and accepts the limitations:
slide.shapes.add_shape(), add_textbox(), or add_picture() as
the default Build Mode implementation when a documented pptx_designer
helper exists;ppt_pro_max package or undocumented/private helpers;.pptx save;These hard anti-patterns remain prohibited: flat stacks of default rectangles, random gradients, stretched images, tiny CJK body text, unreadable charts, repeated card grids, fake precision, filler marketing language, and a deck where every page has the same density and structure.
Additional content rules:
Detect the domain before the visual solution. Typical signals include:
When a domain match changes the structure or visual semantics, ask instead of silently defaulting to a business deck.
Use only documented public pptx_designer imports. Do not copy or recreate
the old ppt_pro_max package and do not import private modules merely because
they exist in the installed package. Read references/public-api.md before
writing Build Mode code.
The LLM must compare the exported PNGs with the original brief, not merely judge whether they look attractive. Before generation, turn the brief into a small acceptance contract. After rendering, assess:
whether every MUST requirement is visibly satisfied;
whether each requested audience, scenario, mood, language, and action is reflected in the pages;
whether the planned page goals and narrative order survived generation;
whether the requested brand, template, image, and editability constraints are respected;
when reference material was supplied, whether its agreed observable qualities are visibly transferred rather than merely echoed through superficial styling;
whether SHOULD and NICE_TO_HAVE conditions are met or explicitly waived;
visual hierarchy and page-level clarity;
readability at presentation scale;
text overflow, overlap, clipping, and awkward spacing;
content density and balance between filled and empty areas;
whether large empty regions have a declared narrative purpose; an underfilled
page is NEEDS_REVISION when its whitespace does not create focus, pacing, or
hierarchy;
whether each delivery page has a sufficient visual anchor and a complete takeaway; “clean” or “minimal” is not an excuse for missing evidence or weak composition;
chart and diagram legibility;
image crop, relevance, and tonal consistency;
typography, contrast, palette, and visual consistency;
whether the deck matches the requested audience, scenario, and mood;
whether the result looks intentionally designed rather than template-like;
whether important objects remain independently editable in the PPTX.
When review fails, report the requirement ID, slide and location, likely
source-code or content cause, and the specific revision. Read
references/qa-and-delivery.md for the review record and acceptance language.
MAmattpocock/skills337k4,217 new stars in the last 7 days
MAmattpocock/skills337k4,217 new stars in the last 7 days
MAmattpocock/skills337k4,217 new stars in the last 7 days
OBobra/superpowers331k5,030 new stars in the last 7 days
AFaffaan-m/ECC315k3,503 new stars in the last 7 days
AFaffaan-m/ECC315k3,503 new stars in the last 7 days