md2wechat-skill-yt1g
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "md2wechat-skill-yt1g" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-e1f74430a3fe4a82d9e63d011cef913218bd9b73ebdc6ded7c04c9a26e1c130a. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/md2wechat-skill-yt1g before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
md2wechat-skill-yt1g: A dedicated skill for converting Markdown content into WeChat layout format, helping an AI Agent efficiently perform related conversion and formatting tasks.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: Markdown转微信公众号
slug: md2wechat-skill
version: 1.0.0
displayName: Markdown转微信公众号
description: >
Markdown转微信排版专用技能,帮助AI Agent高效完成相关任务。
summary: "Markdown转微信排版专用技能,帮助AI Agent高效完成相关任务。"
license: MIT
category: 办公效率
framework:
- Claude Code
- Codex
- Hermes Agent
- OpenClaw
- QClaw
- WorkBuddy
platform: multi-platform
homepage: "https://github.com/1991513ccie-png"
repository: "https://github.com/1991513ccie-png"Markdown 转微信公众号
通过 md2wechat CLI 实现 Markdown 到微信公众号 HTML 的完整工作流。
意图路由
在执行任何发布或生成操作前,先选择命令族:
- 标准文章 HTML / 预览 / 元数据检查 / 微信草稿:用
inspect、preview、convert - 图片优先的帖子、图片笔记、图文笔记:用
create_image_post,不用convert --draft - 文章封面或信息图:优先用
generate_cover或generate_infographic - 微信标题候选:用
title suggest <article.md> --json - 文章改进建议:用
md2wechat advise <article.md> --json(仅推荐,不自动执行) - 创作风格写作或去除 AI 痕迹:用
write或humanize - 提供商/主题/提示词/排版不确定:先运行发现命令,不凭记忆猜测
先发现再行动
用 CLI 发现作为真实来源,但范围限于下一步决策需要的内容。
最小有用发现集:
# 文章格式化未选主题时
md2wechat themes list --json
md2wechat layout list --json
# 查看特定资源详情
md2wechat themes show <name> --json
md2wechat providers show <name> --json
md2wechat prompts show <name> --kind <kind> --json
md2wechat layout show <name> --json
# 图像生成或预设选择
md2wechat providers list --json
md2wechat prompts list --kind image --json
# 配置诊断
md2wechat doctor --json
md2wechat config show --format json
md2wechat config wechat-accounts --json
# 版本与能力确认
md2wechat version --json
md2wechat capabilities --json
配置边界
- 假设
md2wechat已在PATH中 convert默认 API 模式,除非用户明确要求--mode ai- API 转换需要 md2wechat API 凭证
- 微信草稿创建需要微信凭证
- 直接图片生成需要图片提供商凭证;图片计划模式(
--plan --json)不需要 doctor --json是本地检查:不执行线上认证、不上传图片、不创建草稿
文章工作流
优先采用先确认后执行的工作流:
md2wechat inspect <article.md> --json— 检查元数据和发布就绪状态md2wechat preview <article.md>— 本地预览md2wechat convert <article.md> ...— 执行转换- 仅在用户明确要求时添加
--upload、--draft、--cover
inspect 是就绪状态的真实来源。在 --json 输出中,先读 data.readiness.targets 和 data.readiness.blockers,被阻止时停止并报告,不继续猜测。
格式化协议
用户要求格式化文章但未选主题时:
- 读取文章和可选品牌档案
- 用发现输出作为事实
- 从文章内容目标选择兼容主题和少量模块
- 源 Markdown 保持只读
- 创建临时格式化 Markdown
- 只插入必填字段能正确填充的排版模块
- 运行
md2wechat layout validate --file <formatted.md> --json - 将格式化 Markdown 传给
convert
主题选择
- 从
themes list --json读取type和selectable - API 模式只能用
type: api且selectable: true的主题 - AI 模式只能用
type: ai且selectable: true的主题 - 不使用集合描述符作为具体主题
排版模块
高级排版模块仅在 API 模式渲染。AI 模式不解析 :::module 语法。
模块决策框架:
attention:帮读者决定是否值得读readability:让移动端阅读更轻松memorability:让一个判断/引用/指标/品牌锚点留下印象conversion:帮读者收藏、关注、咨询、分享或购买
默认模块纪律:
- 不堆砌模块
- 最多 1 个 hero、1 个 verdict、1 个 cta
- 文章内容不足以诚实填充模块时跳过
API 与 AI 模式
- API 模式是默认,需要高级排版模块时必用
- AI 模式是轻量路径,不渲染高级排版
- API 失败后不偷偷切换到 AI 模式——这改变了输出能力
品牌档案
品牌档案位于 ~/.config/md2wechat/brand.md,是自由格式 Markdown。
- 作为语调、主题偏好、模块偏好、CTA 偏好和禁止表达的上下文
- 数量偏好视为软约束
- 任何命名主题或模块都需通过 CLI 发现验证
- 不存在时不影响任务执行
发布副作用
不创建草稿、不上传图片、不发布、不调用远程图片生成,除非用户明确要求。
草稿创建前:
- 用
inspect --json检查data.readiness.targets.draft - 草稿创建需要通过
--cover或--cover-media-id提供封面 - 不假设微信 URL 可复用为
thumb_media_id - Markdown 图片仅在
--upload或--draft时上传或替换
失败处理
| 场景 | 处理 |
|---|---|
| 配置缺失/无效 | 运行 doctor --json + config show --format json |
| 排版语法无效 | 运行 layout validate,用 layout show 检查失败模块 |
| 主题被拒绝 | 检查 type 和 selectable,选兼容主题 |
| AI 请求返回提示词而非最终文本 | 外部模型步骤未完成,需等待 |
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 Markdown 转微信公众号排版的完整工作流,解决内容创作者的实际痛点
- 涵盖多种使用场景,包括标准文章、图片优先帖子、封面生成等
Highlights
- 触发词精准完整,覆盖多种使用场景和命令变体
- 边界清晰,用户能明确理解适用场景
Areas to improve
-
缺少 When to Use 章节 Reported severity: Minor
文档结构完整但缺少明确的 When to Use 使用场景说明章节
Recommendation: 建议添加 When to Use 章节,明确说明适用场景和使用时机
-
文档过长 Reported severity: Minor
文档内容超过500行,可能影响用户阅读体验
Recommendation: 建议适当精简内容或拆分章节,提升可读性
Highlights
- 文档结构清晰,包含意图路由、工作流、配置边界等完整章节
- 提供了丰富的命令示例和详细说明
Areas to improve
-
不可逆操作确认机制不明确 Reported severity: Minor
未明确说明草稿创建等不可逆操作是否有用户确认机制
Recommendation: 建议在文档中明确说明不可逆操作的用户确认流程
Highlights
- 工具来源明确,参数说明详细
- 覆盖了主要异常场景并提供处理建议
- 提供了完整的失败处理框架
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.