From a596c653d3eb0a07ccdf47dd8d1d7ffb352f8118 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jim=20Liu=20=E5=AE=9D=E7=8E=89?= Date: Thu, 9 Apr 2026 10:47:28 -0500 Subject: [PATCH] feat(baoyu-image-cards): add image card series skill migrated from baoyu-xhs-images Rename baoyu-xhs-images to baoyu-image-cards to decouple from Xiaohongshu platform. Deprecate baoyu-xhs-images with migration notice pointing to baoyu-image-cards. --- .claude-plugin/marketplace.json | 2 +- CLAUDE.md | 1 + README.md | 18 +- README.zh.md | 18 +- skills/baoyu-image-cards/SKILL.md | 603 ++++++++++++++++++ .../references/config/first-time-setup.md | 122 ++++ .../references/config/preferences-schema.md | 118 ++++ .../references/config/watermark-guide.md | 62 ++ .../references/elements/canvas.md | 122 ++++ .../references/elements/decorations.md | 152 +++++ .../references/elements/image-effects.md | 92 +++ .../references/elements/typography.md | 96 +++ .../references/presets/bold.md | 72 +++ .../references/presets/chalkboard.md | 97 +++ .../references/presets/cute.md | 72 +++ .../references/presets/fresh.md | 72 +++ .../references/presets/minimal.md | 72 +++ .../references/presets/notion.md | 73 +++ .../references/presets/pop.md | 72 +++ .../references/presets/retro.md | 72 +++ .../references/presets/screen-print.md | 92 +++ .../references/presets/study-notes.md | 115 ++++ .../references/presets/warm.md | 72 +++ .../references/style-presets.md | 36 ++ .../workflows/analysis-framework.md | 198 ++++++ .../references/workflows/outline-template.md | 247 +++++++ .../references/workflows/prompt-assembly.md | 334 ++++++++++ skills/baoyu-xhs-images/SKILL.md | 4 +- 28 files changed, 3086 insertions(+), 20 deletions(-) create mode 100644 skills/baoyu-image-cards/SKILL.md create mode 100644 skills/baoyu-image-cards/references/config/first-time-setup.md create mode 100644 skills/baoyu-image-cards/references/config/preferences-schema.md create mode 100644 skills/baoyu-image-cards/references/config/watermark-guide.md create mode 100644 skills/baoyu-image-cards/references/elements/canvas.md create mode 100644 skills/baoyu-image-cards/references/elements/decorations.md create mode 100644 skills/baoyu-image-cards/references/elements/image-effects.md create mode 100644 skills/baoyu-image-cards/references/elements/typography.md create mode 100644 skills/baoyu-image-cards/references/presets/bold.md create mode 100644 skills/baoyu-image-cards/references/presets/chalkboard.md create mode 100644 skills/baoyu-image-cards/references/presets/cute.md create mode 100644 skills/baoyu-image-cards/references/presets/fresh.md create mode 100644 skills/baoyu-image-cards/references/presets/minimal.md create mode 100644 skills/baoyu-image-cards/references/presets/notion.md create mode 100644 skills/baoyu-image-cards/references/presets/pop.md create mode 100644 skills/baoyu-image-cards/references/presets/retro.md create mode 100644 skills/baoyu-image-cards/references/presets/screen-print.md create mode 100644 skills/baoyu-image-cards/references/presets/study-notes.md create mode 100644 skills/baoyu-image-cards/references/presets/warm.md create mode 100644 skills/baoyu-image-cards/references/style-presets.md create mode 100644 skills/baoyu-image-cards/references/workflows/analysis-framework.md create mode 100644 skills/baoyu-image-cards/references/workflows/outline-template.md create mode 100644 skills/baoyu-image-cards/references/workflows/prompt-assembly.md diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 8371ca6..ed60348 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -31,7 +31,7 @@ "./skills/baoyu-slide-deck", "./skills/baoyu-translate", "./skills/baoyu-url-to-markdown", - "./skills/baoyu-xhs-images", + "./skills/baoyu-image-cards", "./skills/baoyu-youtube-transcript" ] } diff --git a/CLAUDE.md b/CLAUDE.md index 65dc3b5..655fda1 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -55,6 +55,7 @@ Priority: project `skills/` → `$HOME/.baoyu-skills/` → system-level. | Skill | Note | |-------|------| | `baoyu-image-gen` | Migrated to `baoyu-imagine`. Do NOT add to `.claude-plugin/marketplace.json`. Do NOT update README for this skill. | +| `baoyu-xhs-images` | Migrated to `baoyu-image-cards`. Do NOT add to `.claude-plugin/marketplace.json`. Do NOT update README for this skill. | ## Release Process diff --git a/README.md b/README.md index 65b2292..341d68e 100644 --- a/README.md +++ b/README.md @@ -97,29 +97,29 @@ Skills are organized into three categories: Content generation and publishing skills. -#### baoyu-xhs-images +#### baoyu-image-cards -Xiaohongshu (RedNote) infographic series generator. Breaks down content into 1-10 cartoon-style infographics with **Style × Layout** two-dimensional system. +Image card series generator. Breaks down content into 1-10 cartoon-style image cards with **Style × Layout** two-dimensional system. ```bash # Auto-select style and layout -/baoyu-xhs-images posts/ai-future/article.md +/baoyu-image-cards posts/ai-future/article.md # Specify style -/baoyu-xhs-images posts/ai-future/article.md --style notion +/baoyu-image-cards posts/ai-future/article.md --style notion # Specify layout -/baoyu-xhs-images posts/ai-future/article.md --layout dense +/baoyu-image-cards posts/ai-future/article.md --layout dense # Combine style and layout -/baoyu-xhs-images posts/ai-future/article.md --style tech --layout list +/baoyu-image-cards posts/ai-future/article.md --style notion --layout list # Direct content input -/baoyu-xhs-images 今日星座运势 +/baoyu-image-cards 今日星座运势 # Non-interactive (skip all confirmations, for scheduled tasks) -/baoyu-xhs-images posts/ai-future/article.md --yes -/baoyu-xhs-images posts/ai-future/article.md --yes --preset knowledge-card +/baoyu-image-cards posts/ai-future/article.md --yes +/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` diff --git a/README.zh.md b/README.zh.md index 006249a..0f254da 100644 --- a/README.zh.md +++ b/README.zh.md @@ -97,29 +97,29 @@ clawhub install baoyu-markdown-to-html 内容生成和发布技能。 -#### baoyu-xhs-images +#### baoyu-image-cards -小红书信息图系列生成器。将内容拆解为 1-10 张卡通风格信息图,支持 **风格 × 布局** 二维系统。 +图片卡片系列生成器。将内容拆解为 1-10 张卡通风格图片卡片,支持 **风格 × 布局** 二维系统。 ```bash # 自动选择风格和布局 -/baoyu-xhs-images posts/ai-future/article.md +/baoyu-image-cards posts/ai-future/article.md # 指定风格 -/baoyu-xhs-images posts/ai-future/article.md --style notion +/baoyu-image-cards posts/ai-future/article.md --style notion # 指定布局 -/baoyu-xhs-images posts/ai-future/article.md --layout dense +/baoyu-image-cards posts/ai-future/article.md --layout dense # 组合风格和布局 -/baoyu-xhs-images posts/ai-future/article.md --style tech --layout list +/baoyu-image-cards posts/ai-future/article.md --style notion --layout list # 直接输入内容 -/baoyu-xhs-images 今日星座运势 +/baoyu-image-cards 今日星座运势 # 非交互模式(跳过所有确认,适用于定时任务) -/baoyu-xhs-images posts/ai-future/article.md --yes -/baoyu-xhs-images posts/ai-future/article.md --yes --preset knowledge-card +/baoyu-image-cards posts/ai-future/article.md --yes +/baoyu-image-cards posts/ai-future/article.md --yes --preset knowledge-card ``` **风格**(视觉美学):`cute`(默认)、`fresh`、`warm`、`bold`、`minimal`、`retro`、`pop`、`notion`、`chalkboard` diff --git a/skills/baoyu-image-cards/SKILL.md b/skills/baoyu-image-cards/SKILL.md new file mode 100644 index 0000000..e4b87e9 --- /dev/null +++ b/skills/baoyu-image-cards/SKILL.md @@ -0,0 +1,603 @@ +--- +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. +version: 1.56.1 +metadata: + openclaw: + homepage: https://github.com/JimLiu/baoyu-skills#baoyu-image-cards +--- + +# Image Card Series Generator + +Break down complex content into eye-catching image card series with multiple style options. + +## Usage + +```bash +# Auto-select style and layout based on content +/baoyu-image-cards posts/ai-future/article.md + +# Specify style +/baoyu-image-cards posts/ai-future/article.md --style notion + +# Specify layout +/baoyu-image-cards posts/ai-future/article.md --layout dense + +# Combine style and layout +/baoyu-image-cards posts/ai-future/article.md --style notion --layout list + +# Use preset (style + layout 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 + +# Direct content input +/baoyu-image-cards +[paste content] + +# Direct input with options +/baoyu-image-cards --style bold --layout comparison +[paste content] + +# Non-interactive (for scheduled tasks / automation) +/baoyu-image-cards posts/ai-future/article.md --yes +/baoyu-image-cards posts/ai-future/article.md --yes --preset knowledge-card +``` + +## Options + +| Option | Description | +|--------|-------------| +| `--style ` | Visual style (see Style Gallery) | +| `--layout ` | Information layout (see Layout Gallery) | +| `--preset ` | Style + layout 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 + +| Dimension | Controls | Options | +|-----------|----------|---------| +| **Style** | Visual aesthetics: colors, lines, decorations | cute, fresh, warm, bold, minimal, retro, pop, notion, chalkboard, study-notes, screen-print | +| **Layout** | Information structure: density, arrangement | sparse, balanced, dense, list, comparison, flow, mindmap, quadrant | + +Style × Layout can be freely combined. Example: `--style notion --layout dense` creates an intellectual-looking knowledge card with high information density. + +Or use presets: `--preset knowledge-card` → style + layout in one flag. See [Style Presets](references/style-presets.md). + +## Style Gallery + +| Style | Description | +|-------|-------------| +| `cute` (Default) | Sweet, adorable, girly aesthetic | +| `fresh` | Clean, refreshing, natural | +| `warm` | Cozy, friendly, approachable | +| `bold` | High impact, attention-grabbing | +| `minimal` | Ultra-clean, sophisticated | +| `retro` | Vintage, nostalgic, trendy | +| `pop` | Vibrant, energetic, eye-catching | +| `notion` | Minimalist hand-drawn line art, intellectual | +| `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 | + +Detailed style definitions: `references/presets/