用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/alextangson/AutoCrew --skill pre-publish命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | pre-publish |
| description | 发布前检查清单 skill。在内容发布前自动检查所有前置条件是否满足,输出 checklist 状态。只有全部通过才允许发布。 |
Gate skill. 在发布前拦截,确保内容质量和完整性。
autocrew_publishpublishing statusRun the following checks on the target content. Each item pass/fail:
{ "action": "full_review", "content_id": "<id>", "platform": "<platform>" }
passed === true (no sensitive words, no AI traces, quality ≥ 60)summary and fixes, offer auto-fix{ "action": "read", "content_id": "<id>" }
Check cover-review.json in the content's asset directory:
status === "approved" and approvedLabel existswechat_mp or bilibili (cover optional)pending/reviewingCheck content metadata:
hashtags array exists and has ≥ 1 itemtitle-hashtag.tsCheck title against platform rules from title-hashtag.ts:
titleLengthRange for the platformmaxTitleLength → suggest trimmingplatform field is set and is a supported value| Platform | Min chars |
|---|---|
| xiaohongshu | 200 |
| douyin | 100 |
| wechat_mp | 800 |
| wechat_video | 100 |
| bilibili | 200 |
1. Load content via autocrew_content action="get"
2. Run checks 1-6
3. Build checklist output
4. If ALL pass → allow publish, transition to "publish_ready"
5. If ANY fail → block publish, show what needs fixing
📋 发布前检查 — content-xxx (小红书)
✅ 内容审核:通过 (质量 78/100)
✅ 封面审核:已选定 A 方案
✅ Hashtags:8 个标签
✅ 标题规范:「标题内容」(16字,符合 10-18 范围)
✅ 平台设置:xiaohongshu
✅ 正文字数:856 字 (≥200)
🟢 全部通过,可以发布!
Or if something fails:
📋 发布前检查 — content-yyy (抖音)
✅ 内容审核:通过
❌ 封面审核:未完成 → 运行 autocrew_cover_review 创建候选
✅ Hashtags:5 个标签
⚠️ 标题规范:「标题太长了超过限制」(32字,超出 25 上限)
✅ 平台设置:douyin
✅ 正文字数:420 字
🔴 2 项未通过,请先修复再发布。
When checks fail, offer specific actions:
| Failed Check | Suggested Action |
|---|---|
| Content review | autocrew_review action="auto_fix" |
| Cover review | autocrew_cover_review action="create_candidates" |
| No hashtags | generateHashtags(topic, platform, tags) then update content |
| Title too long | generateTitleVariants(topic, platform) then pick shorter one |
| No platform | Ask user which platform |
| Body too short | Suggest expanding with more examples/data points |
If all checks pass and user confirms:
Transition content to publish_ready:
{ "action": "transition", "id": "<id>", "target_status": "publish_ready" }
Then proceed with the actual publish action (e.g. autocrew_publish).