Skip to content
cccskills
FreePublished on GitHub

sdt-wechat-html

把已经完成并通过质检的 Markdown 内容转换成可粘贴到微信公众号后台的 HTML,并支持选择样式、生成预览和检查粘贴兼容性。用户要制作公众号排版稿或微信发布版本时使用。

English: Convert a finished, quality-checked Markdown draft into HTML that can be pasted into the WeChat Official Accounts editor, with style selection, preview generation, and paste-compatibility checks. Use when the user needs a formatted WeChat publishing version.

The English summary is being prepared. Showing the original description.

See how to install

Files included (4)

  • SKILL.md1.9 KB
  • agents/openai.yaml262 B
  • references/styles.md1.1 KB
  • scripts/render_wechat_html.py8.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

SDT 公众号发布

使用 SDT 自带样式和渲染脚本,把内容包适配成公众号发布文件,不修改观点和事实。

前置门

  • 输入内容已经定稿。
  • 标题、引用和图片占位明确。
  • 事实核验已完成。

未定稿内容先回到对应生产或质检模块,不在排版阶段顺手改文案。

工作流

  1. 读取 references/styles.md。用户已指定风格时直接执行;未指定时根据内容选择一个,无法判断时使用 minimal。
  2. 运行 scripts/render_wechat_html.py 生成单个风格;用户明确要比较时使用 --all 生成全部内置风格。
  3. 把 SDT 内容包中的图片位置保留为明确占位,不外链未知资源。
  4. 执行其静态检查:无 style 标签、class、id、脚本、外链和伪元素;正文可见元素具备完整行内样式。
  5. 输出文件并说明粘贴和手机端预览步骤。

独立运行

最低输入是一份定稿 Markdown。无需账号档案、选题卡或其他 SDT 步骤。

示例命令:

python3 scripts/render_wechat_html.py article.md --style minimal
python3 scripts/render_wechat_html.py article.md --all

SDT 增量记录

归档时同时保存:

  • 来源 Markdown 版本
  • style id
  • HTML 文件
  • 生成时间
  • 发布后使用的实际版本

不得把公众号排版表现误写为内容机制验证结果。

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

sdt

Free

SDT 内容生产工具箱的总入口:根据当前任务选择最合适的 sdt-* 模块,既能完成标题、开头等单一步骤,也能组织从账号研究到发布的完整流程。用户不知道该用哪个 SDT Skill,或希望一站式完成内容生产时使用。 English: Main entry point for the SDT content-production toolkit. Use when the user is unsure which sdt-* skill to choose, wants a single step such as a title or hook, or wants an end-to-end workflow from account research to publishing.

The English summary is being prepared. Showing the original description.

StopDisTrain/sdt-skills309Updated Aug 26, 2026

把账号链接、主页截图、产品说明和历史内容整理成可复用的账号档案,明确调性、人设、受众、产品连接和表达边界。用户要求分析账号定位、建立账号资料,或开始完整内容生产流程时使用。 English: Build and maintain a reusable account profile from account links, screenshots, product details, and past content. Use for account positioning, voice, audience, product fit, communication boundaries, or before a full SDT production workflow.

The English summary is being prepared. Showing the original description.

StopDisTrain/sdt-skills309Updated Aug 26, 2026

检查文稿里的 AI 味和账号语气偏差,包括机器化表达、翻译腔、虚构脆弱感和过度金句。用户问文案是否像 AI 写的、是否像本人说话,或希望降低 AI 痕迹时使用。 English: Check drafts for AI-writing signals and voice mismatch, including robotic phrasing, translation-like prose, fabricated vulnerability, and forced quotable lines. Use when the user wants the copy to sound more human or more like the target account.

The English summary is being prepared. Showing the original description.

StopDisTrain/sdt-skills309Updated Aug 26, 2026

从公开内容中筛选真正值得学习、能够迁移的对标样本,并排除名人效应、粉丝体量和独特资源造成的假象。用户要找低粉爆款、垂直对标、邻近受众样本或跨赛道灵感时使用。 English: Find public benchmark content that is genuinely learnable and transferable while filtering out celebrity effects, follower-size bias, and unique-resource noise. Use for low-follower breakout posts, niche benchmarks, adjacent audiences, or cross-category inspiration.

The English summary is being prepared. Showing the original description.

StopDisTrain/sdt-skills309Updated Aug 26, 2026

把已经确认的选题写成可以直接拍摄或发布的内容,包括选择形式、搭建结构、写口播逐字稿或图文正文,并让产品自然出现。用户要求把选题变成成稿、拍摄稿或发布稿时使用。 English: Turn an approved topic into shoot-ready or publish-ready content by choosing the format, building the structure, writing a spoken script or post, and integrating the product naturally. Use when the user wants a topic developed into a finished draft.

The English summary is being prepared. Showing the original description.

StopDisTrain/sdt-skills309Updated Aug 26, 2026

把账号档案、研究证据、选题卡、成稿、发布数据和复盘结论整理成能长期积累和复用的内容资产。用户要保存生产结果、建立主题地图、复用旧选题或维护长期内容库时使用。 English: Organize account profiles, research evidence, topic cards, drafts, publishing data, and review findings into reusable long-term content assets. Use to archive production work, build a topic map, reuse past ideas, or maintain a content library.

The English summary is being prepared. Showing the original description.

StopDisTrain/sdt-skills309Updated Aug 26, 2026

See all skills by StopDisTrain

Report a problem with this skill