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/preferences-schema.md
1---2name: preferences-schema3description: EXTEND.md YAML schema for baoyu-xhs-images user preferences4---56# Preferences Schema78## Full Schema910```yaml11---12version: 11314watermark:15enabled: false16content: ""17position: bottom-right # bottom-right|bottom-left|bottom-center|top-right1819preferred_style:20name: null # Built-in or custom style name21description: "" # Override/notes2223preferred_layout: null # sparse|balanced|dense|list|comparison|flow2425language: null # zh|en|ja|ko|auto2627preferred_image_backend: auto # auto|ask|<backend-id>2829generation_batch_size: 4 # 1-8, used when backend/runtime supports batch or parallel generation3031custom_styles:32- name: my-style33description: "Style description"34color_palette:35primary: ["#FED7E2", "#FEEBC8"]36background: "#FFFAF0"37accents: ["#FF69B4", "#FF6B6B"]38visual_elements: "Hearts, stars, sparkles"39typography: "Rounded, bubbly hand lettering"40best_for: "Lifestyle, beauty"41---42```4344## Field Reference4546| Field | Type | Default | Description |47|-------|------|---------|-------------|48| `version` | int | 1 | Schema version |49| `watermark.enabled` | bool | false | Enable watermark |50| `watermark.content` | string | "" | Watermark text (@username or custom) |51| `watermark.position` | enum | bottom-right | Position on image |52| `preferred_style.name` | string | null | Style name or null |53| `preferred_style.description` | string | "" | Custom notes/override |54| `preferred_layout` | string | null | Layout preference or null |55| `language` | string | null | Output language (null = auto-detect) |56| `preferred_image_backend` | string | `auto` | Image backend selection. `auto` = prefer runtime-native tool, fall back to the only installed backend, ask if multiple non-native are present. `ask` = always confirm on every run. `<backend-id>` (e.g., `codex-imagegen`, `baoyu-image-gen`, `image_generate`) = pin this backend when available; fall back to `auto` when it isn't. Absent = `auto`. Resolution logic is documented in `SKILL.md`'s `## Image Generation Tools` section. |57| `generation_batch_size` | int | 4 | Number of images to dispatch per batch when the backend has native batch support or the runtime can issue parallel generation calls. Clamp invalid values to 1-8. Current user request overrides this value. |58| `custom_styles` | array | [] | User-defined styles |5960## Position Options6162| Value | Description |63|-------|-------------|64| `bottom-right` | Lower right corner (default, most common) |65| `bottom-left` | Lower left corner |66| `bottom-center` | Bottom center |67| `top-right` | Upper right corner |6869## Custom Style Fields7071| Field | Required | Description |72|-------|----------|-------------|73| `name` | Yes | Unique style identifier (kebab-case) |74| `description` | Yes | What the style conveys |75| `color_palette.primary` | No | Main colors (array) |76| `color_palette.background` | No | Background color |77| `color_palette.accents` | No | Accent colors (array) |78| `visual_elements` | No | Decorative elements |79| `typography` | No | Font/lettering style |80| `best_for` | No | Recommended content types |8182## Example: Minimal Preferences8384```yaml85---86version: 187watermark:88enabled: true89content: "@myusername"90preferred_style:91name: notion92---93```9495## Example: Full Preferences9697```yaml98---99version: 1100watermark:101enabled: true102content: "@myxhsaccount"103position: bottom-right104105preferred_style:106name: notion107description: "Clean knowledge cards for tech content"108109preferred_layout: dense110111language: zh112113preferred_image_backend: codex-imagegen114115generation_batch_size: 4116117custom_styles:118- name: corporate119description: "Professional B2B style"120color_palette:121primary: ["#1E3A5F", "#4A90D9"]122background: "#F5F7FA"123accents: ["#00B4D8", "#48CAE4"]124visual_elements: "Clean lines, subtle gradients, geometric shapes"125typography: "Modern sans-serif, professional"126best_for: "Business, SaaS, enterprise"127---128```129