From lieflat-html-design
Generates Xiaohongshu/小红书 3:4 cover images from Lieflat style pack. Supports title-first social thumbnails, AI/product/brand covers, Chinese social post openers across 11 style families.
How this skill is triggered — by the user, by Claude, or both
Slash command
/lieflat-html-design:lieflat-xhs-coverThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create one Xiaohongshu cover / first image. The output is a title-first `3:4` image designed for quick recognition, not a longform article and not a slide deck.
assets/catalog.jsonassets/templates/xhs-cover-clean-review/zh.htmlassets/templates/xhs-cover-consulting-report/zh.htmlassets/templates/xhs-cover-dot-matrix/zh.htmlassets/templates/xhs-cover-editorial/zh.htmlassets/templates/xhs-cover-geek-report/zh.htmlassets/templates/xhs-cover-pixel-report/zh.htmlassets/templates/xhs-cover-rain-notes/zh.htmlassets/templates/xhs-cover-shiny-tiles/zh.htmlassets/templates/xhs-cover-story-field/zh.htmlassets/templates/xhs-cover-sunrise/zh.htmlassets/templates/xhs-cover-terminal/zh.htmlreferences/agent-workflow.mdreferences/qa-checklist.mdreferences/style-understanding.mdscripts/audit-assets.mjsscripts/audit-languages.mjsscripts/capture-screenshots.mjsscripts/capture-template-previews.mjsscripts/capture-xhs-card.mjsCreate one Xiaohongshu cover / first image. The output is a title-first 3:4 image designed for quick recognition, not a longform article and not a slide deck.
Before choosing a style, read:
assets/catalog.jsonreferences/style-understanding.mdUse assets/templates/<template-id>/zh.html as a starter. Copy it into the user's workspace before editing.
小红书封面 as visible copy unless the user explicitly asks for that label.xhs-cover-story-field as a low-frequency style. Do not choose it by default for ordinary AI/product/brand covers, hot takes, tutorials, or generic post openers. Use it only when the user explicitly asks for Story Field / 故事集, or when the cover needs an archival, cinematic, route-map, place/person, or project-field-report mood.600px × 800px, 3:4.1200px × 1600px PNG with deviceScaleFactor: 2.44-72px, Chinese line-height around 1.05-1.2.19-24px.10-16px.After creating the HTML, run:
node scripts/capture-xhs-card.mjs --html <path-to-html> --out <path-to-cover.png>
assets/catalog.json and references/style-understanding.md.node scripts/list-templates.mjs
node scripts/create-design.mjs --template xhs-cover-dot-matrix --lang zh --out output/xhs-cover-demo.html
node scripts/capture-xhs-card.mjs --html output/xhs-cover-demo.html --out output/xhs-cover-demo.png
npx claudepluginhub larashero3-dotcom/lieflat-html-designGenerates Xiaohongshu-style cover images from text prompts using HTML/CSS templates in predefined styles (morandi, academic, dark, etc.) and Playwright screenshots.
Creates Xiaohongshu/小红书 longform vertical article cards (3:5) from the Lieflat style pack. Converts articles, product reviews, AI notes, and brand essays into readable Chinese social reading cards with 11 style families.
Generates Xiaohongshu-style cover images from user-provided topics. Saves PNG to current directory. Requires CANGHE_API_KEY.