
Baoyu Xhs Images
Run first-time preference setup then generate Xiaohongshu-style carousel images with watermark and style choices locked in EXTEND.md.
Install
npx skills add https://github.com/xy121718/baoyu-skills --skill baoyu-xhs-imagesWhat is this skill?
- Blocking first-time setup: must complete AskUserQuestion flow and save EXTEND.md before any generation
- Configures watermark text and default visual style via guided questions (no silent defaults)
- Prevents skipping setup by blocking content, layout, and audience questions until preferences exist
- Tailored to Xiaohongshu (小红书) image workflows in the baoyu-skills family
- Uses user language or saved language preference during setup
Adoption & trust: 1 installs on skills.sh; 94 GitHub stars; 3/3 security scanners passed (skills.sh audits); trending (+100% hot-view momentum).
Recommended Skills
Video Editagentspace-so/runcomfy-agent-skills
Image To Videoagentspace-so/runcomfy-agent-skills
Image Editagentspace-so/runcomfy-agent-skills
Flux Kontextagentspace-so/runcomfy-agent-skills
Nano Banana 2agentspace-so/runcomfy-agent-skills
Nano Banana Editagentspace-so/runcomfy-agent-skills
Journey fit
Common Questions / FAQ
Is Baoyu Xhs Images safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Baoyu Xhs Images
# First-Time Setup ## ⚠️ 重要:必须询问用户选择! - **禁止**:直接使用默认选项而不询问用户 - **禁止**:跳过设置步骤直接生成 - **必须**:用 AskUserQuestion 让用户选择每个选项 - **必须**:等用户确认后再保存 EXTEND.md ## Overview When no EXTEND.md is found, guide user through preference setup. **⛔ BLOCKING OPERATION**: This setup MUST complete before ANY other workflow steps. Do NOT: - Ask about content/article - Ask about style or layout - Ask about target audience - Proceed to content analysis ONLY ask the questions in this setup flow, save EXTEND.md, then continue. ## Setup Flow ``` No EXTEND.md found │ ▼ ┌─────────────────────┐ │ AskUserQuestion │ │ (all questions) │ └─────────────────────┘ │ ▼ ┌─────────────────────┐ │ Create EXTEND.md │ └─────────────────────┘ │ ▼ Continue to Step 1 ``` ## Questions **Language**: Use user's input language or saved language preference. Use single AskUserQuestion with multiple questions (AskUserQuestion auto-adds "Other" option): ### Question 1: Watermark ``` header: "Watermark" question: "Watermark text for generated images? Type your watermark content (e.g., name, @handle)" options: - label: "No watermark (Recommended)" description: "No watermark, can enable later in EXTEND.md" ``` Position defaults to bottom-right. ### Question 2: Preferred Style ``` header: "Style" question: "Default visual style preference? Or type another style name or your custom style" options: - label: "None (Recommended)" description: "Auto-select based on content analysis" - label: "cute" description: "Sweet, adorable - classic XHS aesthetic" - label: "notion" description: "Minimalist hand-drawn, intellectual" ``` ### Question 3: Save Location ``` header: "Save" question: "Where to save preferences?" options: - label: "Project" description: ".baoyu-skills/ (this project only)" - label: "User" description: "~/.baoyu-skills/ (all projects)" ``` ## Save Locations | Choice | Path | Scope | |--------|------|-------| | Project | `.baoyu-skills/baoyu-xhs-images/EXTEND.md` | Current project | | User | `~/.baoyu-skills/baoyu-xhs-images/EXTEND.md` | All projects | ## After Setup 1. Create directory if needed 2. Write EXTEND.md with frontmatter 3. Confirm: "Preferences saved to [path]" 4. Continue to Step 1 ## EXTEND.md Template ```yaml --- version: 1 watermark: enabled: [true/false] content: "[user input or empty]" position: bottom-right opacity: 0.7 preferred_style: name: [selected style or null] description: "" preferred_layout: null language: null custom_styles: [] --- ``` ## Modifying Preferences Later Users can edit EXTEND.md directly or run setup again: - Delete EXTEND.md to trigger setup - Edit YAML frontmatter for quick changes - Full schema: `config/preferences-schema.md` --- name: preferences-schema description: EXTEND.md YAML schema for baoyu-xhs-images user preferences --- # Preferences Schema ## Full Schema ```yaml --- version: 1 watermark: enabled: false content: "" position: bottom-right # bottom-right|bottom-left|bottom-center|top-right preferred_style: name: null # Built-in or custom style name description: "" # Override/notes preferred_layout: null # sparse|balanced|dense|list|comparison|flow language: null # zh|en|ja|ko|auto custom_styles: - name: my-style description: "Style description" color_palette: primary: ["#FED7E2", "#FEEBC8"] background: "#FFFAF0" accents: ["#FF69B4", "#FF6B6B"] visual_elements: "Hearts, stars, sparkles" typography: "Rounded, bubbly hand lettering" best_for: "Lifestyle, beauty" --- ``` ## Field Reference | Field | Type | Default | Description | |-------|------|---------|-------------| | `version` | int | 1 | Schema version | | `watermark.enabled` | bool | false | Enable watermark | | `watermark.content` | string | ""