Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

graphic-layout图形布局

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

1,711

周安装

72

GitHub Stars

142

下载量

599
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:graphic-layout(图形布局)
来源仓库:https://github.com/vivy-yi/xiaohongshu-skills
仓库路径:skills/graphic-layout
安装命令:
npx skills add https://github.com/vivy-yi/xiaohongshu-skills --skill graphic-layout
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/vivy-yi/xiaohongshu-skills --skill graphic-layout

简介

用于辅助界面设计、视觉规范和布局优化,适合生成 UI 方案和改进组件层级。

  • 适用于产品设计、视觉规范制定和交互体验优化的场景。
  • 使用时需结合现有品牌、设计系统和用户任务,避免堆砌装饰元素。
  • 涉及真实页面改动时应通过截图或浏览器预览检查文本溢出和对齐表现。
  • 支持 Codex、Claude、Cursor 和 Gemini CLI 等宿主环境,通过 GitHub 安装。

SKILL.md

Graphic Layout (图文排版)

Overview

Graphic layout is the strategic arrangement of visual elements, typography, colors, and spacing in Xiaohongshu posts to create aesthetically pleasing, readable, and engaging content that captures attention within milliseconds, communicates messages clearly, and reinforces brand identity through proven design principles. In Xiaohongshu's visually-first environment, professional layout isn't optional - it's the difference between 50 views and 50,000 views. Great design makes content scannable, shareable, and memorable, while poor layout makes even valuable content invisible.

Key insight: Research shows users form first impressions of visual content in 50 milliseconds. Professional graphic layout improves engagement by 40%, increases save rates by 2x (people save well-designed content for reference), and strengthens brand recognition through consistent visual identity. Design is not decoration - it's communication.

When to Use

Use when:

  • Creating graphic-heavy posts with text overlays (quotes, tips, statistics)
  • Designing carousel slides with multiple elements per slide
  • Formatting infographic content to convey information visually
  • Creating promotional graphics (sales, announcements, launches)
  • Designing educational visuals (tutorials, how-tos, explanations)
  • Producing quote graphics or inspirational text posts
  • Creating branded content templates for consistent visual identity
  • Combining photos with text, icons, or decorative elements
  • Designing before/after comparison graphics
  • Creating listicles or numbered content in visual format

Do NOT use when:

  • Sharing raw, unedited photos (let image stand alone)
  • Content is text-heavy and better as pure text post
  • Minimal design is intentional aesthetic choice (artistic direction)
  • Quick, behind-the-scenes content where polish feels inauthentic
  • Video-first content where graphics are secondary

Core Pattern

Before (poor layout): ❌ "Cluttered, chaotic, no visual hierarchy" ❌ "Hard to read, text competes with background" ❌ "Inconsistent fonts, colors, styles" ❌ "Looks amateur, low credibility" ❌ "Viewers scroll past in <1 second"

After (professional layout): ✅ "Clean, organized, clear visual flow" ✅ "Scannable hierarchy, easy to read" ✅ "Consistent branding, polished aesthetic" ✅ "Professional, trustworthy, shareable" ✅ "Viewers stop, engage, save, share"

6 Essential Layout Principles:

PrinciplePurposeImpactPriority
Visual HierarchyGuide eye through contentCritical#1 - most important
White SpacePrevent clutter, improve readabilityHigh#2 - breathing room
AlignmentCreate order, professionalismHigh#3 - organized feel
ContrastEmphasize key elementsMedium-High#4 - focal points
ConsistencyBuild brand recognitionMedium-High#5 - identity
Color HarmonyEvoke emotion, aesthetic appealMedium#6 - atmosphere

Quick Reference

Design Tools Comparison:

ToolSkill LevelCostBest ForPlatform
CanvaBeginnerFree/PaidTemplates, quick designsWeb/Mobile
FigmaIntermediateFree/PaidCollaborative, precise designWeb/Mac/Win
Adobe ExpressBeginnerFree/PaidAdobe ecosystem integrationWeb/Mobile
PhotoshopAdvancedPaidProfessional manipulationDesktop
PicMonkeyBeginnerPaidPhoto editing + graphicsWeb
VistaCreateBeginnerFree/PaidBrand kit templatesWeb
Crello (now VistaCreate)BeginnerFree/PaidSocial media graphicsWeb
DesignBoldBeginnerPaidAI-powered suggestionsWeb

Xiaohongshu Image Specifications:

  • Aspect Ratio: 4:5 (recommended), 1:1 (square)
  • Resolution: Minimum 1080×1350 (4:5) or 1080×1080 (1:1)
  • File Size: Under 5MB for uploads
  • Format: JPG or PNG

Typography Scale for Readability:

ElementRelative SizeUse Case
Headline48-64ptMain title, hook
Subheadline32-40ptSupporting points, sections
Body Text20-28ptMain content, details
Captions/Labels16-20ptImage labels, annotations

Color Psychology for Social Media:

ColorEmotionUse Cases
RedEnergy, urgencySales, announcements, CTAs
OrangeEnthusiasm, warmthTips, motivational content
YellowOptimism, attentionHighlights, warnings
GreenGrowth, healthWellness, finance, success
BlueTrust, calmBusiness, education, professional
PurpleCreativity, luxuryArt, beauty, premium
PinkPlayful, romanticLifestyle, beauty, feminine
Black/WhiteSophisticated, minimalFashion, design, editorial

Implementation

Step 1: Establish Visual Hierarchy

Visual hierarchy guides the viewer's eye through content in order of importance. Without hierarchy, all elements compete equally and nothing stands out.

Hierarchy Techniques (in order of effectiveness):

1. Size Contrast:

  • Largest element = most important (headline, main point)
  • Medium elements = supporting information
  • Smallest elements = secondary details, credits
  • Rule: Make most important element 2-3x larger than secondary elements

2. Position Placement:

  • Top/left: Gets attention first (especially for left-to-right readers)
  • Center: High impact, focal point
  • Bottom/right: Supporting information, CTAs

3. Color Weight:

  • Bright, warm colors (red, orange) = high attention
  • Cool, muted colors (blue, gray) = secondary
  • High contrast = emphasized, low contrast = de-emphasized

4. Typography Weight:

  • Bold/heavy fonts = headlines, emphasis
  • Regular/medium = body text
  • Light/thin = decorative, minimal elements

Creating Hierarchy Example:

Title (LARGEST, boldest, brightest color)
├─ Subtitle (Medium size, bold but not headline)
│  ├─ Point 1 (Body text size, regular weight)
│  ├─ Point 2 (Body text size, regular weight)
│  └─ Point 3 (Body text size, regular weight)
└─ CTA (Small but high contrast color)

Testing Your Hierarchy:

  1. Squint at your design (blur vision)
  2. Can you still identify the main element? If yes, hierarchy works
  3. If everything blends together, strengthen size/color contrast

Step 2: Master White Space (Negative Space)

White space is the absence of content - and it's as important as the content itself. It prevents visual clutter, improves readability, and creates a premium, polished feel.

Types of White Space:

TypePurposeExample
Micro spaceBetween letters, wordsLine height, letter spacing
Macro spaceBetween elements, sectionsMargins, padding, gaps

White Space Best Practices:

Margins and Padding:

  • Edge margins: Leave 5-10% of image width as border
  • Text padding: Minimum 20-30px space between text and image edge
  • Element spacing: 30-50px between distinct sections or elements
  • Line spacing: 1.4-1.6x font size for body text readability

The "Breathing Room" Rule:

  • Each major element needs surrounding space equal to 30-50% of its size
  • Don't crowd text against images, icons, or decorative elements
  • If design feels cramped, increase spacing rather than reducing content

Common White Space Mistakes:

  • ❌ Text touching edges (looks amateur, hard to read on mobile)
  • ❌ Elements packed tightly (feels claustrophobic, stressful)
  • ❌ No gap between text and background image (unreadable)
  • ✅ Generous margins, balanced spacing, uncluttered feel

Step 3: Alignment and Grid Systems

Alignment creates invisible lines that connect elements, making design feel organized and professional.

Alignment Options:

AlignmentUse CaseEffect
LeftBody text, paragraphsEasiest to read, natural
CenterHeadlines, quotes, short textFormal, focused, elegant
RightCaptions, creditsUnconventional, artistic
JustifiedMulti-line textClean edges but can create uneven spacing

Grid System Basics:

2-Column Grid (simple, versatile):

[  Text  ]  [  Image  ]
[  Image  ]  [  Text  ]

3-Column Grid (more complex):

[ Text ] [ Image ] [ Text ]

Rule of Thirds (classic composition):

  • Divide image into 3×3 grid (9 equal rectangles)
  • Place key elements at intersections or along lines
  • Creates visual interest and dynamic balance

Alignment Best Practices:

  • One dominant alignment: Choose left, center, or right and stick to it
  • Align related elements: Connect related items with invisible alignment lines
  • Edge alignment: Align text or shapes to a consistent edge (left margin, bottom edge)
  • Center alignment exception: Use only for short text, headlines, quotes

Step 4: Typography and Font Selection

Fonts communicate personality and affect readability. Choose strategically.

Font Categories:

CategoryCharacterBest ForExamples
SerifTraditional, elegant, trustworthyLong-form, editorial, luxuryTimes New Roman, Georgia, Playfair Display
Sans-SerifModern, clean, friendlyHeadlines, social media, techArial, Helvetica, Montserrat
ScriptElegant, personal, feminineQuotes, accents, decorativeBrush Script, Allura
DisplayBold, expressive, uniqueHeadlines, short textImpact, Cooper Black

Font Pairing Combinations (that work):

Headline FontBody FontEffect
Bold Sans-Serif (Montserrat Bold)Regular Sans-Serif (Open Sans)Modern, clean, professional
Elegant Serif (Playfair Display)Clean Sans-Serif (Lato)Sophisticated, editorial
Script (Great Vibes)Simple Sans-Serif (Montserrat)Personal, warm, lifestyle
Display (Impact)Readable Sans-Serif (Roboto)Bold, attention-grabbing

Typography Rules:

  • Limit fonts: Maximum 2-3 fonts per design (1 headline, 1 body, optional accent)
  • Size hierarchy: Headline 2-3x larger than body text
  • Weight contrast: Bold headlines, regular body text
  • Readable size: Body text minimum 20pt for social media
  • Line length: 40-60 characters per line for optimal readability

Chinese Typography (for Xiaohongshu):

  • Headline: 思源黑体, 微软雅黑, 苹方
  • Body: 思源宋体, 冬青黑体, 兰亭黑
  • Avoid: Overly decorative fonts that sacrifice readability

Step 5: Color Strategy and Branding

Color isn't just aesthetic - it's emotional communication and brand identity.

Building Your Brand Color Palette:

Step 1: Choose Primary Color (1-2 colors):

  • Represents your brand personality
  • Used for headlines, CTAs, key elements
  • Examples: Red (Coca-Cola), Blue (Facebook), Green (Spotify)

Step 2: Add Secondary Colors (2-3 colors):

  • Complement primary, add variety
  • Used for supporting elements, backgrounds
  • Should harmonize with primary (color theory)

Step 3: Include Neutrals (3-4 colors):

  • Black, white, gray, beige
  • Used for backgrounds, body text, borders
  • Provide balance and prevent color overwhelm

Color Harmony Formulas:

HarmonyStructureMoodExample
MonochromaticOne color, varied shadesCohesive, calmDark blue, medium blue, light blue
AnalogousAdjacent colors on wheelHarmonious, comfortableBlue, blue-green, green
ComplementaryOpposite colorsDynamic, high contrastBlue + orange, red + green
Triadic3 equally spaced colorsVibrant, balancedRed, yellow, blue
60-30-10 Rule60% neutral, 30% secondary, 10% accentBalanced, professional60% white/gray, 30% blue, 10% yellow

Contrast for Readability:

  • Text on background: Minimum 4.5:1 contrast ratio (WCAG standard)
  • Light background + dark text: White background, black text (highest readability)
  • Dark background + light text: Dark blue background, white text
  • Avoid: Red text on green, blue on black (accessibility issues)

Step 6: Layout Templates and Patterns

Don't reinvent the wheel - use proven layout patterns.

Common Xiaohongshu Layout Patterns:

Pattern 1: Typography-Heavy (Quote, Tip)

[White/Light Background]
     [Headline Text - Centered, Large]
     [Supporting Text - Smaller]
     [Icon or Decorative Element]
     [Branding/Footer - Small, Bottom]

Pattern 2: Split Image + Text

[Image - Left 50%]  [Text - Right 50%]

Pattern 3: Full Image + Text Overlay

[Full-Size Background Image]
     [Semi-transparent Overlay Box]
     [Headline Text - On Overlay]
     [Supporting Text - On Overlay]

Pattern 4: Grid/Multi-Image

[Image 1] [Image 2]
[Image 3] [Image 4]
     [Text Footer]

Pattern 5: Listicle (Numbered Points)

[Headline - Top]
1. [Point 1] [Icon]
2. [Point 2] [Icon]
3. [Point 3] [Icon]

Template Creation Workflow:

  1. Choose 2-3 layout patterns that fit your content type
  2. Create reusable templates in Canva/Figma with your brand colors, fonts
  3. Save as templates for consistent, rapid content creation
  4. Customize images and text for each post while maintaining structure

Step 7: Mobile Optimization

90%+ of Xiaohongshu users view on mobile - design for small screens first.

Mobile Design Checklist:

  • Text size: Minimum 20pt body text for readability without zoom
  • Touch targets: Buttons/CTAs minimum 44×44px (finger-friendly)
  • Simplified layout: Reduce elements, avoid overcrowding
  • Vertical orientation: Design for portrait mode (9:16 aspect)
  • Test on actual phone: View design on real device, not just desktop

Mobile-Specific Issues:

  • Text too small: Unreadable, users scroll past
  • Too much text: Overwhelming, screen cluttered
  • Horizontal layout: Forces phone rotation, poor UX
  • Low contrast: Hard to read in outdoor/bright light

Mobile-First Design Process:

  1. Sketch layout for mobile screen size first
  2. Test readability on phone (hold at arm's length)
  3. Simplify: Remove non-essential elements
  4. Scale up for desktop/tablet (not vice versa)

Common Mistakes

MistakeWhy It's WrongFix
Too many fonts (3+)Cluttered, unprofessional, hard to readLimit to 2 fonts max (headline + body)
Insufficient contrastUnreadable, especially for accessibilityUse high contrast (dark on light, light on dark)
Crowding elementsClaustrophobic, amateur, low-quality feelAdd white space, margins, breathing room
No visual hierarchyEye doesn't know where to look firstUse size, color, position to emphasize main element
Text touching edgesUnprofessional, hard to read (mobile)Leave 5-10% margins around edges
Inconsistent alignmentDisorganized, messy feelChoose one alignment (left/center) and stick to it
Poor color choicesUnappealing, brand-damagingUse color theory, limit palette to 3-5 colors
Over-designedStyle over substance, distracts from contentDesign supports content, doesn't compete
Ignoring mobile90% of users can't read comfortablyDesign mobile-first, test on phone
Low-quality imagesPixelated, unprofessional, damages credibilityUse high-resolution images (1080px+)

Real-World Impact

Case Study 1: Lifestyle Creator's Design Transformation

Creator: Xiaohongshu lifestyle and wellness blogger, 8K followers Problem: Engagement plateau, comments: "Content is good but hard to read" Issues Identified: Cluttered layouts, inconsistent fonts, poor contrast, text touching edges

Solution Implemented:

  • Created brand color palette (3 colors + neutrals)
  • Standardized on 2 fonts (Montserrat + Lato)
  • Designed 3 reusable templates in Canva for different content types
  • Added white space (30-50px margins between elements)
  • Increased text size to minimum 24pt for body

Results (60 days):

  • Engagement rate: 2.5% → 6.8% (2.7x improvement)
  • Save rate: 1.2% → 4.5% (3.75x increase)
  • Follower growth: +2,100 (26% growth) - attracted by professional aesthetic
  • Brand inquiries: 5 brands reached out for partnerships (professional = trustworthy)
  • Content creation time: Reduced by 40% (template efficiency)

Key Learning: Consistent templates + mobile optimization = massive engagement gains.

Case Study 2: Educational Account's Visual Overhaul

Creator: Educational tips creator, 15K followers Problem: High value content but low saves, shares Issue: Wall of text, no visual hierarchy, boring design

Solution:

  • Implemented hierarchy: Bold headlines, bullet points, icons
  • Used color strategically: Blue for headings, orange for key takeaways
  • Added white space between sections
  • Created infographic-style layouts for tips
  • Used numbered lists (1, 2, 3) for scannability

Results (90 days):

  • Save rate: 0.8% → 5.2% (6.5x increase - saving for reference)
  • Share rate: 0.5% → 2.8% (5.6x increase - visual worth sharing)
  • Comment quality: Increased - users praising "finally easy to read"
  • Featured by Xiaohongshu: Platform featured post (algorithm rewards visual quality)
  • Course sales: 35% increase in online course sales (trust through professionalism)

Key Learning: Visual hierarchy and scannability dramatically increases save/share behavior.

Case Study 3: Brand's Template System

Brand: Beauty brand with 3 content creators Problem: Inconsistent visual identity across creators, damaged brand recognition Solution:

  • Created brand kit in Canva (colors, fonts, logo, templates)
  • Designed 10 reusable templates for different content types
  • Trained all creators on template usage
  • Centralized approval process to maintain consistency

Results (6 months):

  • Brand consistency: 100% across all posts (vs. 30% before)
  • Recognition: Survey showed 68% recognized posts as same brand (vs. 22% before)
  • Engagement: +45% (consistent aesthetic builds trust)
  • Content efficiency: 60% reduction in design time (templates)
  • Follower growth: +8,000 (strong, recognizable brand identity)

Key Learning: Template systems create efficiency, consistency, and brand recognition.


Related Skills

REQUIRED:

  • cover-design: Designing attention-grabbing first images
  • canva: Canva-specific techniques and workflows
  • design-principles: Fundamental design theory and application
  • visual-storytelling: Communicating narratives through visual elements

RECOMMENDED:

  • color-theory: Advanced color harmony and psychology
  • typography: Font selection and typesetting best practices
  • branding: Building comprehensive visual brand identity
  • infographic-design: Creating information-dense visual content
  • mobile-design: Optimizing specifically for mobile user experience

NEXT STEPS:

  1. Audit your current posts: What are your top 3 design weaknesses?
  2. Define your brand palette: Choose 2-3 primary colors + neutrals
  3. Select 2 fonts: One for headlines, one for body text
  4. Create templates: Design 2-3 reusable layouts in Canva
  5. Test on mobile: Always preview on phone before publishing

Great graphic layout is invisible - viewers notice the content, not the design. Poor layout is glaringly obvious and undermines credibility. Professional design isn't about being fancy; it's about clarity, hierarchy, and consistency. When design serves content instead of competing with it, engagement follows naturally. Invest time in templates and systems - they pay dividends in efficiency, brand recognition, and audience growth.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.85%
按下载量换算233

Claude

31.7%
按下载量换算190

Cursor

17.4%
按下载量换算104

Gemini CLI

9.34%
按下载量换算56

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills