Skip to content
Back to skills

xhs-cover-skill

ASecurity

Generates image generation prompts for Xiaohongshu covers based on user content. It polishes the content to fit Xiaohongshu style + applies a visual style template to produce a JSON output for image generation.

  • 78 stars
  • 0 votes
  • 0 copies
  • 12 views
  • Added February 8, 2026
content-marketing

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add cclank/xhs-cover-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of xhs-cover-skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for xhs-cover-skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cclank-xhs-cover-skill/badge)](https://www.skillsdirectory.com/skills/cclank-xhs-cover-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: xhs-cover-skill
description: Generates image generation prompts for Xiaohongshu covers based on user content. It polishes the content to fit Xiaohongshu style + applies a visual style template to produce a JSON output for image generation.
---

# 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.

```json
{
  "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:**
```json
{
  "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.

Files in this skill

  • SKILL.md3.3 KB
  • references/xiaohongshu_style_guide.md801 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in content-marketing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.