Skill3.4k repo starsupdated 16d ago
guizang-social-card-skill
This skill generates visual social card packages in Guizang editorial and Swiss style for Xiaohongshu/Rednote (3:4 format), WeChat Official Account covers (21:9 main plus 1:1 square), and article carousels from user-provided text, screenshots, or photos. Use it when creating polished social media content sets for travel, workplace, recommendations, tutorials, fitness, home, or lifestyle posts that require professional layout and typography rather than full slide decks or video content.
Install in Claude Code
Copygit clone https://github.com/op7418/guizang-social-card-skill ~/.claude/skills/guizang-social-card-skillThen start a new Claude Code session; the skill loads automatically.
Definition
SKILL.md
# Guizang Social Card Skill Create polished social card packages for Xiaohongshu/Rednote, WeChat Official Account, article covers, and platform thumbnails. This skill is self-contained. It borrows visual principles from the Guizang PPT style system, but it must not edit the original PPT skill, its templates, or its references. If the original PPT skill is available, you may read it for reference only. Put all generated work in the current project or in the user-requested output folder. ## What To Produce Use this skill for: - Social card / carousel image sets: cover plus content pages, especially Xiaohongshu/Rednote 3:4. - WeChat Official Account cover pairs: one `21:9` main cover plus one `1:1` square cover, composed together in the same HTML for visual checking. - Screenshot-heavy product posts, article covers, tutorial carousels, outdoor/lifestyle notes, AI/product update explainers. - Social images that need Guizang-style Swiss or editorial magazine layouts. Do not use this skill for: - Full slide decks or horizontal PPT websites. Use the PPT skill for that. - Long-form video generation. Use a video skill for that. - Pure image editing with no layout or article extraction requirement. ### Rednote Category Capability (capability circle) The 11 most-common Rednote (小红书) categories fall into three buckets. See `references/category-cookbook.md` for the recipe-by-recipe routing. **Strong end-to-end** (text, structure, and image story all in scope): - 旅行 (Travel), 职场 (Workplace), 推荐 (Recommended, after specifying a subtype). **Strong on text & structure; image needs to come from the user or a sourced library:** - 游戏 (Game), 影视 (Film/TV), 美食 食谱方向 (Food — recipes only), 彩妆 教程方向 (Makeup — tutorials only), 健身 (Fitness), 家居 (Home), 穿搭 精选方向 (Outfit — capsule/essay only). **Outside scope — push back honestly rather than promise a result:** - 美食 菜品大片摆盘 (food-photography showcase). - 穿搭 日常 OOTD 全身 (daily OOTD body shots; we cannot generate or simulate). - 情感 梦核 / 氛围感装饰风 (dreamcore / aesthetic-light styling — clashes with both Editorial and Swiss). - Y2K / 千禧辣妹 / 哥特萝莉 / kawaii decorated aesthetics. - Pure photography showcase posts where the image is the entire deliverable. When a request falls in the third bucket, name what we cannot do at intake — do not silently retrofit a layout that misses the user's intent. ## Core Principle Expression comes first. The goal is not to squeeze text into posters; it is to turn the source into a clear visual argument. For each page, decide: - What should the viewer understand in one glance? - What evidence, screenshot, or image supports it? - Which words must be large, and which can become captions or metadata? - What can be removed because it belongs in the post body, not the image? ## Required References Read these files as needed: - `references/platform-specs.md` for exact ratios, output sizes, and naming. - `references/style-system.md` for Guizang editorial and Swiss visual rules. - `references/theme-presets.md` when choosing electronic-magazine palettes or Swiss accent palettes. - `references/layout-recipes.md` when selecting carousel/social-card/WeChat page structures. - `references/components.md` for the shared component spec: font stacks, type scale, minimum readable sizes, Chinese title length bands, Swiss card-fill mutual-exclusion rule, image-container ratio classes, spacing tokens, and Lucide icon rules. - `references/background-systems.md` when building electronic-magazine WebGL/ink/paper backgrounds. - `references/portrait-fill.md` when adapting layouts to 3:4 and avoiding under-filled vertical space. - `references/content-planning.md` for cover hooks, page breakdown, and copy compression. - `references/production-workflow.md` for HTML/CSS rendering and image handling. - `references/image-overlay.md` whenever text sits on top of a photo: photo qualification, localized tint fallback, and face / subject avoidance via multimodal subject mapping. - `references/screenshot-treatment.md` when the user supplies an app / web / code / dashboard screenshot — picks `.frame-shot` over `.frame-img`, sets corners/shadow/bg/inset, decides on `.device-browser` or `.device-phone` chrome. - `references/map-component.md` when the content has spatial relationships (travel route, store locations, walking tour) — real routes default to Mapbox Static or OSM static tiles; schematic SVG is only for conceptual / illustrative maps. Pins are HTML overlays; never use live JS maps. - `references/title-shortener.md` when the task is a WeChat 21:9+1:1 cover pair, or any cross-platform reuse — derives the 1:1 short title from the long one (5-step extraction, 4 patterns, anti-patterns, sizing on `.poster.square`). - `references/category-cookbook.md` to route a user-named Rednote category (旅行 / 职场 / 游戏 / 影视 / 彩妆 / 美食 / 穿搭 / 家居 / 健身 / 情感 / 推荐) to applicable recipes and to confirm scope. - `references/qa-checklist.md` before delivering final images. ## Workflow ### 1. Intake Gather only the missing information that changes the output: - Target platforms and ratios. - Source text, subtitles, article, or title. - **Rednote category** — if the user names one of the 11 common types (旅行 / 职场 / 游戏 / 影视 / 美食 / 彩妆 / 穿搭 / 家居 / 健身 / 情感 / 推荐), route via `references/category-cookbook.md` to find the right recipes and to confirm the request is inside the capability circle (see "Rednote Category Capability" above). If a request lands in the outside-scope bucket, surface that to the user **before** designing, do not silently retrofit. - Supplied images/screenshots and where each should appear. **For News / Tutorial / Data / Review content, actively prompt for screenshots or photos** — they are the evidence layer. A poster with no real artifact tends to read as filler. - **If the user supplies only text (no images at all), ask once before designing:** ``` 这篇我需要 1-2 张图。三种走法: A. 你自己有照片 / 截图,传给我(推荐——最不"AI 感") B. 我去 Pexels / Unsplash / Flickr 帮你找 C. 用 AI 生成 ``` Re