# graphic-layout

graphic-layout guides AI agents in structuring typography, spacing, and visual hierarchy for Xiaohongshu carousel slides and graphics.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 202 installs · ★ 564 repo stars
- Author: vivy-yi
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/vivy-yi/xiaohongshu-skills/tree/HEAD/skills/01-内容创作/graphic-layout/SKILL.md
- Updated: 2026-01-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/graphic-layout

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add vivy-yi/xiaohongshu-skills --skill graphic-layout -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/graphic-layout/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/graphic-layout/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add vivy-yi/xiaohongshu-skills --skill graphic-layout -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/graphic-layout/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add vivy-yi/xiaohongshu-skills --skill graphic-layout -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/graphic-layout/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install vivy-yi/xiaohongshu-skills skills/01-内容创作/graphic-layout
```

2. **Manually: put the files in place**
- File: `.github/skills/graphic-layout/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add vivy-yi/xiaohongshu-skills --skill graphic-layout -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/vivy-yi/xiaohongshu-skills --path skills/01-内容创作/graphic-layout
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/graphic-layout/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add vivy-yi/xiaohongshu-skills --skill graphic-layout -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/vivy-yi/xiaohongshu-skills/tree/HEAD/skills/01-内容创作/graphic-layout/SKILL.md

## When to use it
- organize visual hierarchy for Xiaohongshu carousel slides
- select readable typography scales for graphic overlays
- format promotional graphics according to platform dimensions

## Example prompts
- 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

## Similar
- [efecto-graphic-design](https://affpapa.org/en/nevibecode/skills/efecto-graphic-design.md) — skill · 845 installs
- [agency-grid-layout-minimal](https://affpapa.org/en/nevibecode/skills/agency-grid-layout-minimal.md) — skill · 1800 installs
- [ai-graphic-design-skill](https://affpapa.org/en/nevibecode/skills/ai-graphic-design-skill.md) — skill · 209 installs
- [graphic-design](https://affpapa.org/en/nevibecode/skills/graphic-design.md) — skill · 535 installs
- [better-layout](https://affpapa.org/en/nevibecode/skills/better-layout.md) — skill · 40700 installs
- [layout-grid](https://affpapa.org/en/nevibecode/skills/layout-grid.md) — skill · 2900 installs

From the same set: [vivy-yi/xiaohongshu-skills](https://affpapa.org/en/nevibecode/by/vivy-yi/xiaohongshu-skills.md) — 100 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
