diff --git a/README.md b/README.md index 341d68e..7b7c3e2 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ Content generation and publishing skills. #### baoyu-image-cards -Image card series generator. Breaks down content into 1-10 cartoon-style image cards with **Style × Layout** two-dimensional system. +Image card series generator. Breaks down content into 1-10 cartoon-style image cards with **Style × Layout** system and optional palette override. ```bash # Auto-select style and layout @@ -114,6 +114,9 @@ Image card series generator. Breaks down content into 1-10 cartoon-style image c # Combine style and layout /baoyu-image-cards posts/ai-future/article.md --style notion --layout list +# Override palette +/baoyu-image-cards posts/ai-future/article.md --style notion --palette macaron + # Direct content input /baoyu-image-cards 今日星座运势 @@ -122,7 +125,9 @@ Image card series generator. Breaks down content into 1-10 cartoon-style image c /baoyu-image-cards posts/ai-future/article.md --yes --preset knowledge-card ``` -**Styles** (visual aesthetics): `cute` (default), `fresh`, `warm`, `bold`, `minimal`, `retro`, `pop`, `notion`, `chalkboard` +**Styles** (visual aesthetics): `cute` (default), `fresh`, `warm`, `bold`, `minimal`, `retro`, `pop`, `notion`, `chalkboard`, `study-notes`, `screen-print`, `sketch-notes` + +**Palettes** (optional color override): `macaron`, `warm`, `neon` **Style Previews**: diff --git a/README.zh.md b/README.zh.md index 0f254da..1fc877b 100644 --- a/README.zh.md +++ b/README.zh.md @@ -99,7 +99,7 @@ clawhub install baoyu-markdown-to-html #### baoyu-image-cards -图片卡片系列生成器。将内容拆解为 1-10 张卡通风格图片卡片,支持 **风格 × 布局** 二维系统。 +图片卡片系列生成器。将内容拆解为 1-10 张卡通风格图片卡片,支持 **风格 × 布局** 系统和可选配色覆盖。 ```bash # 自动选择风格和布局 @@ -114,6 +114,9 @@ clawhub install baoyu-markdown-to-html # 组合风格和布局 /baoyu-image-cards posts/ai-future/article.md --style notion --layout list +# 覆盖配色 +/baoyu-image-cards posts/ai-future/article.md --style notion --palette macaron + # 直接输入内容 /baoyu-image-cards 今日星座运势 @@ -122,7 +125,9 @@ clawhub install baoyu-markdown-to-html /baoyu-image-cards posts/ai-future/article.md --yes --preset knowledge-card ``` -**风格**(视觉美学):`cute`(默认)、`fresh`、`warm`、`bold`、`minimal`、`retro`、`pop`、`notion`、`chalkboard` +**风格**(视觉美学):`cute`(默认)、`fresh`、`warm`、`bold`、`minimal`、`retro`、`pop`、`notion`、`chalkboard`、`study-notes`、`screen-print`、`sketch-notes` + +**配色**(可选颜色覆盖):`macaron`、`warm`、`neon` **风格预览**: diff --git a/skills/baoyu-image-cards/SKILL.md b/skills/baoyu-image-cards/SKILL.md index e4b87e9..a339d13 100644 --- a/skills/baoyu-image-cards/SKILL.md +++ b/skills/baoyu-image-cards/SKILL.md @@ -1,6 +1,6 @@ --- name: baoyu-image-cards -description: Generates infographic image card series with 11 visual styles and 8 layouts. Breaks content into 1-10 cartoon-style image cards optimized for social media engagement. Use when user mentions "小红书图片", "小红书种草", "小绿书", "微信图文", "微信贴图", "image cards", "图片卡片", or wants social media infographic series. +description: Generates infographic image card series with 12 visual styles, 8 layouts, and 3 color palettes. Breaks content into 1-10 cartoon-style image cards optimized for social media engagement. Use when user mentions "小红书图片", "小红书种草", "小绿书", "微信图文", "微信贴图", "image cards", "图片卡片", or wants social media infographic series. version: 1.56.1 metadata: openclaw: @@ -26,12 +26,18 @@ Break down complex content into eye-catching image card series with multiple sty # Combine style and layout /baoyu-image-cards posts/ai-future/article.md --style notion --layout list -# Use preset (style + layout shorthand) +# Specify palette (override style colors) +/baoyu-image-cards posts/ai-future/article.md --style notion --palette macaron + +# Use preset (style + layout + optional palette shorthand) /baoyu-image-cards posts/ai-future/article.md --preset knowledge-card # Preset with override /baoyu-image-cards posts/ai-future/article.md --preset poster --layout quadrant +# Preset with palette override +/baoyu-image-cards posts/ai-future/article.md --preset hand-drawn-edu --palette warm + # Direct content input /baoyu-image-cards [paste content] @@ -51,20 +57,28 @@ Break down complex content into eye-catching image card series with multiple sty |--------|-------------| | `--style ` | Visual style (see Style Gallery) | | `--layout ` | Information layout (see Layout Gallery) | -| `--preset ` | Style + layout shorthand (see [Style Presets](references/style-presets.md)) | +| `--palette ` | Color palette override (see Palette Gallery) | +| `--preset ` | Style + layout + optional palette shorthand (see [Style Presets](references/style-presets.md)) | | `--yes` | Non-interactive mode: skip all confirmations. Uses EXTEND.md preferences if found, otherwise uses defaults (no watermark, auto style/layout). Auto-confirms recommended plan (Path A). Suitable for scheduled tasks and automation. | -## Two Dimensions +## Dimensions | Dimension | Controls | Options | |-----------|----------|---------| -| **Style** | Visual aesthetics: colors, lines, decorations | cute, fresh, warm, bold, minimal, retro, pop, notion, chalkboard, study-notes, screen-print | +| **Style** | Visual aesthetics: lines, decorations, rendering | cute, fresh, warm, bold, minimal, retro, pop, notion, chalkboard, study-notes, screen-print, sketch-notes | | **Layout** | Information structure: density, arrangement | sparse, balanced, dense, list, comparison, flow, mindmap, quadrant | +| **Palette** (optional) | Color override: replaces style's default colors | macaron, warm, neon | -Style × Layout can be freely combined. Example: `--style notion --layout dense` creates an intellectual-looking knowledge card with high information density. +Style × Layout can be freely combined, with optional palette override. Example: `--style notion --layout dense` creates an intellectual-looking knowledge card with high information density. Add `--palette macaron` to swap colors to soft pastels while keeping notion's rendering style. Or use presets: `--preset knowledge-card` → style + layout in one flag. See [Style Presets](references/style-presets.md). +**Palette behavior**: +- No `--palette` → style uses its built-in colors (or its `default_palette` if defined) +- `--palette macaron` → overrides any style's colors with macaron palette +- Palette replaces colors only; style rendering rules (line treatment, elements, textures) stay unchanged +- Some styles declare a `default_palette` (e.g., sketch-notes defaults to macaron) + ## Style Gallery | Style | Description | @@ -80,6 +94,7 @@ Or use presets: `--preset knowledge-card` → style + layout in one flag. See [S | `chalkboard` | Colorful chalk on black board, educational | | `study-notes` | Realistic handwritten photo style, blue pen + red annotations + yellow highlighter | | `screen-print` | Bold poster art, halftone textures, limited colors, symbolic storytelling | +| `sketch-notes` | Hand-drawn educational infographic, macaron pastels on warm cream, wobble lines | Detailed style definitions: `references/presets/