Red layout skill

From arcsin1/oh-my-ppt · View interactive version

Red layout skill is an AI agent skill from the GitHub repository arcsin1/oh-my-ppt. Must be read before creating, relaying out, or repairing Xiaohongshu/red-note canvas pages. Defines social-note layout, hook/value/takeaway reading flow, saveable note patterns, vertical budgeting, compact chart/list composition, plus catalog and checklist references for 1242x1660 canvases.

How to use this skill

Skill file

Red Layout Skill

This skill is the layout source of truth for xiaohongshu-note pages, commonly 1242x1660.

A red-note page should read like a saveable social image note: a strong hook, useful body, and memorable takeaway. The layout should make the viewer understand why the page is worth pausing on and what value they can keep.

This canvas is a social note card, not a compressed slide. When the source content is dense or "needs to be summarized", summarize or regroup it for this reading format instead of cramming a 16:9 deck's worth of outline into one page.

Deep details live in the references:

Preflight

Before writing HTML, decide:

  1. Stop reason - why would someone pause, save, or screenshot this note page?
  2. Hook - title, question, claim, number, or visual anchor in the first 1-2 seconds.
  3. Value format - checklist, steps, comparison, myth/fact, template, data takeaway, framework, or story/proof.
  4. Body grouping - start with 3-4 information chunks (or 5-6 compact list rows for checklist/steps), then regroup or choose a denser pattern when the content genuinely needs it; do not squeeze more chunks in by making them unreadable.
  5. Takeaway - conclusion, action, summary line, warning, or compact bottom note.
  6. Pattern - use a structure from references/catalog.md as a starting point when it helps the reading path; it is not a closed template menu, and a fresh composition is welcome when it serves the page thesis.
  7. Budget - estimate hook height, body rows/sections, gaps, bottom note, and safe margin.

Use the canvas dimensions from the prompt. If custom dimensions are supplied, preserve the same red-note reading flow.

Canvas Grammar

Pattern Quick Lookup

| Intent | Patterns |

| --- | --- |

| cover / hook | cover-hook |

| checklist / steps | saveable-checklist · step-guide |

| comparison / Q&A | before-after-stack · myth-fact-qa |

| data / framework | data-takeaway-note · mini-framework |

| reusable asset | template-note |

Use references/catalog.md for the full structure recipe before writing a new or heavily repaired note page.

Note Budget

Calculate before writing:

  1. Canvas height: commonly 1660px.
  2. Outer vertical padding: commonly 96-176px total.
  3. Hook/title zone: usually 220-420px after wrapping.
  4. Body sections or list rows: calculate count and row height.
  5. Gaps between sections.
  6. Bottom takeaway/source/reserve: usually 120-260px when present.
  7. Remaining height is the main value zone.

For charts, reserve a specific frame height and keep the @ppt-chart-height=N marker aligned with the h-[Npx] class. Prefer compact bars, mini trends, rank lists, or hero metric + explanation.

Keep visible facts grounded in the source. Do not invent social-proof numbers, quotes, cases, or claims.

Repair And Self-check

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.