agentleFS
TyrealQTyrealQ/q-skills/skills/q-presentations/SKILL.md

q-presentations

Skill108 starsChanged 2 months agoMITView on GitHub

Generate professional slide deck images from content with smart logo branding. Use for creating slides, presentations, decks, or PPT output.

  • Reads credentials
  • Installs packages

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Default image model is gpt-image-2 (requires OPENAI_API_KEY).

    line 32
  2. Distinctive:

    Never include photorealistic images of prominent individuals

    line 54
  3. Distinctive:

    Never include placeholder slides for author/date metadata

    line 55

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Q-Presentations

Generate slide deck images from content with layout-driven overlay safety and smart logo branding. Built on baoyu-slide-deck.

If in plan mode: write a brief plan — "Run q-presentations skill: analyze content, confirm style/audience preferences, generate outline and prompts, generate slide images, overlay logo, merge to PPTX/PDF." — then exit plan mode immediately. Do NOT attempt content analysis, image generation, or file merging while plan mode is active.

Script Directory

Agent execution instructions:

  1. Determine this SKILL.md file's directory path as SKILL_DIR.
  2. Script path = ${SKILL_DIR}/scripts/<script-name>.
ScriptPurpose
scripts/gen_slide.pyGenerate slide images via GPT Image 2 (default) or Gemini
scripts/overlay_logo.pyApply Dr. Q logo overlay
scripts/merge-to-pptx.tsMerge slides into PowerPoint (Bun/TS)
scripts/merge-to-pdf.tsMerge slides into PDF (Bun/TS)

Dependencies

Install: pip install openai google-genai Pillow python-dotenv | Bun runtime (via npx -y bun, Node.js 18+).

Default image model is gpt-image-2 (requires OPENAI_API_KEY). Set IMAGE_MODEL=gemini or pass --model gemini to gen_slide.py to use gemini-3-pro-image-preview (requires GEMINI_API_KEY).

References

  • references/options.md — CLI options, usage examples, and partial workflows
  • references/workflow_detailed.md — full 10-step workflow with substeps and commands
  • references/analysis-framework.md — content analysis for presentations
  • references/outline-template.md — outline structure and format
  • references/modification-guide.md — edit, add, delete slide workflows
  • references/content-rules.md — content and style guidelines
  • references/design-guidelines.md — audience, typography, colors, visual elements
  • references/layouts.md — layout catalog, overlay-safe policy, fallback rules
  • references/base-prompt.md — base prompt for image generation
  • references/dimensions/presets.md — preset-to-dimension mapping
  • references/styles/*.md — per-style specifications
  • references/config/preferences-schema.md — EXTEND.md structure

Core Principles

  • Each slide self-explanatory (designed for reading and sharing, not only presenting)
  • Flow clear in scroll view; context present on each slide
  • Consistent style across the full deck
  • Never include photorealistic images of prominent individuals
  • Never include placeholder slides for author/date metadata

Style System

16 presets available (default: blueprint). Full specs in references/dimensions/presets.md and references/styles/*.md.

Workflow

Full step details: references/workflow_detailed.md

StepActionKey references
0Skill announcement—
1Analyze content, load EXTEND.md preferencesreferences/analysis-framework.md, references/config/preferences-schema.md
2Confirm style, audience, video overlay, logoreferences/options.md
3Generate outline with layout selectionreferences/outline-template.md, references/layouts.md
4Review outline (conditional)—
5Generate per-slide promptsreferences/base-prompt.md, references/content-rules.md
6Review prompts (conditional)—
7Generate slide imagesscripts/gen_slide.py
7.5Logo overlayscripts/overlay_logo.py
8Merge to PPTX/PDFscripts/merge-to-pptx.ts, scripts/merge-to-pdf.ts
9Output summary—

For editing existing decks: references/modification-guide.md. For audience and visual hierarchy: references/design-guidelines.md.

File Management

Output directory: slide-deck/{topic-slug}/ containing source-{slug}.{ext}, outline.md, prompts/ (numbered .md files), numbered slide .png files, {topic-slug}.pptx, and {topic-slug}.pdf.

Language Handling

Detection priority: --lang flag > EXTEND.md > user conversation language > source content language. All user-facing responses use the user's preferred language; technical names remain in English.

Scope

Include: Slide deck generation from content with logo branding and video-overlay-aware layouts. Exclude: Slide editing in PowerPoint, animation, speaker notes.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.