aiworkskills/wechat-article-skills / skills/aws-wechat-article-formatting
aws-wechat-article-formatting
Verified公众号排版|Markdown 转 HTML|排版主题|段落样式 — 公众号一键排版工具,Markdown 文稿转微信后台可粘贴 HTML,多主题、多字号、段落样式切换,所见即所得。面向公众号编辑、独立作者、排版岗。触发词:「排版」「版式」「美化」「格式化」「字号」「段落样式」「换个排版主题」「换个版式」「转 HTML」「弄好看点」「调整格式」。换预设包/品牌包/整套主题配色请走 aws-wechat-article-assets;需要多环节串联(写+审+排+配图+发)请走 aws-wechat-article-main。
references/components/section-title.yaml
View on GitHubname: section-title
displayName: 编号小标题
category: opening
body: single
when_to_use: |
正文分了 3 段以上、且各段是并列或递进关系时,用编号小标题替代普通 ## 标题。
编号本身给读者进度感——「还有几节」是长文完读率的关键。
when_not_to_use: |
全文只有一两个小节:编号看着像凑数。
各节不是并列关系(比如「背景 / 正文 / 结尾」):编号会暗示不存在的对等性。
已经用了 toc 组件列出目录:两处编号容易对不上。
anti_pattern: |
编号不连续(01、03、04)——读者会以为漏看了一节。
编号里写中文「第一节」——角标会撑成一颗长胶囊,和「编号」的意思对不上;
只填 01 这类两位数字。
标题写超过 14 个字——右侧空间不够,会折成两行把角标顶偏。
example: |
:::section-title[01]
同一个模型,两个分数
:::
# {arg} = 方括号里的编号;{content} = 下一行的标题文字
# 颜色与字号占位符从当前主题取,保证组件和主题不脱节
template: |
<section style="margin:2.8em 0 1.2em;">
<section style="display:flex; align-items:baseline;">
<section style="flex:0 0 auto; font-size:30px; font-weight:800; line-height:1; color:{primary-ink}; letter-spacing:-1px;">{arg}</section>
<section style="flex:1; padding-left:12px; font-size:19px; font-weight:700; color:{text-color}; line-height:1.4;">{content}</section>
</section>
</section>
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |