Styled Prompts (Content PROMPT → Styled PROMPT)
Goal
Turn $HUMAN_MATERIAL_PATH/slides/<deck>/prompts/content/<deck>.md into $HUMAN_MATERIAL_PATH/slides/<deck>/prompts/styled/<deck>.md by applying a style brief (e.g. styles/<style>.md) and making concrete design decisions per page:
- infer an appropriate layout during creation (no fixed layout catalog required)
- place all content (text, tables, code, figures) so nothing is lost
- specify any required illustrations/diagrams and how they should look
- include consistent typography, spacing, and color constraints
Inputs
$HUMAN_MATERIAL_PATH/slides/<deck>/prompts/content/<deck>.md
$HUMAN_MATERIAL_PATH/slides/styles/<style>.md (treat the style brief content as the source of truth for visual identity)
- Optional: additional references under
references/<style>/ (gitignored)
- Optional: deck preferences under
$HUMAN_MATERIAL_PATH/slides/<deck>/configs/deck.yaml (audience/language/style/dimensions)
Output
Write to: $HUMAN_MATERIAL_PATH/slides/<deck>/prompts/styled/<deck>.md
The output should be compatible with styled-artifacts.
Required deck-level header: At the top of the file (before the first ## Slide N:), write a concise global style/formatting contract so the renderer has stable “style memory”:
- Formatting goal (background treatment, palette roles, typography feel)
- Reusable components (badges/callouts/arrows/containers) + their visual rules
- Icon/illustration rules (outline vs filled, stroke weight, shading)
Then, one block per slide:
## Slide N: <title>
- A short layout decision (free-form): what regions exist and why (e.g., “title + left bullets + right diagram”)
- Element spec (high detail): every element’s type, content, shape, position, and styling
- Rendering notes: what must be drawn as a diagram/figure vs. literal text
- Style constraints: apply global style brief + any slide-specific overrides
- Assets: local image paths to attach, plus how to place them
Layout inference guidance (during styling)
Choose structure by content, not by an enum:
- Comparison → two-column structure
- Process → flow diagram with numbered steps
- Metrics → chart/table with a one-line takeaway
- Code-heavy → code-first layout with minimal commentary
- Image-heavy → image-first with short caption + key annotation
Required detail level (what “Styled PROMPT” means)
The styled prompt must be explicit enough that an image generator can render the slide consistently without guessing.
Use a repeatable element inventory format per slide:
- Canvas: 16:9, specify safe margins (e.g., 6–8% on all sides)
- Grid: (optional) define a simple grid (e.g., 12-column) or just use percentages
- Elements: list every element with a stable id and a bounding box in percentages
id: e.g. title, subtitle, bullets, icon_1, table_1, diagram_1, callout_1
type: title/text/icon/illustration/diagram/table/code/badge/arrow/shape
bbox: x,y,w,h as percentages of canvas (top-left origin)
z: layer order (background → content → callouts)
content: the literal text/table/code, or a precise visual brief for diagrams/illustrations
style: font weight/size intent, colors, stroke width, corner radius, shadow, padding, alignment
If the style has a “hand-drawn / sketch” theme, explicitly state line weight, wobble, marker highlight behavior, and how to render arrows/containers.
See templates and pitfalls:
references/element-spec-template.md
references/design-guidelines.md
references/layout-patterns.md
references/icon-illustration-guide.md
references/common-pitfalls.md
Style system (dimensions + presets)
V2 supports a “dimension” vocabulary (ported from archived v1) to describe style in a reusable way:
references/dimensions/presets.md (preset list)
references/dimensions/texture.md
references/dimensions/mood.md
references/dimensions/typography.md
references/dimensions/density.md
Preset style briefs live in $HUMAN_MATERIAL_PATH/slides/styles/*.md (e.g. $HUMAN_MATERIAL_PATH/slides/styles/blueprint.md).
Config schema reference (optional):
references/config/preferences-schema.md
Configuration precedence (recommended)
When both exist:
- Per-deck:
$HUMAN_MATERIAL_PATH/slides/<deck>/configs/deck.yaml (audience/language/style/dimensions)
- Style file:
$HUMAN_MATERIAL_PATH/slides/styles/<style>.md (palette/typography/shape language rules; optional Dimensions section)
- Defaults: conservative, readable, balanced density
Adding vivid/intuitive visuals (icons, illustrations, tables)
For each slide, prefer at least one “visual anchor” when it improves comprehension:
- Icons: choose a small set (2–4) that reinforces the key points; specify icon style (outline vs solid), stroke width, corner radius, and color usage. Avoid random icon mixing.
- Illustrations: describe the scene as a deterministic brief (subjects, pose, props, viewpoint, composition, background treatment). Include the intended emotional tone (friendly/serious) and any constraints (no text inside illustration unless required).
- Tables: include full table data, column alignments, header styling, row banding rules, cell padding, and how to highlight key cells (e.g., colored outline or marker underline).
- Diagrams: specify nodes and edges explicitly; define shapes (rounded rectangles), arrow types, label placement, and spacing rules.
Guardrails
- All “Must include” items from the content prompt must appear in the styled prompt.
- If a page is too dense, do not shrink text to illegibility; split into an additional slide.
- Avoid “generic filler visuals”; every figure must convey information.
Modification & iteration
Treat $HUMAN_MATERIAL_PATH/slides/<deck>/prompts/styled/<deck>.md as the single source of truth.
- Edit a slide: modify the slide block, keep the same slide number, and regenerate that slide with
styled-artifacts --only N.
- Add a slide: insert a new
## Slide N: block, then renumber subsequent slides to keep numbering unique and ordered.
- Delete a slide: remove the block, then renumber subsequent slides.
- Keep the deck-level header intact: it’s the global style contract applied to all slides.
Suggested workflow (phases)
- Load style brief
- Treat the style brief as constraints (palette, typography, shapes), not a fixed layout catalog.
- Per-slide design
- Choose a structure driven by content (comparison/process/metric/code/image).
- Produce an explicit element inventory (bbox + z-order + content + style).
- Add an icon/diagram/table/illustration only when it improves comprehension.
- Cross-slide consistency
- Ensure repeated elements (badges, icons, callouts) use the same visual language.
- Ensure spacing and alignment feel consistent across slides.
- Legibility & density
- If any key text would become small, split the slide instead of shrinking.
- Validation mindset
- Write prompts so the renderer does not need to guess (explicit geometry and styling).
Richness targets (what to add beyond text)
Aim for at least one of these per slide when it improves comprehension:
- Iconography: small icon per bullet group/category
- Diagram: process/architecture/relationship diagrams, explicitly specified
- Table: full data table with highlighted cells + one-line insight
- Illustration: scene metaphor that encodes meaning (not decoration)
Review gate (required)
Do not proceed to styled-artifacts until the styled prompt passes:
- Every slide has an explicit element inventory (bbox + content + style)
- All “Must include” items from the content prompt are present
- No illegible density (split instead of shrinking)
- Icons/illustrations are consistent and meaningful (not decoration)
Completion behavior (required)
When this skill is triggered:
- Do only this step: produce/update
$HUMAN_MATERIAL_PATH/slides/<deck>/prompts/styled/<deck>.md.
- Do not render anything here (no images/PDF/PPTX, no render sanity-checks). Rendering belongs to
$uv-styled-artifacts.
- End your response with recommended next steps (options + commands to run next).
Recommended next steps (include this block in your response):
- Review gate (required before rendering): confirm the Styled PROMPT passes the checklist in this skill.
- Next (render PDF / image-PPTX): run
$uv-styled-artifacts.
- PDF + image-PPTX:
OPENROUTER_API_KEY=... python3 skills/styled-artifacts/scripts/styled_prompts_to_artifacts.py --prompts "$HUMAN_MATERIAL_PATH/slides/<deck>/prompts/styled/<deck>.md" --workdir "$HUMAN_MATERIAL_PATH/slides/<deck>/artifacts/<deck>/work" --pdf "$HUMAN_MATERIAL_PATH/slides/<deck>/artifacts/<deck>/<deck>.pdf" --pptx "$HUMAN_MATERIAL_PATH/slides/<deck>/artifacts/<deck>/<deck>.pptx"
- Sample / partial regeneration:
... --reuse-workdir --only 1-3
Note: this repo intentionally does not ship an editable-PPTX skill (the upstream pptx skill was proprietary).
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: uv-styled-prompts3description: Convert per-page Content PROMPTs into design-complete Styled PROMPTs using a Markdown style brief, inferring the best layout per page during creation. Outputs $HUMAN_MATERIAL_PATH/slides/<deck>/prompts/styled/<deck>.md, ready for image/PDF/PPT generation. Use when this capability is needed.4---56# Styled Prompts (Content PROMPT → Styled PROMPT)78## Goal910Turn `$HUMAN_MATERIAL_PATH/slides/<deck>/prompts/content/<deck>.md` into `$HUMAN_MATERIAL_PATH/slides/<deck>/prompts/styled/<deck>.md` by applying a **style brief** (e.g. `styles/<style>.md`) and making concrete design decisions per page:1112- infer an appropriate layout *during creation* (no fixed layout catalog required)13- place all content (text, tables, code, figures) so nothing is lost14- specify any required illustrations/diagrams and how they should look15- include consistent typography, spacing, and color constraints1617## Inputs1819- `$HUMAN_MATERIAL_PATH/slides/<deck>/prompts/content/<deck>.md`20- `$HUMAN_MATERIAL_PATH/slides/styles/<style>.md` (treat the style brief content as the source of truth for visual identity)21- Optional: additional references under `references/<style>/` (gitignored)22- Optional: deck preferences under `$HUMAN_MATERIAL_PATH/slides/<deck>/configs/deck.yaml` (audience/language/style/dimensions)2324## Output2526Write to: `$HUMAN_MATERIAL_PATH/slides/<deck>/prompts/styled/<deck>.md`2728The output should be compatible with `styled-artifacts`.2930**Required deck-level header**: At the top of the file (before the first `## Slide N:`), write a concise **global style/formatting contract** so the renderer has stable “style memory”:3132- Formatting goal (background treatment, palette roles, typography feel)33- Reusable components (badges/callouts/arrows/containers) + their visual rules34- Icon/illustration rules (outline vs filled, stroke weight, shading)3536Then, one block per slide:3738- `## Slide N: <title>`39- A short **layout decision** (free-form): what regions exist and why (e.g., “title + left bullets + right diagram”)40- **Element spec** (high detail): every element’s type, content, shape, position, and styling41- **Rendering notes**: what must be drawn as a diagram/figure vs. literal text42- **Style constraints**: apply global style brief + any slide-specific overrides43- **Assets**: local image paths to attach, plus how to place them4445## Layout inference guidance (during styling)4647Choose structure by content, not by an enum:4849- Comparison → two-column structure50- Process → flow diagram with numbered steps51- Metrics → chart/table with a one-line takeaway52- Code-heavy → code-first layout with minimal commentary53- Image-heavy → image-first with short caption + key annotation5455## Required detail level (what “Styled PROMPT” means)5657The styled prompt must be explicit enough that an image generator can render the slide consistently without guessing.5859Use a repeatable element inventory format per slide:6061- **Canvas**: 16:9, specify safe margins (e.g., 6–8% on all sides)62- **Grid**: (optional) define a simple grid (e.g., 12-column) or just use percentages63- **Elements**: list every element with a stable id and a bounding box in percentages64 - `id`: e.g. `title`, `subtitle`, `bullets`, `icon_1`, `table_1`, `diagram_1`, `callout_1`65 - `type`: title/text/icon/illustration/diagram/table/code/badge/arrow/shape66 - `bbox`: `x,y,w,h` as percentages of canvas (top-left origin)67 - `z`: layer order (background → content → callouts)68 - `content`: the literal text/table/code, or a precise visual brief for diagrams/illustrations69 - `style`: font weight/size intent, colors, stroke width, corner radius, shadow, padding, alignment7071If the style has a “hand-drawn / sketch” theme, explicitly state line weight, wobble, marker highlight behavior, and how to render arrows/containers.7273See templates and pitfalls:74- `references/element-spec-template.md`75- `references/design-guidelines.md`76- `references/layout-patterns.md`77- `references/icon-illustration-guide.md`78- `references/common-pitfalls.md`7980## Style system (dimensions + presets)8182V2 supports a “dimension” vocabulary (ported from archived v1) to describe style in a reusable way:8384- `references/dimensions/presets.md` (preset list)85- `references/dimensions/texture.md`86- `references/dimensions/mood.md`87- `references/dimensions/typography.md`88- `references/dimensions/density.md`8990Preset style briefs live in `$HUMAN_MATERIAL_PATH/slides/styles/*.md` (e.g. `$HUMAN_MATERIAL_PATH/slides/styles/blueprint.md`).9192Config schema reference (optional):9394- `references/config/preferences-schema.md`9596## Configuration precedence (recommended)9798When both exist:991001. Per-deck: `$HUMAN_MATERIAL_PATH/slides/<deck>/configs/deck.yaml` (audience/language/style/dimensions)1012. Style file: `$HUMAN_MATERIAL_PATH/slides/styles/<style>.md` (palette/typography/shape language rules; optional Dimensions section)1023. Defaults: conservative, readable, balanced density103104## Adding vivid/intuitive visuals (icons, illustrations, tables)105106For each slide, prefer at least one “visual anchor” when it improves comprehension:107108- **Icons**: choose a small set (2–4) that reinforces the key points; specify icon style (outline vs solid), stroke width, corner radius, and color usage. Avoid random icon mixing.109- **Illustrations**: describe the scene as a deterministic brief (subjects, pose, props, viewpoint, composition, background treatment). Include the intended emotional tone (friendly/serious) and any constraints (no text inside illustration unless required).110- **Tables**: include full table data, column alignments, header styling, row banding rules, cell padding, and how to highlight key cells (e.g., colored outline or marker underline).111- **Diagrams**: specify nodes and edges explicitly; define shapes (rounded rectangles), arrow types, label placement, and spacing rules.112113## Guardrails114115- All “Must include” items from the content prompt must appear in the styled prompt.116- If a page is too dense, do not shrink text to illegibility; split into an additional slide.117- Avoid “generic filler visuals”; every figure must convey information.118119## Modification & iteration120121Treat `$HUMAN_MATERIAL_PATH/slides/<deck>/prompts/styled/<deck>.md` as the single source of truth.122123- **Edit a slide**: modify the slide block, keep the same slide number, and regenerate that slide with `styled-artifacts --only N`.124- **Add a slide**: insert a new `## Slide N:` block, then renumber subsequent slides to keep numbering unique and ordered.125- **Delete a slide**: remove the block, then renumber subsequent slides.126- **Keep the deck-level header** intact: it’s the global style contract applied to all slides.127128## Suggested workflow (phases)1291301. **Load style brief**131 - Treat the style brief as constraints (palette, typography, shapes), not a fixed layout catalog.1322. **Per-slide design**133 - Choose a structure driven by content (comparison/process/metric/code/image).134 - Produce an explicit element inventory (bbox + z-order + content + style).135 - Add an icon/diagram/table/illustration only when it improves comprehension.1363. **Cross-slide consistency**137 - Ensure repeated elements (badges, icons, callouts) use the same visual language.138 - Ensure spacing and alignment feel consistent across slides.1394. **Legibility & density**140 - If any key text would become small, split the slide instead of shrinking.1415. **Validation mindset**142 - Write prompts so the renderer does not need to guess (explicit geometry and styling).143144## Richness targets (what to add beyond text)145146Aim for at least one of these per slide when it improves comprehension:147148- **Iconography**: small icon per bullet group/category149- **Diagram**: process/architecture/relationship diagrams, explicitly specified150- **Table**: full data table with highlighted cells + one-line insight151- **Illustration**: scene metaphor that encodes meaning (not decoration)152153## Review gate (required)154155Do not proceed to `styled-artifacts` until the styled prompt passes:156157- Every slide has an explicit element inventory (bbox + content + style)158- All “Must include” items from the content prompt are present159- No illegible density (split instead of shrinking)160- Icons/illustrations are consistent and meaningful (not decoration)161162## Completion behavior (required)163164When this skill is triggered:1651661. **Do only this step**: produce/update `$HUMAN_MATERIAL_PATH/slides/<deck>/prompts/styled/<deck>.md`.1672. **Do not render anything** here (no images/PDF/PPTX, no render sanity-checks). Rendering belongs to `$uv-styled-artifacts`.1683. **End your response with recommended next steps** (options + commands to run next).169170Recommended next steps (include this block in your response):171172- **Review gate (required before rendering)**: confirm the Styled PROMPT passes the checklist in this skill.173- **Next (render PDF / image-PPTX)**: run `$uv-styled-artifacts`.174 - PDF + image-PPTX:175 - `OPENROUTER_API_KEY=... python3 skills/styled-artifacts/scripts/styled_prompts_to_artifacts.py --prompts "$HUMAN_MATERIAL_PATH/slides/<deck>/prompts/styled/<deck>.md" --workdir "$HUMAN_MATERIAL_PATH/slides/<deck>/artifacts/<deck>/work" --pdf "$HUMAN_MATERIAL_PATH/slides/<deck>/artifacts/<deck>/<deck>.pdf" --pptx "$HUMAN_MATERIAL_PATH/slides/<deck>/artifacts/<deck>/<deck>.pptx"`176 - Sample / partial regeneration:177 - `... --reuse-workdir --only 1-3`178179Note: this repo intentionally does not ship an editable-PPTX skill (the upstream `pptx` skill was proprietary).180181---182> Converted and distributed by [TomeVault](https://tomevault.io/claim/uv-xiao) — claim your Tome and manage your conversions.183<!-- tomevault:4.0:skill_md:2026-04-16 -->