ce-promote

GitHub

该技能用于为已上线的功能起草面向用户的发布或推广文案,支持多渠道生成。它通过分析PR、Diff或Changelog提取用户价值,并可选集成Spiral CLI以匹配品牌语调,最终提供可复制的文案块,不执行实际发布操作。

skills/ce-promote/SKILL.md EveryInc/compound-engineering-plugin

Trigger Scenarios

功能上线后需要撰写发布公告 需要将技术变更转化为用户导向的市场文案 请求生成特定渠道(如X、LinkedIn)的推广内容

Install

npx skills add EveryInc/compound-engineering-plugin --skill ce-promote -g -y
More Options

Use without installing

npx skills use EveryInc/compound-engineering-plugin@ce-promote

指定 Agent (Claude Code)

npx skills add EveryInc/compound-engineering-plugin --skill ce-promote -a claude-code -g -y

安装 repo 全部 skill

npx skills add EveryInc/compound-engineering-plugin --all -g -y

预览 repo 内 skill

npx skills add EveryInc/compound-engineering-plugin --list

SKILL.md

Frontmatter
{
    "name": "ce-promote",
    "description": "Draft launch or promotion copy for a shipped feature.",
    "argument-hint": "[optional: what shipped and\/or channels, e.g. 'a tweet thread and a LinkedIn post']",
    "disable-model-invocation": true
}

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 is spiral-agnostic: with nothing installed it drafts directly from the editorial and social fundamentals in Path B. 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's available and blocking on no single source:

  • Merged/active PRgh pr view --json title,body,url (the title and body usually state the user-facing value)
  • The diffgit diff main...HEAD --stat, skimming notable changes so the claim is grounded in what actually changed
  • Changelog — the top or [Unreleased] entry in docs/changelog.md, CHANGELOG.md, or similar
  • Recent commitsgit log --oneline -15 for 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 contains spiral_sk_, else unauthed

Ready -> Path A. Absent or Unauthed -> Path 0, then Path A if setup completes, else Path B. 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 — it is the authority on what counts as recorded, and 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 available, fall back to a numbered list of the two options in chat and wait — do not skip the offer.

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 extras. If the spiral write call errors or returns no usable drafts, fall back silently to Path B for the affected channels.

Path B — Direct drafting

No Spiral needed; draft directly. (The Spiral path goes further: brand-voice matching, humanization, saved styles, and cross-channel campaign orchestration.)

Every channel:

  • Lead with the user-facing outcome — what someone can now do, not how it was built.
  • One idea per piece. Cut windup, hedges, and throat-clearing.
  • Plain, active language. Strip AI tells: "thrilled/excited to announce", "game-changer", "in today's fast-paced world", "unlock/leverage/seamless", em-dash padding.
  • Read it back as if saying it to one user. If a person wouldn't say it, rewrite it.

Distributed channels: the first line is the hook and has to earn the next line (feeds truncate) — no preamble. Match each channel's native shape and length; never reuse one draft verbatim across channels. One clear CTA where the channel supports it. Hashtags 0-2, and only where the channel expects them.

Per channel:

  • X — value in the first line; ~1-3 tight lines. Thread only when there's more than one beat worth its own line.
  • Changelog / release blurb — one declarative line naming the new capability. Plain, not promotional.
  • LinkedIn — a short paragraph: human angle (why it matters), then the what. Warmer than X.
  • Email — benefit-stating subject + 2-4 sentence body + one CTA.
  • Blog intro — one opening paragraph framing the problem and the new capability; leave the deep-dive to the author.
  • Demo script — 3-6 spoken beats: hook, problem, action, payoff.

One strong draft per channel by default; produce more only when asked ("3 tweet options"), capped at ~3.

Phase 4 — Present the drafts

Show every draft as a clean, copy-pasteable block labeled by channel:

### X post
<the copy>

When Path A produced them, also surface the session_id and each draft's url so the user can open and tweak them in the Spiral web app. Offer to revise (tone, length, angle, more variations, another channel). Do not post, publish, schedule, commit, or open a PR — end by reminding the user the drafts are theirs to ship.

Version History

  • 15ab6f7 Current 2026-08-20 12:38

Same Skill Collection

.agents/skills/ce-skill-work/SKILL.md
skills/ce-babysit-pr/SKILL.md
skills/ce-code-review/SKILL.md
skills/ce-commit-push-pr/SKILL.md
skills/ce-commit/SKILL.md
skills/ce-compound-refresh/SKILL.md
skills/ce-compound/SKILL.md
skills/ce-debug/SKILL.md
skills/ce-doc-review/SKILL.md
skills/ce-dogfood/SKILL.md
skills/ce-explain/SKILL.md
skills/ce-handoff/SKILL.md
skills/ce-ideate/SKILL.md
skills/ce-optimize/SKILL.md
skills/ce-plan/SKILL.md
skills/ce-polish/SKILL.md
skills/ce-pov/SKILL.md
skills/ce-product-pulse/SKILL.md
skills/ce-proof/SKILL.md
skills/ce-prototype/SKILL.md
skills/ce-resolve-pr-feedback/SKILL.md
skills/ce-retune/SKILL.md
skills/ce-riffrec-feedback-analysis/SKILL.md
skills/ce-setup/SKILL.md
skills/ce-simplify-code/SKILL.md
skills/ce-strategy/SKILL.md
skills/ce-sweep/SKILL.md
skills/ce-test-browser/SKILL.md
skills/ce-test-xcode/SKILL.md
skills/ce-work/SKILL.md
skills/ce-worktree/SKILL.md
skills/lfg/SKILL.md
skills/ce-brainstorm/SKILL.md
tests/fixtures/sample-plugin/skills/agent-only-skill/SKILL.md
tests/fixtures/sample-plugin/skills/claude-only-skill/SKILL.md
tests/fixtures/sample-plugin/skills/disabled-skill/SKILL.md
tests/fixtures/sample-plugin/skills/skill-one/SKILL.md

Metadata

Files
0
Version
15ab6f7
Hash
8f04a0ae
Indexed
2026-08-20 12:38

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-25 08:09
浙ICP备14020137号-1 $방문자$