Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add vivy-yi/xiaohongshu-skills --skill graphic-layout -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/graphic-layout/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/graphic-layout/

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.

Similar skills

All skills for Design →

From the same set100

The whole set →
private-marketing private-marketing is a Claude Code skill for moving Xiaohongshu followers into private channels and building ongoing customer relationships. It covers channel choice, community outreach, and repeat sales. CX Codex +1 213installs xingtu-tool xingtu-tool — a skill for shaping Xiaohongshu images: retouch portraits and products, build covers, and place readable text over photos. CX Codex +1 211installs vlog-creation vlog-creation — a skill that turns a Xiaohongshu vlog idea into a typed, timed scene plan instead of a pile of random footage. CX Codex +1 210installs canva Guides the agent through Canva brand setup and layout building for Xiaohongshu posts, banners and carousels. CX Codex +1 203installs account-positioning A skill for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode that walks through Xiaohongshu account positioning: vertical, audience, and differentiation. CX Codex +1 202installs account-integration account-integration coordinates multi-platform social media distribution, establishes channel hierarchies, and repackages single posts into channel-specific formats. CX Codex +1 198installs seeding-content-creation The seeding-content-creation skill helps create native product recommendations for Xiaohongshu, moving readers from a relatable problem to a purchase through real-use stories. CX Codex +1 198installs keyword-analysis keyword-analysis structures keyword research for Xiaohongshu, helping identify high-intent search terms and trending topics for content. CX Codex +1 197installs

Project sponsors

Companies that keep this analytics open