ce-promote
它能做什么
这项技能根据拉取请求、代码改动和更新日志,为刚发布的功能起草推广文案。适合希望无需单独营销环节即可撰写公告的团队。
适用场景
- ✓当某项功能刚刚上线,并且你需要适用于社交或博客渠道的公告文案的时候。
- ✓当你希望上线文案与代码实际改动的内容相符的时候。
- ✓当你希望得到可供你审阅并自行粘贴的草稿文案的时候。
技能链接
https://github.com/EveryInc/compound-engineering-plugin/blob/main/skills/ce-promote/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我们刚上线了深色模式。请帮我起草社交渠道的上线帖子。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能读取拉取请求、差异和更新日志,找出用户能获得什么。然后为每个渠道起草带有标签的文案,并提供修改选项。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Promotion Copy
Turn a feature that just shipped into copy-pasteable, user-facing announcement copy, right inside the engineering workflow — so the messaging doesn't wait for a separate marketing pass.
Done when: every drafted channel is presented as a labeled, copy-pasteable block and the user has been offered a revision. This skill drafts only — it never posts, publishes, schedules, commits, or opens PRs. Posting is a human action.
It works with or without Spiral: with nothing installed it drafts directly from the editorial and social fundamentals in Path B (Direct drafting). When the Spiral CLI is present and authed, drafts come back voice-matched to the user's brand — an enhancement, never a requirement.
Phase 1 — Figure out what shipped
A free-form description in the arguments is the source of truth. Otherwise derive it from context, using what is available and never waiting on any single source:
- Merged/active PR —
gh pr view --json title,body,url(the title and body usually state the user-facing value) - The diff —
git diff main...HEAD --stat, skimming notable changes so the claim is grounded in what actually changed - Changelog — the top or
[Unreleased]entry indocs/changelog.md,CHANGELOG.md, or similar - Recent commits —
git log --oneline -15for the arc of the change
Then write a 1-3 sentence summary of the user-facing value: what a user can now do that they couldn't before, and why they'd care. Outcome, not implementation — "You can now export any report to CSV in one click", not "Added a CsvSerializer and an export endpoint." If you can't confidently tell what shipped, ask one short question rather than guessing.
Phase 2 — Pick channels
Default to an X post (or short thread) plus a one-line changelog / release blurb. If the user named channels — LinkedIn, email, a blog intro, a demo script — draft those instead of or in addition to the defaults. Scale to the change: a small fix warrants one or two short drafts, a flagship feature a cross-channel set. Don't force a fixed template.
Phase 3 — Draft the copy
Detect Spiral's state with two quick, non-blocking commands:
which spiral
spiral auth status --json 2>/dev/null
- No binary -> Absent
"authenticated": true-> Ready"authenticated": false-> Unauthed- Output isn't JSON (older CLI that ignores
--json) -> ready iff it containsspiral_sk_, else unauthed
Ready -> Path A (Spiral ready). Absent or Unauthed -> Path 0 (Offer Spiral setup), then Path A if setup completes, else Path B (Direct drafting). Never let a Spiral failure, timeout, or odd output block or slow the skill — when in doubt, treat it as not-ready and continue.
Path 0 — Offer Spiral setup (once, declinable)
Go straight to Path B when running non-interactively — there is no human to answer. Otherwise offer setup once: read references/spiral-cli.md and follow its Path 0 section for the opt-out check, the blocking question, the agent-run spiral login --json flow (the API key never passes through the agent, and the user never pastes one into chat), the install path, and how the opt-out is recorded. Skip to Path B only when that check finds a recorded opt-out. That section defines what counts as recorded; a naive config scan misreads ce-setup's commented template example as one, silently suppressing the offer.
Two properties that section depends on: any dismissal records the opt-out, so a single first-run decline stops the offer for good in this repo, and a decline always proceeds to Path B rather than blocking. If a human is present but no blocking-question tool is in the current tool list, fall back to a numbered list of the two options in chat and wait — do not skip the offer, and never call a user-facing question tool to discover whether one exists.
Path A — Spiral ready (voice-matched)
Read references/spiral-cli.md before composing the prompt. Whether Spiral returns a multi-channel set or several variations of one channel is phrasing-driven (channel keywords and cue words vs. --num-drafts), and getting it wrong silently returns the wrong number or shape of drafts — don't restate those rules from memory.
Always pass --instant and --json; parse drafts[] (each carries its own channel) plus session_id. Present every returned draft, grouped by channel — Spiral decides how many drafts per channel, so never assume one-per-channel or drop
常见问题
它会发布这些帖子吗?
不会。该技能只起草文案,发布是人工操作。
它需要特殊工具吗?
不需要。它无需额外工具即可工作;如果安装了语气匹配工具,可以改进草稿。
这些说法的依据是什么?
该技能的说法以拉取请求、差异和更新日志为依据。
详情
作者的原始描述
Draft launch or promotion copy for a shipped feature.
热度
- GitHub 星标
- 26k
- 排名
- #10039
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
ce-babysit-pr
26k帮你的智能体通过处理评审意见、失败的检查和过时的分支,持续推动一个未合并的 GitHub 拉取请求走向合并。
ce-bakeoff
26k帮你的智能体为一个问题构建多个相互竞争的方案,进行比较,并把最强的部分组合成一个推荐方案。
ce-brainstorm
26k通过简短的引导式对话,帮你的智能体在任何工作开始前,把模糊的想法整理成清晰、规模合适的需求。
ce-code-review
26k帮你的智能体审查指定的代码改动或拉取请求,查找缺陷、回归、缺失的测试和规范问题,并报告清晰的发现。