Token导航 LogoToken导航

Agent Skill · 前端设计

content-layout(内容布局)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

content-layout 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 3,074。

总安装 1,606周安装 69GitHub Stars 142下载 563核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

针对小红书轮播图设计的内容排版与视觉动线规划工具。优化图文比例、信息层级与品牌美学一致性。适用于多页长文案、指南类内容的视觉组织。

安装方式:通过 GitHub 仓库安装,命令为 npx skills add https://github.com/vivy-yi/xiaohongshu-skills --skill content-layout。注意:不适用于单图帖子或纯图片型内容布局调整。

来源仓库内路径:skills/content-layout

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/vivy-yi/xiaohongshu-skills --skill content-lay…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

content-layout 怎么安装?

在终端执行 npx skills add https://github.com/vivy-yi/xiaohongshu-skills --skill content-layout。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

content-layout 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

content-layout 需要什么权限?

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

content-layout 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

content-layout 用的人多吗?

公开数据是累计安装 1,606 次,近一周安装 69 次,下载 563 次,GitHub 142 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

content-layout 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
content-layout

内容布局 · 本页

1,606142只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Content Layout (内容排版)

Overview

Content layout is the strategic arrangement of visual elements, text, and information on Xiaohongshu carousel slides to create visually appealing, easy-to-consume content that guides the viewer's eye and communicates information effectively.

When to Use

Use when:

  • Creating carousel posts (multi-slide content)
  • Designing text-heavy content (tips, lists, guides)
  • Organizing information visually
  • Improving content readability
  • Creating branded aesthetic
  • Designing cover images for carousels

Do NOT use when:

  • Single image posts (less layout complexity)
  • Content is primarily visual (minimal text)

Core Pattern

Before (poor layout):

❌ "Text too small, can't read on mobile"
❌ "Cluttered design, no visual hierarchy"
❌ "Inconsistent fonts and colors across slides"
❌ "Slides feel disconnected, no cohesive design"
❌ "Viewers swipe past without reading"

After (professional layout):

✅ "Clear visual hierarchy, easy to scan"
✅ "Consistent design language across all slides"
✅ "Text is readable (even on small screens)"
✅ "Branded aesthetic, followers recognize my style"
✅ "High engagement: saves, shares, completion"
✅ "Professional look, attracts brand partnerships"

5 Layout Principles:

  1. Hierarchy - Most important elements largest and first
  2. Consistency - Unified style across all slides
  3. Readability - Text is legible on mobile screens
  4. Balance - Visual weight distributed evenly
  5. Whitespace - Breathing room, not overcrowded

Quick Reference

Layout ElementBest PracticeTool
Font SizeMinimum 24pt for body textCanva, Xingtu
Text ContrastDark on light or light on darkDesign apps
Slide Count5-10 slides optimalPlanning
Aspect Ratio3:4 or 1:1 (Xiaohongshu standard)Canva
Color Palette2-3 colors max per carouselCanva pro features

Implementation

Step 1: Plan Carousel Structure

Outline Before Designing:

Carousel Planning Framework:

1. Define Content Purpose
   What is this carousel about?
   - Tutorial: Step-by-step guide
   - List: Top tips, products, mistakes
   - Story: Narrative arc across slides
   - Comparison: Before/after, product comparison

   Example Purpose:
   "Educational carousel teaching how to build a skincare routine
    for dry skin in 5 steps"

2. Outline Slide-by-Slide
   Slide Breakdown:

   Slide 1: Cover/Hook
   - Eye-catching title
   - Promise of value
   - Your brand/aesthetic

   Slide 2-4: Main Content (3 slides)
   - One key point per slide
   - Visually consistent
   - Progressive flow

   Slide 5: Summary/Takeaways
   - Recap key points
   - Memorable format

   Slide 6: Call-to-Action
   - What to do next
   - Link/Follow prompt

   Example Outline:
   Slide 1: "Dry Skincare Routine: 5 Steps to Hydrated Skin"
   Slide 2: "Step 1: Gentle Cleanser (why + how)"
   Slide 3: "Step 2: Hydrating Toner (why + how)"
   Slide 4: "Step 3: Hyaluronic Acid Serum (why + how)"
   Slide 5: "Steps 4-5: Moisturizer + SPF"
   Slide 6: "Save this! Follow for more skincare tips"

3. Determine Text vs Visual Balance
   Text-Heavy (Tips, Lists):
   - More text per slide
   - Bullet points, numbered lists
   - Clean background to keep focus on text
   - Generous whitespace

   Visual-Heavy (Results, Products):
   - Large images, minimal text
   - Text overlays for context
   - Emotion-driven (not information-driven)

   Balanced (Educational):
   - Equal text and visuals
   - Image + explanation per slide
   - Visual supports text, not competes

4. Plan Visual Elements
   What visuals do you need?
   - Product photos
   - Before/after photos
   - Illustrations/graphics
   - Icons (checkmarks, arrows)
   - Background colors/textures

   Visual Consistency:
   - Same photo style across all slides
   - Consistent background (color or texture)
   - Unified design elements

   Example:
   All slides:
   - White background
   - Product photo on right
   - Text on left
   - Accent color: coral pink
   - Font: Arial (clean, modern)

5. Create Design System
   Before designing first slide, decide:

   Fonts:
   - Title font: [Bold, decorative font]
   - Body font: [Clean, readable font]
   - Accent font: [For emphasis, if using]

   Colors:
   - Primary: [Main brand color]
   - Secondary: [Supporting color]
   - Accent: [Highlight color]
   - Background: [White/light gray/off-white]
   - Text: [Dark gray/black]

   Elements:
   - Icons style: [Line or filled]
   - Shapes: [Rounded corners or sharp]
   - Divider lines: [Include or not]

   Example Design System:
   Font: Poppins (modern, clean)
   Colors: Coral (#FF7F50), White (#FFFFFF), Dark Gray (#333333)
   Icons: Filled circles for emphasis
   Shapes: Rounded corners (20px radius)

Step 2: Design Individual Slides

Create Each Slide with Purpose:

Slide Design Templates:

1. Cover Slide (Slide 1)
   Purpose: Grab attention, promise value

   Layout:
   - Title: Large, bold, top 1/3 of slide
   - Subtitle: Smaller, supporting text
   - Visual: Product photo or illustration (bottom 2/3)
   - Branding: Your logo or handle (subtle, corner)

   Title Tips:
   ✅ Specific (not "Skincare Tips" but "5 Steps for Dry Skin")
   ✅ Benefit-driven (what they'll gain)
   ✅ Intriguing (make them want to swipe)

   Cover Slide Example:
   [Title: 5-Step Dry Skincare Routine]
   [Subtitle: Transform Your Skin in 30 Days]
   [Image: Model with glowing skin holding products]
   [Bottom: Your handle]

2. Content Slides (Slides 2-5)
   Purpose: Deliver information, one point per slide

   Layout Options:

   Split Layout:
   - Left: Text (step/title + explanation)
   - Right: Image (product photo, result)
   - Divide: 50/50 or 60/40

   Vertical Layout:
   - Top: Title/Step number
   - Middle: Image (large, visual focus)
   - Bottom: Text explanation (2-3 bullet points)

   Text-First Layout:
   - Top: Title/Step number (bold)
   - Middle: Text explanation (bullet points)
   - Bottom: Small supporting image

   Design Best Practices:
   ✅ One main point per slide
   ✅ 3-5 bullet points max (avoid overwhelm)
   ✅ Large text (minimum 24pt body, 36pt title)
   ✅ High contrast (dark text on light background)
   ✅ Generous whitespace (don't crowd)
   ✅ Visual hierarchy (title > subtitles > body)

   Content Slide Example (Split Layout):
   [Left Side]
   Step 2: Hydrating Toner

   Why:
   • Prepares skin for serum
   • Adds lightweight hydration
   • Balances pH levels

   How:
   Apply to cotton pad, sweep
   over face after cleansing

   [Right Side]
   [Large product photo]

3. Summary Slide (Slide 5 or 6)
   Purpose: Recap key points, memorable takeaway

   Layout Options:

   List Format:
   - Title: "Recap: 5 Steps for Dry Skin"
   - Numbered list of all steps (brief)
   - Key takeaway or pro tip

   Visual Format:
   - Infographic-style (process flow)
   - Diagram or illustration
   - Before/after if applicable

   Summary Slide Example:
   [Title: Your Complete Routine]

   Morning:
   1. Cleanser
   2. Toner
   3. Serum
   4. Moisturizer
   5. SPF

   Pro Tip:
   Wait 1 minute between steps
   for better absorption!

4. CTA Slide (Final Slide)
   Purpose: Drive action (follow, save, share, click)

   Layout:
   - Large text (one clear message)
   - Supporting visual (optional)
   - Branded elements

   CTA Examples:
   - "Save this for your next shopping trip!"
   - "Follow for more skincare routines"
   - "Comment your questions below"
   - "Link in bio for full product list"
   - "Share with a friend who needs this"

   CTA Slide Example:
   [Large Text: SAVE THIS]
   [Smaller: for your next routine]
   [Visual: Phone with saved icon]
   [Bottom: Follow @[username] for more]

Step 3: Master Typography

Make Text Readable and Beautiful:

Typography Best Practices:

1. Font Selection
   Categories:
   - Serif: Traditional, elegant (good for luxury brands)
   - Sans-serif: Modern, clean (good for most content)
   - Display: Decorative, bold (use sparingly for titles)

   Readability Hierarchy:
   Title Font: Bold, distinctive
   Body Font: Clean, simple, highly readable
   Accent Font: Different style (use for emphasis only)

   Font Pairing:
   ✅ Two fonts max (title + body)
   ✅ Pair sans-serif with serif (modern + classic)
   ✅ Same font family, different weights (bold + regular)

   Popular Font Combinations:
   - Poppins (modern) + Playfair Display (elegant)
   - Arial (safe) + Georgia (classic)
   - Montserrat (clean) + Merriweather (readable)

2. Font Sizing
   Mobile-First (Xiaohongshu is mobile app):

   Title: 36-48pt (large, bold)
   Subtitle: 28-32pt (medium, regular)
   Body: 24-28pt (small, readable)
   Captions: 18-20pt (very small, use sparingly)

   Testing:
   ✅ Preview on phone screen
   ✅ Can you read without zooming?
   ✅ Is text legible at arm's length?

   Common Mistakes:
   ❌ Text too small (<20pt body = unreadable)
   ❌ Text too large (>50pt title = overwhelming)

3. Text Color and Contrast
   Contrast Ratios:
   ✅ Dark text (#333333) on light background (#FFFFFF)
   ✅ White text (#FFFFFF) on dark background (#333333 or branded color)
   ✅ Dark gray (#666666) on light gray (#F5F5F5)

   Avoid:
   ❌ Light text on light background (low contrast)
   ❌ Dark text on dark background (unreadable)
   ❌ Bright colored text (hard to read)

   Color Emphasis:
   ✅ Use accent color for keywords/highlights
   ✅ Don't overuse (1-2 words per slide max)

4. Text Spacing
   Line Spacing (Leading):
   ✅ 1.2-1.5x font size (body text)
   ✅ 1.0-1.2x font size (titles)

   Example:
   Font size: 24pt
   Line spacing: 30pt (1.25x)

   Letter Spacing (Kerning):
   ✅ Normal for body text
   ✅ Slightly increased for ALL CAPS titles

   Paragraph Spacing:
   ✅ One blank line between paragraphs
   ✅ Extra space before/after headers

5. Text Alignment
   Options:
   - Left align: Most readable, standard
   - Center align: For titles, short text
   - Right align: Rarely use (hard to read)

   Best Practice:
   ✅ Left align body text (most readable)
   ✅ Center align titles (aesthetic)
   ❌ Justify (creates uneven spacing)

6. Text Hierarchy
   Visual Hierarchy:
   1. Title (largest, boldest)
   2. Subtitle (medium, regular weight)
   3. Body text (smaller, regular weight)
   4. Captions (smallest, optional emphasis)

   Size Scale:
   Title: 48pt
   Subtitle: 32pt
   Body: 24pt
   Caption: 18pt

   Weight Scale:
   Title: Bold (700)
   Subtitle: Semi-bold (600)
   Body: Regular (400)
   Caption: Light (300) or Regular

Typography Checklist:
✅ Font readable at mobile size
✅ High contrast (dark on light or vice versa)
✅ Generous spacing (not cramped)
✅ Clear hierarchy (title > body)
✅ Consistent across all slides

Step 4: Use Colors Effectively

Create Cohesive Color Palette:

Color Strategy for Carousels:

1. Define Brand Colors
   Primary Color:
   - Main brand color
   - Use for: Titles, accents, emphasis
   - Example: Coral (#FF7F50)

   Secondary Color:
   - Supporting color
   - Use for: Subtitles, icons, dividers
   - Example: Peach (#FFCBA4)

   Neutral Colors:
   - Background: White (#FFFFFF), light gray (#F5F5F5)
   - Text: Dark gray (#333333), black (#000000)

   Accent Color:
   - Highlight color (use sparingly)
   - Use for: CTAs, important keywords
   - Example: Gold (#FFD700) or bright version of primary

2. Color Psychology
   What Colors Communicate:

   Blue: Trust, professional, calm
   → Good for: Skincare, educational content

   Pink/Coral: Feminine, warm, friendly
   → Good for: Beauty, lifestyle

   Green: Natural, organic, healthy
   → Good for: Clean beauty, wellness

   Black/White: Minimal, modern, sophisticated
   → Good for: Fashion, luxury

   Yellow/Orange: Energetic, cheerful
   → Good for: Tips, lists, fun content

3. Create Color Palette
   Formula: 1 primary + 1 secondary + 2 neutrals

   Example Palette 1 (Warm):
   Primary: Coral (#FF7F50)
   Secondary: Peach (#FFCBA4)
   Neutral 1: White (#FFFFFF)
   Neutral 2: Dark Gray (#333333)

   Example Palette 2 (Cool):
   Primary: Teal (#008080)
   Secondary: Light Blue (#ADD8E6)
   Neutral 1: White (#FFFFFF)
   Neutral 2: Navy (#000080)

   Example Palette 3 (Minimal):
   Primary: Black (#000000)
   Secondary: Gray (#808080)
   Neutral 1: White (#FFFFFF)
   Neutral 2: Light Gray (#D3D3D3)

4. Apply Colors Consistently
   Color Rules:
   ✅ Same background across all slides (usually white)
   ✅ Titles always primary color
   ✅ Body text always neutral dark
   ✅ Accents in secondary color
   ✅ CTAs in bright accent color

   What to Color:
   - Slide titles: Primary color
   - Step numbers: Primary color
   - Keywords/Emphasis: Secondary color
   - Body text: Neutral dark
   - Bullet points: Secondary or neutral
   - Background: Neutral light (white or light gray)

5. Test Color Accessibility
   Check:
   ✅ Is text readable on background?
   ✅ Is there enough contrast?
   ✅ Does it look good on mobile screen?

   Tool: Contrast checker (online)
   Standard: WCAG AA (4.5:1 contrast ratio minimum)

   Test:
   - View on phone in natural light
   - Ask friend: "Can you read this easily?"

Step 5: Add Visual Elements

Enhance with Graphics:

Visual Enhancement Elements:

1. Icons and Shapes
   Purpose: Visual interest, organization

   Icons:
   - Checkmarks: For lists, pros
   - Crosses: For cons, warnings
   - Arrows: Direct attention, show flow
   - Circles: Group related items
   - Numbers: Step indicators

   Usage Rules:
   ✅ Consistent style (all filled or all outline)
   ✅ Same color scheme (primary or secondary)
   ✅ Appropriate size (not overwhelming)
   ❌ Don't overuse (cluttered)

   Example:
   Step 1: [Number in circle] Cleanser
   Step 2: [Number in circle] Toner

2. Dividers and Lines
   Purpose: Separate sections, visual flow

   Types:
   - Horizontal line: Separates sections
   - Dotted line: Softer separation
   - Wave/shape: Decorative divider

   Usage:
   ✅ Between title and body
   ✅ Between slides (if split content)
   ❌ Don't overuse (can look cluttered)

3. Backgrounds and Textures
   Options:
   - Solid color (cleanest)
   - Gradient (modern, subtle)
   - Texture (paper, fabric - adds depth)
   - Image (product photo, blurred)

   Best Practice:
   ✅ Subtle, doesn't compete with content
   ✅ Consistent across carousel
   ❌ Busy patterns (hard to read text)

4. Product Photography
   Integration:
   - Cutout product: Remove background, place on solid color
   - Lifestyle shot: Product in use context
   - Flat lay: Products arranged artfully

   Placement:
   - Right side (if text on left)
   - Background (blurred, text overlaid)
   - Bottom (small, supporting)

5. Overlays and Effects
   Options:
   - Drop shadow: Adds depth to text/boxes
   - Translucent box: Behind text for readability
   - Gradient overlay: Fade from transparent to color

   Usage:
   ✅ Subtle effects (enhance, don't distract)
   ✅ Purposeful (improves readability or aesthetic)
   ❌ Heavy effects (looks amateur)

Visual Element Checklist:
✅ Icons consistent in style and color
✅ Product photos high quality and consistent
✅ Backgrounds clean and simple
✅ Effects subtle and purposeful
✅ All elements support content (not decorative)

Common Mistakes

MistakeWhy HappensFix
Text too smallDesign on desktop, forget mobileTest on phone, minimum 24pt body text
Too much textWant to include all infoEdit ruthlessly, one point per slide
Inconsistent fontsUsing different fonts each slideCreate design system, stick to 2 fonts max
Poor color contrastFocus on aestheticsCheck contrast, prioritize readability
Cluttered designFear of empty spaceEmbrace whitespace, less is more
No visual hierarchyAll text same sizeCreate clear hierarchy with size and weight
Low-quality imagesUse any image availableUse high-quality, consistent photo style

Real-World Impact

Case Study: Layout Transformation

  • Before: Text-heavy, small fonts, inconsistent, 5% completion rate
  • After: Clean layout, large text, consistent design, 40% completion rate
  • Result: 8x increase in completion, 3x more saves, followers praised readability

Data-Backed Insights:

  • Carousels with consistent design get 2x more engagement than inconsistent
  • Text size under 24pt results in 70% lower completion
  • High contrast (dark on light) increases reading time by 40%
  • Carousels with 5-8 slides have optimal completion (too many = drop-off)
  • White space increases comprehension by 30%
  • Cover slides with clear title/value get 3x more swipe-through

Related Skills

REQUIRED: Use cover-design (cover slide is first impression) REQUIRED: Use image-text-content (layout for图文 posts)

Recommended:

  • visual-branding (create consistent aesthetic)
  • canva (tool for carousel design)
  • graphic-design (fundamental design principles)

平台分布

Codex

34.47%
按下载量换算194

Claude

29.01%
按下载量换算163

Cursor

19.67%
按下载量换算111

Gemini CLI

8.9%
按下载量换算50

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

继续浏览同类 Skills