Install
openclaw skills install @wuaron895-cpu/gov-service-wechat-layout民生政务公众号排版:6类内容模板+可换主题色,纯内联样式粘贴即发、不强制135。触发:社保/政务公众号排版、套用模板、换色。
openclaw skills install @wuaron895-cpu/gov-service-wechat-layoutProvide six content-type layout templates plus a swappable theme-color model for 民生政务 WeChat official accounts (社保/医保/公积金/税务/民政/公安政务等). Output is structured HTML an editor pastes directly into the WeChat official-account editor — formatting is preserved without 135 — or imports into 秀米/135 for richer visuals.
Trigger when the request is to lay out, format, or apply a template to an article for a 社保 / 政务公众号, e.g. "给这篇社保推文排版"、"套用办事指南模板"、"帮我把这篇政策解读排成公众号格式". Do not trigger for 135 one-click publish packaging (use a 135-publisher skill for that); this skill produces the layout structure and color.
Identify the article's content type, then load the matching template from assets/:
| Type | Template asset | Use for |
|---|---|---|
| A 误区澄清/政策解读 | assets/template-A-myth.md.html | clarifying wrong beliefs about a policy; structured 误区N + ❎/✓ |
| A2 新政解读 | assets/template-A2-new-policy.md.html | explaining a new policy with conditions, 举个例子, 办理途径, 热点问答 |
| B 通知公告 | assets/template-B-notice.md.html | formal announcements; 落款 + 特此公告 |
| C 办事指南 | assets/template-C-guide.md.html | how to apply/fill a form; conditional branches by date/situation |
| D 案例故事/以案为鉴 | assets/template-D-case.md.html | cautionary cases; 案件介绍/结果 + 法律后果 |
| E 互动答疑 | assets/template-E-qa.md.html | verified Q&A; Q1…大号 Q + 解答 |
If a piece fits two types, choose the one matching its primary purpose (e.g. a new policy that is mostly a how-to → C; mostly myth-busting → A).
Use exactly three color roles (see references/color-slot-model.md):
#ff6d4d — swappable; section titles, accents, card left-borders, Q markers, IP name, links.#ff0000 — fixed; ❎ errors, 注意/请注意, legal warnings, fraud alerts.#2E9E5B — fixed; ✓ correct conclusions.Pick one theme color per article from the candidate library in references/color-slot-model.md (default #ff6d4d 橙红). To recolor, replace every #ff6d4d in the chosen template with the article's theme color; never replace #ff0000 or #2E9E5B. Run scripts/apply_theme_color.py --input <file> --color <hex> to do this deterministically, or instruct the editor to find-replace in 秀米/135's one-click theme-color feature.
Templates are de-identified. Replace these placeholders with the account's real values before output:
{{IP名}} — persona name (e.g. 顺小保 / 小保 / 社保小助手){{城市}} — city (e.g. 佛山){{热线}} — consultation hotline (e.g. 12345){{公众号名}} — official-account name (e.g. 顺德社保){{机构全称}} — issuing agency full name【…】 — per-article content placeholders (title, dates, amounts, fields)Keep the fixed footer wording pattern: 温馨提示 + 尊敬的参保人……拨打{{城市}}{{热线}}热线……. Never fabricate phone numbers, document numbers, QR codes, or links — flag missing ones as 需编辑补充.
assets/template-*.md.html.#ff6d4d) per article; keep warn/correct fixed.{{…}} account placeholders and 【…】 content placeholders from the approved copy. Preserve approved wording, dates, amounts, eligibility, and legal names exactly.For the methodology behind the layouts (5-step style-replication SOP, dimension table) and the full component/typography spec, read references/layout-sop.md and references/component-library.md before non-trivial customization.
Templates use inline styles only — no <style> blocks, no class, no CSS variables, no scripts, no external fonts (verified). This is exactly the subset the WeChat official-account editor preserves on paste.
class+<style> 坃局,会被微信剥离导致"css 变形"。Tradeoff: inline-style-only = 保守视觉 + 直接可发布;135/秀米 = 富视觉 + 必须在编辑器内同步。本 skill 选前者,换取"粘贴即发布"。
assets/template-*.md.html — six de-identified layout templates with the color slot applied.references/color-slot-model.md — color roles, candidate library, recolor methods.references/component-library.md — signature components, type scale, fonts, per-type skeletons.references/layout-sop.md — the 5-step methodology and dissection dimensions for extending to new content types.README.md — 安装与使用说明(含发布路径详解),随 skill 分发。scripts/apply_theme_color.py — deterministic theme-color find-replace utility.