xhs-note-creator▌
comeonzhj/auto-redbook-skills · updated Apr 8, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
Create Xiaohongshu note content, design image cards, and publish posts with 8 themes and 4 pagination modes.
- ›Generates Xiaohongshu-optimized content (titles up to 20 characters, emoji-enhanced body text, SEO hashtags) from user requirements or provided materials
- ›Renders beautiful image cards (cover + content cards) using 8 design themes (sketch, geometric, brutalism, botanical, professional, retro, terminal, default) and 4 smart pagination modes (separator, auto-fit, auto-split, dynamic
小红书笔记创作技能
根据用户提供的资料或需求,创作小红书笔记内容、生成精美图片卡片,并可选择发布到小红书。
详细参数文档见
references/params.md
工作流程
第一步:撰写小红书笔记内容
根据用户需求和资料,创作符合小红书风格的内容:
标题:不超过 20 字,吸引眼球,可用数字/疑问句/感叹号增强吸引力。
正文:段落清晰,点缀少量 Emoji(每段 1-2 个),短句短段,结尾附 5-10 个 SEO 标签。
第二步:生成渲染用 Markdown 文档
注意:此 Markdown 专为图片渲染设计,禁止直接使用上一步的笔记正文。
文档结构:
---
emoji: "🚀"
title: "封面大标题(≤15字)"
subtitle: "封面副标题(≤15字)"
---
# 正文内容...
---
# 第二张卡片内容...(使用 --- 手动分隔时)
分页策略选择:
- 内容需精确切分 → 用
---手动分隔,配合-m separator - 内容长短不稳定 → 生成普通 Markdown,使用
-m auto-split
第三步:渲染图片卡片
python scripts/render_xhs.py <markdown_file> [options]
默认主题:sketch(手绘素描风格)
默认分页:separator(按 --- 分隔)
常用示例:
# 默认(sketch 主题 + 手动分页)
python scripts/render_xhs.py content.md
# 自动分页(推荐内容长短不定时)
python scripts/render_xhs.py content.md -m auto-split
# 切换主题
python scripts/render_xhs.py content.md -t playful-geometric -m auto-split
# 固定尺寸自动缩放
python scripts/render_xhs.py content.md -m auto-fit
生成结果:cover.png(封面)+ card_1.png、card_2.png...(正文卡片)
可用主题(-t):sketch、default、playful-geometric、neo-brutalism、botanical、professional、retro、terminal
分页模式(-m):separator、auto-fit、auto-split、dynamic
完整参数说明见
references/params.md
第四步:发布小红书笔记(可选)
前置条件:配置好 .env 文件中的 XHS_COOKIE(详见 references/params.md)
# 默认仅自己可见(推荐先预览确认)
python scripts/publish_xhs.py --title "笔记标题" --desc "笔记描述" \
--images cover.png card_1.png card_2.png
# 确认无误后公开发布
python scripts/publish_xhs.py --title "笔记标题" --desc "笔记描述" \
--images cover.png card_1.png card_2.png --public
默认以「仅自己可见」发布,加
--public参数才会公开。
技能资源
脚本
scripts/render_xhs.py— 渲染脚本(主推,8 主题 + 4 分页模式)scripts/render_xhs_v2.py— 渲染脚本 V2(备用,7 种渐变色彩风格)scripts/publish_xhs.py— 发布脚本
模板与样式
assets/cover.html— 封面 HTML 模板assets/card.html— 正文卡片 HTML 模板assets/styles.css— 公共容器样式assets/themes/— 各主题 CSS 文件
参考文档
references/params.md— 完整参数参考(主题/模式/发布参数)
How to use xhs-note-creator on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add xhs-note-creator
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches xhs-note-creator from GitHub repository comeonzhj/auto-redbook-skills and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate xhs-note-creator. Access the skill through slash commands (e.g., /xhs-note-creator) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
User Story & Requirements Generation
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Competitive Analysis
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Roadmap Prioritization
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
Make data-driven prioritization decisions faster
Stakeholder Communication
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client
- ›Access to product documentation and roadmap tools (Jira, Notion, etc.)
- ›Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
- ›Stakeholder contact information and communication channels
Time Estimate
30-60 minutes to see productivity improvements
Installation Steps
- 1.Install product management skill
- 2.Start with user story generation for known feature
- 3.Progress to competitive analysis: research 2-3 competitors
- 4.Use for roadmap prioritization: apply RICE/ICE scoring
- 5.Draft stakeholder communications and refine based on feedback
- 6.Build template library for recurring PM tasks
- 7.Share effective prompts with product team
Common Pitfalls
- ⚠Not validating competitive research—verify facts before sharing
- ⚠Accepting user stories without involving engineering team
- ⚠Over-relying on frameworks without qualitative judgment
- ⚠Not customizing outputs to company culture and communication style
- ⚠Skipping stakeholder validation of generated requirements
Best Practices▌
✓ Do
- +Validate research and competitive analysis with real data
- +Collaborate with engineering when generating technical requirements
- +Customize frameworks and templates to your company context
- +Use skill for first drafts, refine with stakeholder input
- +Document successful prompt patterns for PM tasks
- +Combine AI efficiency with human judgment and intuition
✗ Don't
- −Don't publish competitive analysis without fact-checking
- −Don't finalize user stories without engineering review
- −Don't make prioritization decisions solely on AI scoring
- −Don't skip customer validation of generated requirements
- −Don't ignore company-specific context and culture
💡 Pro Tips
- ★Provide context: company goals, constraints, customer feedback
- ★Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
- ★Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
- ★Use skill for 70% generation + 30% customization to company needs
When to Use This▌
✓ Use When
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid When
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
Learning Path▌
- 1Basic: user stories, feature specs, status updates
- 2Intermediate: competitive analysis, prioritization frameworks, PRDs
- 3Advanced: product strategy, go-to-market planning, OKR setting
- 4Expert: product vision, market positioning, business model innovation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.5★★★★★70 reviews- ★★★★★Amina Ndlovu· Dec 28, 2024
Solid pick for teams standardizing on skills: xhs-note-creator is focused, and the summary matches what you get after install.
- ★★★★★Daniel Iyer· Dec 28, 2024
xhs-note-creator is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Mateo Srinivasan· Dec 24, 2024
I recommend xhs-note-creator for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Ganesh Mohane· Dec 8, 2024
Registry listing for xhs-note-creator matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Amelia Mehta· Dec 8, 2024
xhs-note-creator fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Ishan Chawla· Dec 8, 2024
xhs-note-creator reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Mateo Sharma· Dec 4, 2024
We added xhs-note-creator from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Sakshi Patil· Nov 27, 2024
xhs-note-creator reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Hana Okafor· Nov 27, 2024
I recommend xhs-note-creator for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Amelia Bansal· Nov 27, 2024
Registry listing for xhs-note-creator matched our evaluation — installs cleanly and behaves as described in the markdown.
showing 1-10 of 70