MCPInstall

wewrite-publish

WeWrite 排版发布模块:把 Markdown 做成微信预览,或在用户明确授权后推入公众号草稿箱; 也支持主题画廊和图片帖。只处理微信公众号。

Installs
135
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/imraywang/wewrite --skill wewrite-publish
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads wewrite-publish automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

wewrite-publish — 排版、预览、草稿箱

前置

用户指定文章时使用该文件;否则 wewrite run show。如果 artifacts.illustrated_article 存在且非空就使用它,否则使用 artifacts.article;读取标题、 摘要、封面、预览路径、发布权限和降级标记。已完成文章可以直接排版或发布,不要恢复写作 任务。主题取 style.yaml 的 theme,默认 professional-clean。

排版和发布不得自动调用 wewrite-visual。没有封面时照常生成本地预览;只有用户另行要求 配图时才进入视觉模块。

用户本轮明确要求“推到草稿箱/发布”时,有任务先运行 wewrite run permission publish allow;用户撤回时运行 wewrite run permission publish deny。 只排版、预览或“完整制作”都不能授予发布权限。

有任务时进入:

wewrite run step publish in_progress

预检

  • 标题存在且符合微信限制;摘要不超过 120 字节;正文 200-20000 字。
  • 正文图片不超过 10 张且实际可读;表格不超过 4 列。
  • 发布草稿必须有封面。没有封面不能假设微信会补默认图,改走本地预览。
  • 发布必须同时满足:permissions.publish=true、flags.skip_publish=false、用户本轮没有撤回。

动作

始终先生成本地预览,有任务时保存到 artifacts.preview;任务外文章保存到原文件旁:

wewrite preview {article} --theme {theme} --no-open -o {preview}

确认预览产物存在且通过兼容性校验。若没有明确发布权限,流程到此结束;“写一篇”“完整制作” 都不等于允许发布。

只有用户明确要求草稿箱且预检全部通过时执行:

wewrite publish {article} --cover {cover} --theme {theme} --title "{title}" --digest "{digest}"

发布失败时保留预览,不自动重试产生外部动作。有任务时更新 publish.preview_html;成功时再写 publish.media_id,随后:

wewrite run step publish completed

辅助功能

用户说动作
看主题wewrite gallery
换主题重新 preview;只有再次明确要求才重新 publish
做图片帖先确认用户确实要推草稿箱,再执行 wewrite image-post
只排版只 preview

FAQ

What does the wewrite-publish skill do?

WeWrite 排版发布模块:把 Markdown 做成微信预览,或在用户明确授权后推入公众号草稿箱; 也支持主题画廊和图片帖。只处理微信公众号。

How do I install wewrite-publish?

Run npx skills add https://github.com/imraywang/wewrite --skill wewrite-publish in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/wewrite-publish/ (personal) or .claude/skills/wewrite-publish/ (project).

Which AI agents can use wewrite-publish?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is wewrite-publish safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains wewrite-publish?

It is published by imraywang in imraywang/wewrite. It has 135 recorded installs.

More from imraywang/wewrite

View all →

wewrite

imraywang/wewrite

微信公众号内容主入口:完成选题、素材、写作和审稿,并按用户要求独立追加配图、排版或草稿箱发布。 也负责把风格设置、学习修改、数据复盘和多平台改写分发给对应 wewrite- 模块。 触发关键词:公众号、微信文章、微信推文、草稿箱、微信排版、写公众号、写一篇。 通用文章、博客、邮件、短视频和网站 SEO 不触发。

Marketing & SEO517 installs

wewrite-topic

imraywang/wewrite

Open the skill to read its SKILL.md instructions.

134 installs

wewrite-stats

imraywang/wewrite

WeWrite 数据复盘模块:拉取微信公众号文章的阅读/分享/点赞数据,回填历史记录并给出 选题、标题、框架的调整建议。 触发关键词:看看文章数据、文章数据怎么样、效果复盘、看看表现、阅读量怎么样。 需要公众号/WeWrite 上下文;不应被通用的"数据分析"触发。

134 installs

wewrite-learn

imraywang/wewrite

WeWrite 自学习模块:从用户的人工修改中学习写作偏好(playbook 飞轮)、导入范文建风格库、 从公众号文章学习排版主题。 触发关键词:学习我的修改、我改了学习一下、导入范文、学习这篇文章、查看范文库、 学习排版、学排版。 不应被通用的"学习"、"总结这篇文章"触发——需要公众号/WeWrite 上下文。

wewrite-style

imraywang/wewrite

Open the skill to read its SKILL.md instructions.

132 installs

wewrite-write

imraywang/wewrite

Open the skill to read its SKILL.md instructions.

132 installs

Popular docs & writing skills

View category →

grill-with-docs

mattpocock/skills

A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

Docs & Writing1.2M installs

lark-markdown

open.feishu.cn

飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。

Docs & Writing778.7K installs

writing-beats

mattpocock/skills

Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.

Docs & Writing490.7K installs

writing-shape

mattpocock/skills

Writing, exploit: shape raw material into an article, paragraph by paragraph.

Docs & Writing490.2K installs

writing-fragments

mattpocock/skills

Writing, explore: mine raw fragments, no structure yet.

Docs & Writing489.6K installs

writing-for-agents

mattpocock/skills

Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.

Docs & Writing479.3K installs