Install
openclaw skills install @mayf3/article-review-platform文章审阅平台(Article Review Platform)的完整使用指南。 覆盖:文章列表查看、内容阅读、创建新文章、更新状态、发布状态同步、审稿流程。 适用角色:小博(写稿)→ 文风分析师(审稿)→ 文章发布管家(发布) 触发词:审阅平台、article review platform、平台API、审稿、review、发布文章
openclaw skills install @mayf3/article-review-platformdraft → in_review → approved → publishing → published
↑ ↑ ↑ ↑ ↑
写稿 审稿中 审稿通过 发布中 全部发完
每篇文章有 platform_status(JSON对象),记录各平台的发布进度:pending → publishing → published / failed
curl -s http://localhost:3100/api/health
# 按状态筛选
curl -s "http://localhost:3100/api/articles?status=draft"
curl -s "http://localhost:3100/api/articles?status=in_review"
curl -s "http://localhost:3100/api/articles?status=approved"
curl -s "http://localhost:3100/api/articles?status=publishing"
curl -s "http://localhost:3100/api/articles?status=published"
# 按标题搜索
curl -s "http://localhost:3100/api/articles?q={title}"
# 获取特定文章
curl -s "http://localhost:3100/api/articles/{id}"
返回字段:id, title, slug, project_path, feishu_url, review_round, status, priority, complexity, target_platforms, platform_status, created_at, updated_at
curl -s "http://localhost:3100/api/articles/{id}/content"
# 或直接读本地文件
cat "{project_path}/draft.md"
curl -s -X POST "http://localhost:3100/api/articles" \
-H "Content-Type: application/json" \
-d '{"title":"标题","slug":"slug","status":"draft","project_path":"/path/to/project","target_platforms":["github","wechat"],"complexity":"medium"}'
curl -s -X PUT "http://localhost:3100/api/articles/{id}" \
-H "Content-Type: application/json" \
-d '{"status":"publishing"}'
状态值:draft / in_review / approved / publishing / published
curl -s -X PUT "http://localhost:3100/api/articles/{id}" \
-H "Content-Type: application/json" \
-d '{"platform_status":{"zhihu":"published","csdn":"failed"}}'
# 记录
curl -s -X POST "http://localhost:3100/api/articles/{id}/publish-logs" \
-H "Content-Type: application/json" \
-d '{"platform":"zhihu","stage":"completed","status":"success","message":"发布成功"}'
# 查看
curl -s "http://localhost:3100/api/articles/{id}/publish-logs"
curl -s -X DELETE "http://localhost:3100/api/articles/{id}"
references/role-writer.mdreferences/role-reviewer.mdreferences/role-publisher.md小博: POST → status=draft
↓ 文风分析师审稿(1-3轮)
小博: PUT → status=in_review
↓ 用户在飞书确认
用户/小博: PUT → status=approved
↓ 文章发布管家开始发布
发布管家: PUT → status=publishing + 更新 platform_status
↓ 所有平台完成
发布管家: PUT → status=published
{project_path}/
├── README.md # 项目概览、状态、飞书链接
├── draft.md # 草稿
├── archive/ # 旧版本存档
└── published/ # 发布版本
curl http://localhost:3100/api/health)cd ~/workspace/project/article-review-platform && npm run devpending / publishing / published / failed