Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Analyze articles and generate contextual illustrations using Type × Style two-dimension approach across multiple AI providers.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/config/first-time-setup.md
1---2name: first-time-setup3description: First-time setup flow for baoyu-article-illustrator preferences4---56# First-Time Setup78## Overview910When no EXTEND.md is found, guide user through preference setup.1112**⛔ BLOCKING OPERATION**: This setup MUST complete before ANY other workflow steps. Do NOT:13- Ask about reference images14- Ask about content/article15- Ask about type or style preferences16- Proceed to content analysis1718ONLY ask the questions in this setup flow, save EXTEND.md, then continue.1920## Setup Flow2122```23No EXTEND.md found24│25▼26┌─────────────────────┐27│ AskUserQuestion │28│ (all questions) │29└─────────────────────┘30│31▼32┌─────────────────────┐33│ Create EXTEND.md │34└─────────────────────┘35│36▼37Continue to Step 138```3940## Questions4142**Language**: Use user's input language or preferred language for all questions. Do not always use English.4344Use single AskUserQuestion with multiple questions (AskUserQuestion auto-adds "Other" option):4546### Question 1: Watermark4748```49header: "Watermark"50question: "Watermark text for generated illustrations? Type your watermark content (e.g., name, @handle)"51options:52- label: "No watermark (Recommended)"53description: "No watermark, can enable later in EXTEND.md"54```5556Position defaults to bottom-right.5758### Question 2: Preferred Style5960```61header: "Style"62question: "Default illustration style preference? Or type another style name or your custom style"63options:64- label: "sketch-notes (Recommended)"65description: "Warm cream paper, black hand-drawn lines, soft pastel blocks — educational infographic feel. Great default for most articles."66- label: "None"67description: "Auto-select based on content analysis (falls back to sketch-notes when no strong signal)"68- label: "notion"69description: "Minimalist hand-drawn line art"70- label: "warm"71description: "Friendly, approachable, personal"72```7374### Question 3: Output Directory7576```77header: "Output Directory"78question: "Where to save generated illustrations when illustrating a file?"79options:80- label: "imgs-subdir (Recommended)"81description: "{article-dir}/imgs/ — images in a subdirectory next to the article"82- label: "same-dir"83description: "{article-dir}/ — images alongside the article file"84- label: "illustrations-subdir"85description: "{article-dir}/illustrations/ — separate illustrations subdirectory"86- label: "independent"87description: "illustrations/{topic-slug}/ — standalone directory in cwd"88```8990### Question 4: Save Location9192```93header: "Save"94question: "Where to save preferences?"95options:96- label: "Project"97description: ".baoyu-skills/ (this project only)"98- label: "User"99description: "~/.baoyu-skills/ (all projects)"100```101102## Save Locations103104| Choice | Path | Scope |105|--------|------|-------|106| Project | `.baoyu-skills/baoyu-article-illustrator/EXTEND.md` | Current project |107| User | `~/.baoyu-skills/baoyu-article-illustrator/EXTEND.md` | All projects |108109## After Setup1101111. Create directory if needed1122. Write EXTEND.md with frontmatter1133. Confirm: "Preferences saved to [path]"1144. Continue to Step 1115116## EXTEND.md Template117118```yaml119---120version: 1121watermark:122enabled: [true/false]123content: "[user input or empty]"124position: bottom-right125opacity: 0.7126preferred_style:127name: [selected style or null]128description: ""129default_output_dir: imgs-subdir # same-dir | imgs-subdir | illustrations-subdir | independent130language: null131preferred_image_backend: auto132custom_styles: []133---134```135136`preferred_image_backend: auto` is the baked-in default — first-time setup does not ask about it. The `## Image Generation Tools` rule in SKILL.md then picks the runtime-native tool (Codex `imagegen`, Hermes `image_generate`, etc.) when available, and falls back to installed backends.137138## Modifying Preferences Later139140See the `## Changing Preferences` section in `SKILL.md` for the canonical list of common edits (pin backend, change defaults, retrigger setup). Full schema: `preferences-schema.md`.141