公众号发布器 Vps

Publish or save approved WeChat articles from a fixed-IP VPS environment, then write the result back to the Feishu workflow record.

bbwdadfg 04a3c77 4 files · 6.2 KB Updated

File contents

公众号发布器-vps

这个 skill 只负责最终发布动作,并且发布必须在固定 IP 的 VPS 上执行。

不要在本机直接模拟公众号后台发布。桌面端只负责准备素材和触发远程发布。

输入

  • article_draft.json
  • image_bundle.json
  • review_bundle.json
  • publish_mode: draftpublish
  • approval_confirmed: 必须为真
  • out: 输出文件路径,推荐 publish_result.json

输出

输出应满足 ../shared/schemas/publish_result.schema.json

  • publish_job_id
  • publish_env
  • vps_host
  • fixed_ip
  • wechat_status
  • wechat_draft_url
  • article_url
  • published_at
  • error_message
  • status

硬规则

  • 没有人工批准,不得执行
  • 默认 publish_mode 应为 draft
  • 所有公众号后台操作应在 VPS 上执行
  • 发布成功后必须回写飞书状态
  • 失败时必须保留错误原因,便于重试

远程执行模型

推荐方式:

  • 桌面端 skill 负责组装发布载荷
  • VPS worker 负责真正登录公众号后台、上传内容、保存草稿或正式发布
  • 结果再同步回桌面端和飞书

不负责

  • 不负责选题
  • 不负责写文章
  • 不负责生成图片
  • 不负责初次创建飞书审阅文档

bbwdadfg/wechat-publishing-pipeline-skills/tree/main/公众号发布器-vps commit 04a3c77c4d

Frequently asked questions

npx skillmds@latest add bbwdadfg/vps