/lieflat-html-design:lieflat-xhs-coverfrom 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.
Ships in lieflat-html-design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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.
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
assets/catalog.json (opens in a new tab)assets/templates/xhs-cover-clean-review/zh.html (opens in a new tab)assets/templates/xhs-cover-consulting-report/zh.html (opens in a new tab)assets/templates/xhs-cover-dot-matrix/zh.html (opens in a new tab)assets/templates/xhs-cover-editorial/zh.html (opens in a new tab)assets/templates/xhs-cover-geek-report/zh.html (opens in a new tab)assets/templates/xhs-cover-pixel-report/zh.html (opens in a new tab)assets/templates/xhs-cover-rain-notes/zh.html (opens in a new tab)assets/templates/xhs-cover-shiny-tiles/zh.html (opens in a new tab)assets/templates/xhs-cover-story-field/zh.html (opens in a new tab)assets/templates/xhs-cover-sunrise/zh.html (opens in a new tab)assets/templates/xhs-cover-terminal/zh.html (opens in a new tab)references/agent-workflow.md (opens in a new tab)references/qa-checklist.md (opens in a new tab)references/style-understanding.md (opens in a new tab)scripts/audit-assets.mjs (opens in a new tab)scripts/audit-languages.mjs (opens in a new tab)scripts/capture-screenshots.mjs (opens in a new tab)scripts/capture-template-previews.mjs (opens in a new tab)scripts/capture-xhs-card.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/lieflat-html-deckCreate polished horizontal HTML presentation decks from the Lieflat deck style pack. Use for HTML/PPT-style slides, strategy decks, AI or product analysis decks, creator brand manuals, portfolios, visual essays, and WebGL/canvas presentation decks. Contains 12 deck style families with fixed-template starters and style-understanding guidance./lieflat-html-designRoute a user's request to the right Lieflat HTML Design skill. Use when the user asks for a polished HTML visual artifact but has not clearly chosen between a horizontal HTML deck, Xiaohongshu longform article card, or Xiaohongshu cover/first-image card./lieflat-xhs-longformCreate Xiaohongshu/小红书 longform vertical article cards from the Lieflat style pack. Use for readable 3:5 long images, article-to-card conversion, product reviews, AI notes, brand essays, and collectible Chinese social reading cards. Contains 11 longform style families.Claude Code refuses to install this plugin
.claude-plugin/plugin.json: skills.0: Invalid string: must start with "./", skills.1: Invalid string: must start with "./", skills.2: Invalid string: must start with "./", skills.3: Invalid string: must start with "./"
.claude-plugin/plugin.json: skills.0: Invalid string: must start with "./", skills.1: Invalid string: must start with "./", skills.2: Invalid string: must start with "./", skills.3: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Other plugins' skills for the same job