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>2829custom_styles:30- name: my-style31description: "Style description"32color_palette:33primary: ["#FED7E2", "#FEEBC8"]34background: "#FFFAF0"35accents: ["#FF69B4", "#FF6B6B"]36visual_elements: "Hearts, stars, sparkles"37typography: "Rounded, bubbly hand lettering"38best_for: "Lifestyle, beauty"39---40```4142## Field Reference4344| Field | Type | Default | Description |45|-------|------|---------|-------------|46| `version` | int | 1 | Schema version |47| `watermark.enabled` | bool | false | Enable watermark |48| `watermark.content` | string | "" | Watermark text (@username or custom) |49| `watermark.position` | enum | bottom-right | Position on image |50| `preferred_style.name` | string | null | Style name or null |51| `preferred_style.description` | string | "" | Custom notes/override |52| `preferred_layout` | string | null | Layout preference or null |53| `language` | string | null | Output language (null = auto-detect) |54| `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-imagine`, `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. |55| `custom_styles` | array | [] | User-defined styles |5657## Position Options5859| Value | Description |60|-------|-------------|61| `bottom-right` | Lower right corner (default, most common) |62| `bottom-left` | Lower left corner |63| `bottom-center` | Bottom center |64| `top-right` | Upper right corner |6566## Custom Style Fields6768| Field | Required | Description |69|-------|----------|-------------|70| `name` | Yes | Unique style identifier (kebab-case) |71| `description` | Yes | What the style conveys |72| `color_palette.primary` | No | Main colors (array) |73| `color_palette.background` | No | Background color |74| `color_palette.accents` | No | Accent colors (array) |75| `visual_elements` | No | Decorative elements |76| `typography` | No | Font/lettering style |77| `best_for` | No | Recommended content types |7879## Example: Minimal Preferences8081```yaml82---83version: 184watermark:85enabled: true86content: "@myusername"87preferred_style:88name: notion89---90```9192## Example: Full Preferences9394```yaml95---96version: 197watermark:98enabled: true99content: "@myxhsaccount"100position: bottom-right101102preferred_style:103name: notion104description: "Clean knowledge cards for tech content"105106preferred_layout: dense107108language: zh109110preferred_image_backend: codex-imagegen111112custom_styles:113- name: corporate114description: "Professional B2B style"115color_palette:116primary: ["#1E3A5F", "#4A90D9"]117background: "#F5F7FA"118accents: ["#00B4D8", "#48CAE4"]119visual_elements: "Clean lines, subtle gradients, geometric shapes"120typography: "Modern sans-serif, professional"121best_for: "Business, SaaS, enterprise"122---123```124