/lieflat-html-design:lieflat-xhs-longformfrom lieflat-html-design
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.
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 vertical Xiaohongshu longform article card. The output is a readable 3:5 image, not a slide deck and not a cover.
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.
xhs-story-field as a low-frequency style. Do not choose it by default for ordinary AI notes, product reviews, technical explainers, listicles, or general article cards. Use it only when the user explicitly asks for Story Field / 故事集, or when the source genuinely needs an archival, cinematic, project-field-report narrative with story-led paragraphs.600px × 1000px, 3:5.1200px × 2000px PNG with deviceScaleFactor: 2.22-24px, line-height around 1.7-1.85.26-30px.50px, adjusted to the chosen style.After creating the HTML, run:
node scripts/capture-xhs-card.mjs --html <path-to-html> --out <path-to-card.png>
For a multi-image carousel:
node scripts/capture-xhs-carousel.mjs --html <path-to-html> --out-dir <folder>
assets/catalog.json and references/style-understanding.md.node scripts/list-templates.mjs
node scripts/create-design.mjs --template xhs-sunrise --lang zh --out output/xhs-demo.html
node scripts/capture-xhs-card.mjs --html output/xhs-demo.html --out output/xhs-demo-card.png
node scripts/capture-xhs-carousel.mjs --html output/xhs-demo.html --out-dir output/xhs-carousel
assets/catalog.json (opens in a new tab)assets/templates/xhs-clean-review/zh.html (opens in a new tab)assets/templates/xhs-consulting-report/zh.html (opens in a new tab)assets/templates/xhs-dot-matrix-light/zh.html (opens in a new tab)assets/templates/xhs-editorial/zh.html (opens in a new tab)assets/templates/xhs-geek-report/zh.html (opens in a new tab)assets/templates/xhs-pixel-report/zh.html (opens in a new tab)assets/templates/xhs-rain-notes/zh.html (opens in a new tab)assets/templates/xhs-shiny-tiles/zh.html (opens in a new tab)assets/templates/xhs-story-field/zh.html (opens in a new tab)assets/templates/xhs-sunrise/zh.html (opens in a new tab)assets/templates/xhs-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-coverClaude 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