Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Generate article cover images with 5-dimensional customization: type, palette, rendering, text level, and mood.
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-cover-image 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 dimensions (type, palette, rendering)16- 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 saved language preference.4344Use AskUserQuestion with ALL questions in ONE call:4546### Question 1: Watermark4748```yaml49header: "Watermark"50question: "Watermark text for generated cover images?"51options:52- label: "No watermark (Recommended)"53description: "Clean covers, can enable later in EXTEND.md"54```5556### Question 2: Preferred Type5758```yaml59header: "Type"60question: "Default cover type preference?"61options:62- label: "Auto-select (Recommended)"63description: "Choose based on content analysis each time"64- label: "hero"65description: "Large visual impact - product launch, announcements"66- label: "conceptual"67description: "Concept visualization - technical, architecture"68```6970### Question 3: Preferred Palette7172```yaml73header: "Palette"74question: "Default color palette preference?"75options:76- label: "Auto-select (Recommended)"77description: "Choose based on content analysis each time"78- label: "elegant"79description: "Sophisticated - soft coral, muted teal, dusty rose"80- label: "warm"81description: "Friendly - orange, golden yellow, terracotta"82- label: "cool"83description: "Technical - engineering blue, navy, cyan"84```8586### Question 4: Preferred Rendering8788```yaml89header: "Rendering"90question: "Default rendering style preference?"91options:92- label: "Auto-select (Recommended)"93description: "Choose based on content analysis each time"94- label: "hand-drawn"95description: "Sketchy organic illustration with personal touch"96- label: "flat-vector"97description: "Clean modern vector with geometric shapes"98- label: "digital"99description: "Polished precise digital illustration"100```101102### Question 5: Default Aspect Ratio103104```yaml105header: "Aspect"106question: "Default aspect ratio for cover images?"107options:108- label: "16:9 (Recommended)"109description: "Standard widescreen - YouTube, presentations, versatile"110- label: "2.35:1"111description: "Cinematic widescreen - article headers, blog posts"112- label: "1:1"113description: "Square - Instagram, WeChat, social cards"114- label: "3:4"115description: "Portrait - Xiaohongshu, Pinterest, mobile content"116```117118Note: More ratios (4:3, 3:2) available during generation. This sets the default recommendation.119120### Question 6: Default Output Directory121122```yaml123header: "Output"124question: "Default output directory for cover images?"125options:126- label: "Independent (Recommended)"127description: "cover-image/{topic-slug}/ - separate from article"128- label: "Same directory"129description: "{article-dir}/ - alongside the article file"130- label: "imgs subdirectory"131description: "{article-dir}/imgs/ - images folder near article"132```133134### Question 7: Quick Mode135136```yaml137header: "Quick"138question: "Enable quick mode by default?"139options:140- label: "No (Recommended)"141description: "Confirm dimension choices each time"142- label: "Yes"143description: "Skip confirmation, use auto-selection"144```145146### Question 8: Save Location147148```yaml149header: "Save"150question: "Where to save preferences?"151options:152- label: "Project (Recommended)"153description: ".baoyu-skills/ (this project only)"154- label: "User"155description: "~/.baoyu-skills/ (all projects)"156```157158## Save Locations159160| Choice | Path | Scope |161|--------|------|-------|162| Project | `.baoyu-skills/baoyu-cover-image/EXTEND.md` | Current project |163| User | `~/.baoyu-skills/baoyu-cover-image/EXTEND.md` | All projects |164165## After Setup1661671. Create directory if needed1682. Write EXTEND.md with frontmatter1693. Confirm: "Preferences saved to [path]"1704. Continue to Step 1171172## EXTEND.md Template173174```yaml175---176version: 3177watermark:178enabled: [true/false]179content: "[user input or empty]"180position: bottom-right181opacity: 0.7182preferred_type: [selected type or null]183preferred_palette: [selected palette or null]184preferred_rendering: [selected rendering or null]185preferred_text: title-only186preferred_mood: balanced187default_aspect: [16:9/2.35:1/1:1/3:4]188default_output_dir: [independent/same-dir/imgs-subdir]189quick_mode: [true/false]190language: null191preferred_image_backend: auto192custom_palettes: []193---194```195196`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.197198## Modifying Preferences Later199200See 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`.201202**EXTEND.md Supports**: Watermark | Preferred type | Preferred palette | Preferred rendering | Preferred text | Preferred mood | Default aspect ratio | Default output directory | Quick mode | Image backend preference | Custom palette definitions | Language preference203