Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Generate Xiaohongshu (Little Red Book) infographic series with 11 styles and 8 layouts optimized for XHS engagement.
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-xhs-images 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 content/article14- Ask about style or layout15- Ask about target audience16- 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 single AskUserQuestion with multiple questions (AskUserQuestion auto-adds "Other" option):4546### Question 1: Watermark4748```49header: "Watermark"50question: "Watermark text for generated images? 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 visual style preference? Or type another style name or your custom style"63options:64- label: "None (Recommended)"65description: "Auto-select based on content analysis"66- label: "cute"67description: "Sweet, adorable - classic XHS aesthetic"68- label: "notion"69description: "Minimalist hand-drawn, intellectual"70```7172### Question 3: Save Location7374```75header: "Save"76question: "Where to save preferences?"77options:78- label: "Project"79description: ".baoyu-skills/ (this project only)"80- label: "User"81description: "~/.baoyu-skills/ (all projects)"82```8384## Save Locations8586| Choice | Path | Scope |87|--------|------|-------|88| Project | `.baoyu-skills/baoyu-xhs-images/EXTEND.md` | Current project |89| User | `~/.baoyu-skills/baoyu-xhs-images/EXTEND.md` | All projects |9091## After Setup92931. Create directory if needed942. Write EXTEND.md with frontmatter953. Confirm: "Preferences saved to [path]"964. Continue to Step 19798## EXTEND.md Template99100```yaml101---102version: 1103watermark:104enabled: [true/false]105content: "[user input or empty]"106position: bottom-right107opacity: 0.7108preferred_style:109name: [selected style or null]110description: ""111preferred_layout: null112language: null113preferred_image_backend: auto114custom_styles: []115---116```117118`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.119120## Modifying Preferences Later121122See 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`.123