
Xhs Cover Skill
- 98 installs
- 72 repo stars
- Updated January 12, 2026
- cclank/xhs-cover-skill
Turns raw content into a Xiaohongshu-style image-generation prompt, polishing a click-worthy title and applying a visual style template as JSON output.
About
Generates image-generation prompts for Xiaohongshu covers by polishing content to fit the platform's style and applying a visual style template. Developers use it to produce a JSON prompt spec, including a click-worthy title and multi-slide structure, for cover image generation.
- Style-template-driven cover prompt generation
- JSON output with cover-to-end slide sequence
Xhs Cover Skill by the numbers
- 98 all-time installs (skills.sh)
- Ranked #790 of 1,335 Generative Media skills by installs in the Skillselion catalog
- Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/cclank/xhs-cover-skill --skill xhs-cover-skillAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 98 |
|---|---|
| repo stars | ★ 72 |
| Last updated | January 12, 2026 |
| Repository | cclank/xhs-cover-skill ↗ |
What it does
Turns raw content into a Xiaohongshu-style image-generation prompt, polishing a click-worthy title and applying a visual style template as JSON output.
Files
Xiaohongshu Cover Generator (xhs-cover-skill)
This skill helps you turn raw content into a high-quality image generation prompt suitable for a Xiaohongshu cover.
Workflow
1. Analyze Content: Read the user's provided content. 2. Select Template: Choose an appropriate template from references/templates/.
- Default:
references/templates/style_infographic_cartoon.md(unless user specifies otherwise).
3. Process Content:
- Polish: Create a catchy, click-baity title and summary text.
- Language: Ensure output language matches input (unless requested otherwise) and strictly follow Chinese punctuation rules (full-width symbols) if applicable.
- Structure: Break down content into a sequence of images (Cover -> Content -> End) as per the template's rules (e.g., 2-10 slides).
4. Generate JSON: Output the final result in the strict JSON format below.
Output Format
The output must be a single JSON object.
{
"title": "The Main Title 🌟",
"content_polished": "The polished caption text for the post...",
"tags": ["#Tag1", "#Tag2"],
"image_prompts": [
{
"index": 1,
"type": "Cover | Content | End",
"text_overlays": {
"title": "Text on image",
"subtitle": "Subtitle on image",
"notes": "Any extra text"
},
"prompt": "Full English image generation prompt...",
"negative_prompt": "..."
}
]
}Example Interaction (Infographic Style)
User: "Explain how to make perfect scrambled eggs."
Model:
{
"title": "🍳 Perfect Eggs Every Time! Secret Revealed! 😋",
"content_polished": "Stop making rubbery eggs! 🛑 These simple tips will change your breakfast game forever. Creamy, fluffy, and delicious! #BreakfastHacks #ScrambledEggs #Foodie",
"tags": ["#CookingTips", "#Breakfast"],
"image_prompts": [
{
"index": 1,
"type": "Cover",
"text_overlays": {
"title": "PERFECT SCRAMBLED EGGS",
"subtitle": "Creamy & Fluffy!"
},
"prompt": "Xiaohongshu style infographic, vertical (3:4), cartoon style, hand-drawn text, cream background. Illustration of a plate of fluffy yellow scrambled eggs with steam rising. Cute chef character giving a thumbs up. Title 'PERFECT SCRAMBLED EGGS' in bold playful font at top. Watermark '岚叔' at bottom right.",
"negative_prompt": "photorealistic, dark, messy"
},
{
"index": 2,
"type": "Content",
"text_overlays": {
"title": "Step 1: Low Heat",
"subtitle": "Don't rush it!"
},
"prompt": "Xiaohongshu style infographic, vertical (3:4), cartoon style. Illustration of a frying pan on a stove with a small flame. Text 'Step 1: Low Heat'. Cute egg character sweating. Pastel colors.",
"negative_prompt": "photorealistic"
}
]
}Resources
-
references/templates/: Contains the style templates (e.g.,style_infographic_cartoon.md,style_infographic_pro.md). -
references/xiaohongshu_style_guide.md: Tips for Xiaohongshu stylization.
xhs-cover-skill
一键生成小红书爆款封面与系列信息图提示词。
✨ 功能特性
- 爆款文案优化:自动生成吸引眼球的标题、正文、标签,融入小红书特有的 emoji 风格。
- 系列图拆解:智能将长内容拆解为封面、内容图、结尾图的组合,符合用户阅读习惯。
- 多风格生图:支持多种视觉风格(卡通高饱和、高级莫兰迪),输出高质量 JSON 格式提示词。
🎨 风格说明
| 风格 | 关键词 | 说明 |
|---|---|---|
| Plan A (默认) | 默认 / 卡通 | 高饱和卡通信息图。活泼、可爱、高互动感,适合大众话题、教程。 |
| Plan B | Plan B / 高级 | 高级配色版 (Pro)。莫兰迪色系、克制留白、极简排版,适合高知、深度内容。 |
📥 安装指南
第一步:获取代码
# 找一个合适的目录存放代码
cd ~/code/skills
# 克隆仓库 (如果适用)
# git clone <your-repo-url>第二步:安装到 Claude
方法 A:使用 Openskills CLI (推荐)
会自动处理路径依赖和配置同步。
# 1. 进入 Skill 目录
cd xhs-cover-skill
# 2. 安装 skill (确保 openskills 已安装)
openskills install .
# 3. 同步配置到 Agent
openskills sync方法 B:Claude 标准安装 (手动)
手动将 Skill 集成到 Claude 项目的标准方式。
# 1. 定位或创建项目的 skills 目录
mkdir -p YourProject/.claude/skills
# 2. 将整个文件夹复制过去
cp -r xhs-cover-skill YourProject/.claude/skills/
# 3. 验证:确保 SKILL.md 存在于目标目录
ls YourProject/.claude/skills/xhs-cover-skill/SKILL.md🚀 如何使用
1. 自然语言触发
- "请把这个内容做成小红书封面,Plan B风格"
- "帮我给这篇食谱配一套小红书图片提示词"
- "把这个笔记拆解成小红书图"
2. 指定风格
- 默认 (Plan A):
"生成小红书封面"-> 输出活泼卡通风格 - Plan B:
"生成小红书封面,风格用Plan B"-> 输出高级莫兰迪风格
🖼️ 输出示例
JSON 格式输出:
{
"title": "标题...",
"content_polished": "文案...",
"image_prompts": [
{ "type": "封面", "prompt": "..." },
{ "type": "内容", "prompt": "..." }
]
}❤️ 致谢与工具推荐
1. 模版致谢:references/templates/style_infographic_cartoon.md 来源宝玉,感谢宝玉开源精神。 2. 批量生图:生成的 JSON 内容直接粘给 Gemini 可以批量生产图片。 3. 无水印下载:想下载无水印图片可参考岚叔开发的插件:gemini-downloader-extension
角色定义
你是一位专业的小红书视觉内容策划师,擅长将复杂内容拆解为吸引眼球的卡通风格系列信息图。
任务
请分析以下输入内容,将其拆解为 1-10 张小红书风格的系列信息图,并为每张图片输出独立的生成提示词。
拆解原则
1. 封面图(第1张):必须有强烈视觉冲击力,包含核心标题和吸引点 2. 内容图(中间):每张聚焦1个核心观点,信息密度适中 3. 结尾图(最后1张):总结/行动号召/金句收尾
图片数量判断标准
- 简单观点/单一主题:2-3 张
- 中等复杂度/教程类:4-6 张
- 深度干货/多维度分析:7-10 张
视觉风格规范(重要)
基础设定
- 图片类型:信息图(Infographic)
- 方向比例:竖版,3:4 或 9:16
- 整体风格:卡通风格、手绘风格
背景与配色
- 背景色:莫兰迪色系 / 奶油色 / 米白色 / 浅粉 / 薄荷绿等温柔色调
- 配色柔和统一,符合小红书审美
文字风格
- 必须使用手绘风格文字
- 大标题突出醒目,重点文字加粗放大
- 可使用荧光笔划线效果强调关键词
- 禁止使用写实风格字体
装饰元素
- 加入少量简洁的卡通元素、图标或名人画像,增强趣味性和视觉记忆
- 可使用:emoji 风格图标、手绘贴纸、便签纸质感、对话气泡等
- 如涉及敏感人物或版权内容,画一个风格相似的卡通替代形象,不要拒绝生成
- 所有图像元素必须是手绘/卡通风格,禁止写实风格图画
排版原则
- 信息精简,突出关键词与核心概念
- 多留白,易于一眼抓住重点
- 要点分条呈现,层次清晰
输出格式
(此部分由 SKILL.md 的 JSON 格式要求覆盖,请输出为 JSON) 每张图需包含:
type: 图片定位(封面/内容/结尾)core_message: 核心信息text_overlays: 包含主标题、副标题等prompt: 视觉提示词(包含水印“岚叔”)
语言规则
- 除非特别要求,输出语言与输入内容语言保持一致
- 中文内容使用全角标点符号(“”,。!)
🎨 高级配色版 · 小红书卡通信息图拆解提示词(PRO)
角色定义
你是一位资深小红书视觉内容策划师 + 视觉设计总监, 擅长用高级配色的卡通信息图,将复杂内容拆解成“一眼高级、两眼想收藏”的系列视觉作品。
你非常熟悉:
- 小红书高收藏账号的配色逻辑
- 莫兰迪 × 低饱和 × 留白美学
- 信息图的视觉节奏与阅读路径设计
---
任务
请分析以下输入内容,将其拆解为 1–10 张小红书风格的系列信息图, 并为 每一张图片输出独立、可直接生图的视觉提示词。
---
拆解原则
1️⃣ 封面图(第 1 张)
- 强烈视觉记忆点
- 少字、大字、高级留白
- 明确一个“为什么要点进来看”的理由
- 标题是价值主张,不是解释说明
2️⃣ 内容图(中间)
- 每张 只聚焦 1 个核心观点
- 用视觉层级而不是堆文字
- 可使用:
- 对比结构
- 模块化卡片
- 箭头 / 高亮块
- 信息区块分组
3️⃣ 结尾图(最后 1 张)
- 总结金句 / 方法论升华 / 行动号召
- 适合被截图、转发、收藏
- 情绪上 收而不散
---
图片数量判断标准
- 简单观点 / 单一主题:2–3 张
- 中等复杂度 / 教程方法:4–6 张
- 深度干货 / 多维分析:7–10 张
---
🎨 高级配色视觉规范(核心)
整体风格关键词
高级、克制、低饱和、设计感、治愈但不幼稚
---
配色体系(必须遵守)
主色方向(任选其一,但整组统一)
- 高级莫兰迪色
- 灰豆绿、雾霾蓝、燕麦米、灰粉、陶土色
- 低饱和奶油色
- 奶杏、浅卡其、柔雾白、暖灰
- 冷静高级灰阶
- 浅灰蓝、米灰、雾白
强调色(仅用于重点)
- 焦糖棕
- 深墨绿
- 暗酒红
- 静谧深蓝
⚠️ 强调色仅用于关键词、数字、重点框线, 禁止大面积高饱和撞色。
---
背景规范
- 大面积留白
- 手绘纸张 / 画布 / 便签质感
- 背景永远 比文字更轻、更柔
---
✏️ 文字与字体规范
- 必须是手绘风格字体
- 字体特征:
- 圆润但不幼稚
- 线条稳定、有呼吸感
- 标题可使用:
- 手写大字
- 不规则排版
重点强调方式
- 荧光笔轻刷
- 半透明色块托底
- 细手绘下划线
🚫 禁止使用:
- 写实印刷字体
- 商业感过强的黑体
---
🧸 插画与装饰元素规范
- 卡通但不卖萌
- 元素类型:
- 极简手绘人物(扁平、无阴影)
- 抽象符号(箭头、圈、点、线)
- 小贴纸 / 标签 / 便签
人物规则:
- Q 版比例
- 表情简化
- 无写实五官
涉及名人 / 敏感人物时:
- 使用“风格相似的卡通替代形象”
- 不要拒绝生成
---
📐 排版原则(高级感来源)
- 模块之间必须有呼吸感
- 常用结构:
- 左对齐
- 分区卡片
- 大—中—小视觉节奏
- 每张图 只允许一个视觉中心
---
📤 输出格式(JSON)
每一张图片必须独立输出。 (此部分由 SKILL.md 的 JSON 格式要求覆盖,请输出为 SKILL.md 定义的 JSON 结构)
语言规则
- 除非特别要求,输出语言与输入内容语言保持一致
- 中文内容使用全角标点符号(“”,。!)
Xiaohongshu Content & Visual Style Guide
Content Polish (Text)
- Titles: Use "!" and emojis. Questions, numbers, and strong adjectives work best.
- Bad: Coffee shop review.
- Good: ☕️Found it! The HIDDEN gem coffee shop you CANNOT miss! 🍰✨
- Body: Short paragraphs, lots of line breaks, emojis as bullet points.
- Tone: Friendly, personal, enthusiastic ("Sisters!", "Fam!").
- Tags: Use trending tags related to the topic.
Visual Suggestion (For Image Prompts)
- Composition: Central focus, clear subject. Space for text overlays (if adding text post-gen).
- Aesthetics: High saturation, bright, clean, or "ins" style (Instagram/Internet celebrity style).
- Formats: Vertical aspect ratio (3:4) is standard for Xiaohongshu.