编程

Gov Service Wechat Layout

试用

民生政务公众号排版:9类内容模板+可换主题色,纯内联样式粘贴即发、不强制135。触发:社保/政务公众号排版、套用模板、换色。

它能做什么

民生政务公众号排版:9类内容模板+可换主题色,纯内联样式粘贴即发、不强制135。触发:社保/政务公众号排版、套用模板、换色。

技能文档

民生政务公众号 · 排版模板

Provide nine 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.

When to use

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.

Content-type routing

Identify the article's content type, then load the matching template from assets/:

TypeTemplate assetUse for
A 误区澄清/政策解读assets/template-A-myth.md.htmlclarifying wrong beliefs about a policy; structured 误区N + ❎/✓
A2 新政解读assets/template-A2-new-policy.md.htmlexplaining a new policy with conditions, 举个例子, 办理途径, 热点问答
B 通知公告assets/template-B-notice.md.htmlformal announcements; 落款 + 特此公告
C 办事指南assets/template-C-guide.md.htmlhow to apply/fill a form; conditional branches (deep: multi-level nesting + numbered materials)
D 案例故事/以案为鉴assets/template-D-case.md.htmlcautionary cases; 案件介绍/结果 + 法律后果
E 互动答疑assets/template-E-qa.md.htmlverified Q&A; Q1…大号 Q + 解答 (tail: 注意事项 + 相关链接)
F 活动宣传/工作动态assets/template-F-event.md.htmlevent/campaign recap; 大数字高亮 + 图墙 + 时间线 + 展望
G 年度盘点/数据战报assets/template-G-yearreview.md.htmlyear-in-review; 大数字 hero + 成果分块 + 大事记时间线 + 展望
H 路线攻略/分类合集assets/template-H-route.md.htmlroute/collection list; 并列路线块 + 点位子卡片(标准化字段) + 配套推荐

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).

Apply the color slot model

Use four color roles, but distinguish signals by form, not just hue — so a single theme color never reads as "all red". See references/color-slot-model.md for the full spec.

  • 主题色 brand #ff6d4d(A2 默认 #438EDB 社保蓝)— swappable. Appears in three distinct forms so it never collides: (1) solid bars = big section dividers — the only full-strength fill, default text-length for high-saturation themes; (2) left-border stripes on subtitle chips / content boxes; (3) inline bold words = content emphasis. Structural only.
  • 子标题芯片 — neutral #F5F6F8 background, light-red bold text #E0494D, theme left-border stripe. Reads as a "label". Signal lives on the chip; body text beneath stays plain (no box, no color border) — use inline ✓/❎/• markers to tell items apart.
  • 警示红 warn #ff0000fixed; used as inline red emphasis (❎ 错误认知 label, 红字关键词) and as the red left-border on Q&A question chips. 警示 / 提醒类(请注意/注意!/IP郑重提醒/温馨提醒/温馨提示)走 提醒卡:外层用 容器(微信后台会过滤border,`` 边框接受度更高),灰底 #F5F6F8 + 浅灰细线边框 1px solid #E5E6EB + 圆角 8px无亮色边;标题浅红字 #E0494D + 可选 💡 图标 + 可加主题色下划线(与字异色、padding-bottom 留呼吸感),正文深灰纯文本、不整段/整行同色。提醒卡与子标题芯片不同款(后者满灰底+主题色边)。
  • 正确蓝 correct #5f9ceffixed; ✓ correct conclusions / positive findings (可算, 可认定, 正确办理方式). The only off-hue positive signal, naturally distinct.

Pick one theme color per article from the candidate library in references/color-slot-model.md (default #ff6d4d 橙红;A2 新政解读默认 #438EDB 社保蓝). To recolor, replace the placeholder theme color in the chosen template (A2: #438EDB; others: #ff6d4d) with the article's theme color; never replace #ff0000 or #5f9cef (both fixed semantic colors). Run scripts/apply_theme_color.py --input --color to do this deterministically, or instruct the editor to find-replace in 秀米/135's one-click theme-color feature.

Section-title background width: big section bars default to text-length mode (background hugs the title text — far less visual intensity) for the default high-saturation themes (橙红/玫红/粉红/橙); cool themes (blue used as theme) may use full-width. Exact CSS in references/component-library.md 「小标题底色 · 宽度模式」.

Fill placeholders

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 需编辑补充.

Workflow

  1. Determine content type → load the matching assets/template-*.md.html.
  2. Apply theme color (replace the placeholder theme color — A2: #438EDB; others: #ff6d4d) per article; keep warn + correct fixed.
  3. Fill {{…}} account placeholders and 【…】 content placeholders from the approved copy. Preserve approved wording, dates, amounts, eligibility, and legal names exactly.
  4. Return the finished HTML for the editor to paste/import. Optionally note which modules to repeat (误区框 ×N, 案例框 ×N, Q&A ×N).

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.

发布路径:直接粘贴 vs 135

Templates use inline styles only — no `` 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.

  • 直接粘贴进公众号后台(推荐,无需 135):复制渲染好的 HTML → 公众号后台图文编辑器粘贴 → 格式基本不变 → 发布。换主题色后即可用。适用于本 skill 的全部 9 类模板。
  • 走 135/秀米(可选,要富视觉时):若需米色网格、卡通插画、复杂卡片等超越内联样式能表达的视觉效果,导入 135/秀米编辑器内排版,再用其"同步到公众号"功能发布。注意:不要把 135/秀米导出的 HTML 直接粘贴进后台——它们靠 class+`` 坃局,会被微信剥离导致"css 变形"。

Tradeoff: inline-style-only = 保守视觉 + 直接可发布;135/秀米 = 富视觉 + 必须在编辑器内同步。本 skill 选前者,换取"粘贴即发布"。

Resources

  • assets/template-*.md.html — nine 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.

相关技能

微信公众号排版引擎 — 把 Markdown 文章转换为可直接粘贴进公众号编辑器、粘贴后样式不丢失的 HTML(样式内联 + <span leaf=""> 包裹)。也从任意公众号文章 URL 自动提取视觉风格并生成匹配的组件库。触发词:公众号排版 / 微信排版 / 公众号文章 / gzh / 排成公众号 / 粘到公众号 / 提取风格 / 分析排版 / 模仿公众号 / 风格提取 / 主题提取 / 参考这篇文章的风格 / format for WeChat / WeChat article formatting。不适用于:PPT/幻灯片(用 x-design)、UI 原型设计(用 x-design

3 次安装

微信公众号排版文章编写。当用户需要撰写、编辑或排版微信公众号文章时使用此Skill。支持40种高级排版模块,以及标准 Markdown 基础元素

1 次安装

党政机关公文标准排版与质检校对技能,严格依据《党政机关公文格式》GB/T 9704-2012。当用户明确要求对公文做以下操作时使用:①排版——将 Markdown/TXT/DOCX/PDF(文本层) 草稿转换为国标合规的 Word 公文(红头、发文字号、2号小标宋标题、3号仿宋正文、一/(一)/1./(1)四级标题、附件、署名与成文日期、版记、页码);②质检——扫描已有 .docx 公文,按高/中/低三级输出不合规清单与整改建议;③文风净化——在用户要求时,对口语、网络用语、AI 腔与常见错别字做表层规范化(实质性内容只标记不改写)。适用场景(需用户主动提出):公文排版、红头文件、公文格式、发

1 次安装1 星标

公众号排版|Markdown 转 HTML|排版主题|段落样式 — 公众号一键排版工具,Markdown 文稿转微信后台可粘贴 HTML,多主题、多字号、段落样式切换,所见即所得。面向公众号编辑、独立作者、排版岗。触发词:「排版」「版式」「美化」「格式化」「字号」「段落样式」「换个排版主题」「换个版式」「转 HTML」「弄好看点」「调整格式」。换预设包/品牌包/整套主题配色请走 aws-wechat-article-assets;需要多环节串联(写+审+排+配图+发)请走 aws-wechat-article-main。

36 次安装1 星标

自媒体文章排版生成技能。当用户要求生成、创建、排版微信公众号文章或今日头条文章,或需要公众号/头条美化格式、编辑器兼容HTML时触发。支持微信公众号(23种风格配色:7种通用+8种节日+4种季节+4种主题,默认Linear冷工程蓝紫,全内联CSS)和今日头条(纯语义HTML,ProseMirror兼容)双平台自动选择。可根据用户要求、节日/季节/主题关键词或内容自动匹配平台和风格。支持标题、正文、列表、引用、提示框、数据卡片、对比栏、代码块、表格、进度条、信息卡片、键值列表等全套排版组件;宽表/长内容可自动改用信息卡片或键值列表展示。

2 次安装

公众号排版工具。用户提供任意格式的文章内容(草稿、纯文字、已有 Markdown 均可), AI 自动识别结构、添加排版标记,生成专业公众号 HTML。 Use when: 用户说"帮我排版"、"转成公众号格式"、"生成 HTML";用户上传文章内容或文件 NOT for: 纯文本渲染;用户只想预览已有 HTML

23 次安装1 星标