baoyu slide deck

Other Community v1.117.4

Skill notes

User Input Tools

When this skill prompts the user, follow this tool-selection rule (priority order): Prefer built-in user-input tools exposed by the current agent runtime — e.g., AskUserQuestion, request_user_input, clarify, ask_user, or any equivalent. Fallback: if no such tool exists, emit a numbered plain-text message and ask the user to reply with the chosen number/answer for each question. Batching: if the tool supports multiple questions per call, combine all applicable questions into a single call; if only single-question, ask them one at a time in priority order.

Image Generation Tools

When this skill needs to render an image, resolve the backend in this order: Current-request override — if the user names a specific backend in the current message, use it. Saved preference — if EXTEND.md sets preferred_image_backend to a backend available right now, use it.

Language

Respond in the user's language across questions, progress reports, error messages, and the completion summary. Keep technical tokens (style names, file paths, code) in English.

Script Directory

{baseDir} = this SKILL.md's directory. Resolve ${BUN_X}: prefer bun; else npx -y bun; else suggest brew install oven-sh/bun/bun. Script · Purpose scripts/merge-to-pptx.ts · Merge slides into PowerPoint scripts/merge-to-pdf.ts · Merge slides into PDF

Options

Option · Description --style <name> · Preset (see Presets below), custom, or custom style name --audience <type> · beginners / intermediate / experts / executives / general --lang <code> · Output language (en, zh, ja, ...) --slides <N> · Target slide count (8-25 recommended, max 30)

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
Other
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
92 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@JimLiu · v1.117.4 · no license declared
Token usage
Heavy
Setup complexity
Guided setup
External API key
Not required
Operating systems
macOS · Linux · Windows
Runtime requirements
Bun
Detected file/system behavior
  • Read-only
  • Write / modify
  • Shell exec
Network behavior
Local-only
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

01
Step 1: Setup & Analyze

1.1 Load EXTEND.md — check these paths in order; first hit wins: Path · Scope `.baoyu-skills/baoyu-slide-deck/EXTEND.md` · Project `${XDG_CONFIG_HOME:-$HOME/.config}/baoyu-skills/baoyu-slide-deck/EXTEND.md` · XDG `$HOME/.baoyu-skills/baoyu-slide-deck/EXTEND.md` · User home

02
Step 3: Generate Outline

Resolve style: preset → `references/styles/{preset}.md`; custom dimensions → combine files in `references/dimensions/`. Build `STYLE_INSTRUCTIONS` from the resolved style, apply confirmed audience + language + slide count, follow `references/outline-template.md`, and save as `outline.md`. Stop here if `--outline-only`. Skip Step 4 if `skip_outline_review`.

03
Step 4: Review Outline (Conditional)

Display a slide-by-slide table (`# | Title | Type | Layout`) along with total count and resolved style. Ask: proceed / edit outline first / regenerate — verbatim in `references/confirmation.md`. On "Edit outline first", tell the user to edit `outline.md` and ask again when ready. On "Regenerate outline", return to Step 3.

04
Step 5: Generate Prompts

For each slide in outline: Read `references/base-prompt.md` Extract `STYLE_INSTRUCTIONS` from the outline (don't re-read the style file) Add the slide's content If a `Layout:` is specified, include guidance from `references/layouts.md`

05
Step 6: Review Prompts (Conditional)

Display the prompts index (`# | Filename | Slide Title`) and ask: proceed / edit prompts first / regenerate — verbatim in `references/confirmation.md`. Branches mirror Step 4.

06
Step 7: Generate Images

Resolve the image backend via the Image Generation Tools rule at the top — ask once if multiple are installed. `codex-imagegen` invocation: when the rule resolves to `codex-imagegen`, see references/codex-imagegen.md for the invocation contract (preferred `baoyu-image-gen --provider codex-cli` path, runtime wrapper discovery, parameter notes, stdout schema, batch semantics — n=1 per call so slide batches must dispatch one wrapper call per slide).

07
Step 8: Merge

Step 8: Merge

08
Step 9: Summary

Step 9: Summary

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.