From wewrite
Formats Markdown as WeChat previews and, with explicit permission, pushes drafts to a WeChat Official Account. Includes theme gallery and image post support.
How this skill is triggered — by the user, by Claude, or both
Slash command
/wewrite:wewrite-publishThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
用户指定文章时使用该文件;否则 `wewrite run show`。如果
用户指定文章时使用该文件;否则 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
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 |
npx claudepluginhub imraywang/wewritePublishes Markdown or HTML articles to WeChat Official Account drafts via Python API scripts, with account listing and format conversion.
Converts Markdown to WeChat Official Account HTML, inspects metadata and capabilities, generates cover images, and creates drafts. Also supports image posts (小绿书) and removing AI writing traces.
Converts Markdown to WeChat Official Account HTML, manages drafts, generates images and titles, and writes/rewrites articles in specified styles.