graphic-layout — Claude Code skill: what it does, how to install
graphic-layout guides AI agents in structuring typography, spacing, and visual hierarchy for Xiaohongshu carousel slides and graphics.
no license 202 installs ★ 564 updated 2026-01-23
npx skills add vivy-yi/xiaohongshu-skills --skill graphic-layout -a claude-codeWhat graphic-layout does
This skill supplies structured guidelines for assembling visual posts, infographics, and carousel layouts intended for Xiaohongshu. It sets rules for visual hierarchy, contrast balance, and reading order, pointing out that key elements need to be two to three times larger than secondary details.
Inside, the skill organizes design patterns across six foundational principles: hierarchy, white space, alignment, contrast, consistency, and color harmony. It contains reference tables for font scales spanning 16pt captions to 64pt hooks, emotional color associations, and comparative notes for external editors like Canva or Figma.
Uploads on the destination network fail if assets exceed 5MB or diverge from JPG and PNG formats at 1080×1350 or 1080×1080 dimensions. The skill explicitly advises skipping these layout directives when presenting raw photography or pure narrative text.
What it helps with
- organize visual hierarchy for Xiaohongshu carousel slides
- select readable typography scales for graphic overlays
- format promotional graphics according to platform dimensions
Example prompts for the agent
- Set up a 4:5 layout structure for a multi-slide tutorial on Xiaohongshu
- Define font sizes and color choices for an announcement post
- Structure visual hierarchy for an infographic comparing before and after results
How to install graphic-layout
1Skills CLI (Vercel)
npx skills add vivy-yi/xiaohongshu-skills --skill graphic-layout -a claude-code2Manually: put the files in place
~/.claude/skills/graphic-layout/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/graphic-layout/
1Skills CLI (Vercel)
npx skills add vivy-yi/xiaohongshu-skills --skill graphic-layout -a codex2Manually: put the files in place
.agents/skills/graphic-layout/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add vivy-yi/xiaohongshu-skills --skill graphic-layout -a cursor2Manually: put the files in place
.cursor/skills/graphic-layout/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install vivy-yi/xiaohongshu-skills skills/01-内容创作/graphic-layout2Manually: put the files in place
.github/skills/graphic-layout/SKILL.md1Skills CLI (Vercel)
npx skills add vivy-yi/xiaohongshu-skills --skill graphic-layout -a gemini-cli2Platform CLI
gemini skills install https://github.com/vivy-yi/xiaohongshu-skills --path skills/01-内容创作/graphic-layoutManually: put the files in place
.devin/skills/graphic-layout/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add vivy-yi/xiaohongshu-skills --skill graphic-layout -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about graphic-layout
How to install graphic-layout in Claude Code?
Run npx skills add vivy-yi/xiaohongshu-skills --skill graphic-layout -a claude-code. The rule definition will be placed in ~/.claude/skills/graphic-layout/SKILL.md.
What does graphic-layout do?
It gives the coding assistant explicit rules for typography sizing, composition balance, negative space, and color psychology tailored to social graphics.
What image specifications are included in the skill?
It outlines recommended 4:5 (1080×1350) and square 1:1 (1080×1080) ratios, along with the 5MB file size limit for JPG and PNG uploads.