Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Publishes locally generated weekly Markdown issues to the Payload CMS weekly collection via REST API.
26% 61%+35 ptsof test cases passed
Passed 14 of 23 test cases with the skill, and 6 of 23 without it.
This test ran on v2. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
此技能用于将本地生成的周刊 Markdown 文件发布到 Payload CMS 的 weekly 集合中,状态设为 已发布(status: published),正文不包含文件开头的 YAML front matter。
PAYLOAD_API_KEY:来自 Payload users 集合为某个用户生成的 API Key。PAYLOAD_BASE_URL(推荐):Payload/Next.js 服务的公开地址(例如 http://localhost:3000)。BARK_PUSH_URL(可选):完整的 Bark 推送端点(例如 https://push.example.com/push/token/);未配置时跳过通知。从 /weekly 命令的参数块中获取:
week_id:如 Y26W12(写入 issueNumber)title:写入 titlefilename:周刊 Markdown 文件名(从工作目录读取,移除头部 YAML front matter 后写入 content)current_date:写入 publishDate(ISO 日期字符串)可选:
summary:周刊描述/摘要(写入 summary)。若未提供则从 content 提炼。tags:标签(字符串数组,例如 ["模型", "工具"])。写入 tags 数组字段。links:链接列表(对象数组,形如 [{ label, url }]),写入 links。weeklyGET {BASE_URL}/api/weekly?where[issueNumber][equals]={week_id}&limit=1POST {BASE_URL}/api/weeklyPATCH {BASE_URL}/api/weekly/{id}必须使用 Payload 的 API Key 认证头:
Authorization: users API-Key {PAYLOAD_API_KEY}
Content-Type: application/json
Next to this one in the catalogue, plus more from the same author.