运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install blog-embargo
镜像加速npx clawhub@latest install blog-embargo --registry https://cn.longxiaskill.com 镜像可用
技能文档
博客禁令技能 为什么存在 博客使用 publishAt 前置字段来支持软禁令:帖子在合并后立即部署到 Vercel,但在 publishAt 之前从博客索引(/blog 列表)中隐藏。索引每小时重新验证一次。如果没有这个字段,帖子在部署后会立即被索引。如果社交帖子在合并之前尚未在 Buffer 中,您将得到一个窗口,在这个窗口中,帖子是活跃的,但没有社交放大队列。这个技能协调三个移动部件:MDX 前置中的 publishAt(博客索引门)--publish-at 在 convert-to-mdx.py 中(如何设置它)Buffer 在 publishAt + 15 分钟时的调度(社交时间) 规则 博客索引可见性和社交帖子必须协调。在提出 PR 之前,始终决定 publishAt。 场景 publishAt Buffer 时间 想要协调发布(博客 + 社交一起) 设置为未来时间槽 在 publishAt + 15 分钟时安排 Buffer 帖子可以立即上线,社交稍后同一天 设置为现在 + 30 分钟 在 publishAt + 15 分钟时安排 Buffer 无需禁令(紧急修复,无社交) 省略或设置为现在 立即发布 步骤
- 决定发布时间
- 在 MDX 中设置 publishAt