feature-tweet
This skill should be used when converting a shipping feature PR into a draft short-form X post (single tweet or up-to-3-tweet thread) for operator approval.
от jikig-ai★ 21 звезда на GitHub
Установить feature-tweet в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Grok Build (plugins/soleur/lib/harness.ts invokeSkill()): Read this SKILL.md in this process and run it to completion. A one-segment soleur:<name> in this document names a SKILL — on Grok Build, Read plugins/soleur/skills/<name>/SKILL.md in this process; it is not a nested tool_use. A multi-segment id such as soleur:<domain>:<name> names an AGENT: spawn it, never Read it, and on Grok Build spawn_subagent takes the id with its colons replaced by hyphens (agentIdToGrokSubagentType). Claude Code: Skill tool for a skill (soleur:<name>), Task tool with subagent_type for an agent. Forbidden is executing a subset, not the Read.
feature-tweet
Convert a feature just shipped to production (a merged PR, verified live)
into a draft short-form X post — written to the existing
knowledge-base/marketing/distribution-content/*.md format and drained by the
existing content-publisher.sh cron. No new publishing path; nothing
reaches X until the operator flips status: draft → scheduled.
Invoked by soleur:ship (Phase 6 "Feature-Tweet Draft (pre-merge bundle)")
which commits the draft to the feature branch so it rides the PR into main —
where content-publisher.sh reads from. soleur:postmerge Phase 3.8 then
verifies + displays the on-main draft (and warns if deploy health is
unverified). The draft stays inert (status: draft) until the operator
schedules it, so "only tweet what actually deployed" is preserved by the
operator's post-deploy publish gate, not by withholding the draft. Also runnable
standalone as a catch-up path:
soleur:feature-tweet #<pr>
The brand-critical floor is the deterministic, fail-closed eligibility filter
tweet-eligibility.sh (under the repo's scripts/lib directory). A forbidden PR (security/infra/non-product/
unlabeled) is excluded before any draft is generated, so it never reaches
the operator's approval queue.
Arguments
#<pr>(required) — the merged PR number. Accept123or#123.--headless— non-interactive; never posts (drafts only, same as default).
Step 1 — Eligibility (fail-closed, run FIRST)
bash scripts/lib/tweet-eligibility.sh <pr>
- Exit 0 +
eligible→ continue. - Exit non-zero +
excluded: <reason>→ stop. Write no file. Print the reason and exit. This is a silent no-op from the operator's perspective (no draft, no error escalation) — exclusion is the designed outcome, not a fault.
Never second-guess or override the filter. Any uncertainty (missing labels,
gh error, deny label, deny path) is excluded by design.
Step 2 — Idempotency
Search existing drafts for this PR before generating:
grep -rl 'pr_reference: "#<pr>"' knowledge-base/marketing/distribution-content/ 2>/dev/null
If a file matches, no-op with a message naming the existing path — do not overwrite an operator-edited draft.
Step 3 — Fetch PR context
gh pr view <pr> --json title,body,url
Read the author identity for any copy that references a person from
plugins/soleur/docs/_data/site.json → author.name ("Jean Deruelle"). Never
infer a name from the PR; contributor names are PII and are excluded.
Step 4 — Generate the X thread AND the Bluesky post (sanitized, voice-aligned)
Generate copy for BOTH channels (the publisher cross-posts to X and Bluesky).
Follow knowledge-base/marketing/brand-guide.md → ### X/Twitter and its
#### Ship Tweets (feature-launch) sub-section. Hard rules:
- X shape: single tweet (hook only) OR a numbered thread of at most 3
tweets. Tweet 1 = the hook (no prefix, no "thread" announcement). Tweets 2–3
are prefixed
2/,3/on a fresh line (the canonical numbered format the publisher'sextract_tweetsparses). - X limit: 280 characters per tweet, enforced during generation, not trimmed after.
- Bluesky shape + limit: a single post, 300 characters total for the
whole
## Blueskysection. The publisher (post_bluesky) posts the entire section as ONE Bluesky post — it does NOT split a numbered thread (noextract_tweetsequivalent), and truncates the section at 300 chars. So write one self-contained post; do NOT use2//3/prefixes here. Adapt the copy to Bluesky — do NOT clone the X hook verbatim: Bluesky carries no hashtags (brand-guide### Bluesky). Lead the same one buyer benefit in plainer register. - Sanitization (mandatory — benefit only), applied to BOTH channels:
- No implementation/diff detail. State the user-facing benefit, not how it was built.
- No contributor names or author attribution (PII; no marketing consent).
- No customer names — run an explicit customer-name/NDA scan over the PR title and body; if a proper noun could be a customer, omit it.
- No naked numbers — any statistic must be verifiable from the PR or omitted.
- Present-tense "just shipped X" framing; lea
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл feature-tweet?
This skill should be used when converting a shipping feature PR into a draft short-form X post (single tweet or up-to-3-tweet thread) for operator approval.
Как установить скилл feature-tweet?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл feature-tweet запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…