/soleur:feature-tweetfrom soleur
Converts a shipped feature PR into a draft X post (single tweet or thread) for operator approval. Writes to existing marketing content pipeline; never publishes directly.
Ships in soleur. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
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.
#<pr> (required) — the merged PR number. Accept 123 or #123.--headless — non-interactive; never posts (drafts only, same as default).bash scripts/lib/tweet-eligibility.sh <pr>
eligible → continue.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.
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.
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.
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:
2/, 3/ on a fresh line (the canonical numbered format the
publisher's extract_tweets parses).## Bluesky section. The publisher (post_bluesky) posts the entire
section as ONE Bluesky post — it does NOT split a numbered thread (no
extract_tweets equivalent), and truncates the section at 300 chars. So write
one self-contained post; do NOT use 2//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.@opencode) in the hook tweet / primary post. Verify the handle via the tool's official website or verified account — never guess. Do not tag competitor handles in comparison posts. If the handle cannot be verified, omit the tag. See the brand guide's ### X/Twitter and ### Bluesky channel notes for the full policy.Path: knowledge-base/marketing/distribution-content/<YYYY-MM-DD>-<slug>.md
where <slug> is the PR title with its feat(...) prefix stripped and
slugified.
Frontmatter + body:
---
title: "<concise benefit-framed title>"
type: feature-launch
publish_date: ""
channels: x, bluesky
status: draft
pr_reference: "#<pr>"
issue_reference: "#<issue>" # only if the PR closes one; else omit
---
<!-- To publish: set BOTH publish_date AND status: scheduled -->
## X/Twitter Thread
<hook tweet>
2/ <body tweet>
3/ <final tweet, link only if applicable>
## Bluesky
<single adapted post — ≤300 chars total, no hashtags, no 2//3/ prefixes>
publish_date: "" + status: draft is the intentionally-parked state
(content-publisher.sh skips it). channels: x, bluesky cross-posts to both —
the publisher requires one body section per channel, so the ## X/Twitter Thread
AND ## Bluesky sections are BOTH mandatory (the structural gate in Step 6
rejects a draft missing either).
bash scripts/lib/validate-tweet-draft.sh <file>
Asserts a non-empty title, status: draft, a channels value including BOTH
x and bluesky, and non-empty ## X/Twitter Thread AND ## Bluesky sections.
On non-zero exit, delete the file (rm -f <file>) and abort — leave no
partial draft. This is the field/heading gate; the Liquid linter validates
neither.
bash scripts/lint-distribution-content.sh <file>
On non-zero exit, delete the file and abort.
On success, display the full draft content inline for operator approval — the path alone is not enough, because the operator cannot judge or approve copy they cannot see (and a worktree-resident draft may be discarded by cleanup before they open the file). Print, in this order:
The draft path.
The complete rendered draft: the title, every ## X/Twitter Thread tweet,
and the full ## Bluesky post — verbatim, exactly as written to the file
(read it back with the Read tool rather than reproducing from memory, so what
the operator approves is what is on disk).
The explicit operator instruction:
Draft written to
<path>. To publish: set BOTHpublish_dateandstatus: scheduled. The existing content-publisher cron posts it on date.
This display-for-approval step is mandatory in BOTH interactive and headless
modes (headless still surfaces the copy in its returned summary so the
orchestrator/operator sees it) — the draft is operator-gated content, and the
approval gate is meaningless if the content is never shown. Never reduce the
output to "draft written to <path>" without the copy.
Headless mode never posts — it only writes the draft, displays it, and prints the path.
One tweet per eligible PR. soleur:postmerge passes its single bound PR
number; batching multiple PRs from one deploy is deferred. A soleur:merge-pr-
only flow bypasses the postmerge hook by design — run standalone
soleur:feature-tweet #<pr> as the recovery path.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jikig-ai/soleur --plugin soleur108 skills in this plugin
/admin-ip-refreshThis skill should be used to refresh the prod SSH allowlist (Doppler ADMIN_IPS) after operator IP rotation. Detects drift, mutates Doppler with explicit ack./agent-browserThis skill should be used when automating browser interactions via Vercel's agent-browser CLI. It handles web page navigation, form filling, screenshots, and data scraping using ref-based element selection./agent-native-architectureThis skill should be used when designing agent-native applications where agents are first-class citizens: architecting autonomous agents, creating MCP tools, building apps where features are agent-driven outcomes.Other plugins' skills for the same job