Command Palette

Search for a command to run...

Назад к скиллам
скилл № 90726

social-distribute

This skill should be used when distributing a blog article across social platforms (Discord, X/Twitter, IndieHackers, Reddit, Hacker News, LinkedIn). Writes a…

БесплатноБез исполняемых скриптов
jikig-aiот jikig-ai★ 21 звезда на GitHub

Установить social-distribute в 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.

Social Distribute

Generate platform-specific content variants from a blog article and write them to a persistent content file for the automated publishing pipeline. Discord can optionally be posted immediately via webhook after approval. The content file feeds into the directory-driven cron pipeline (content-publisher.sh) for scheduled publishing.

Headless Mode Detection

If $ARGUMENTS contains --headless, set HEADLESS_MODE=true and strip --headless from $ARGUMENTS. The remainder is the blog post path.

Argument format: <blog-post-path> [--headless]

Headless defaults for interactive gates:

  • Phase 7 (Discord Approval): auto-selects Skip (never auto-post to external platforms without human approval). channels is always discord, x, bluesky, linkedin-company.
  • Phase 9 Step 2 (Overwrite Check): auto-selects Overwrite (content is regenerated from the same blog post, so overwriting is idempotent).

Prerequisites

Before generating content, verify all prerequisites. If a hard prerequisite fails, display the error message and stop. Soft prerequisites display a warning and continue.

1. Brand Guide (hard)

Check if knowledge-base/marketing/brand-guide.md exists.

If missing:

No brand guide found. Run the brand architect agent first to establish brand identity: Use the soleur:marketing:brand-architect agent to define our brand.

Stop execution.

2. Blog Post Path (hard)

The skill expects a blog post path as an argument (e.g., soleur:social-distribute plugins/soleur/docs/blog/my-article.md).

If no path provided or file does not exist:

Provide a path to a blog post markdown file: soleur:social-distribute <path-to-blog-post.md>

Stop execution.

3. Discord Webhook URL (soft)

Check if DISCORD_BLOG_WEBHOOK_URL or DISCORD_WEBHOOK_URL environment variable is set.

If both missing:

Neither DISCORD_BLOG_WEBHOOK_URL nor DISCORD_WEBHOOK_URL is set. Discord posting will be skipped (manual output only). To configure: Server Settings > Integrations > Webhooks > Copy URL from the #blog channel > export DISCORD_BLOG_WEBHOOK_URL="..."

Continue execution -- Discord will be included in the content file's channels field for cron publishing instead of immediate webhook posting.

Content Input

Phase 1: Read Blog Post

  1. Read the blog post markdown file at the provided path
  2. Parse YAML frontmatter to extract: title, description, date, tags

Phase 2: Gather Current Stats

Run these shell commands to get current component counts:

# Count agents (recursive .md files under agents/)
find plugins/soleur/agents -name '*.md' | wc -l

# Count skills (directories with SKILL.md)
find plugins/soleur/skills -maxdepth 2 -name 'SKILL.md' | wc -l

# Count commands
ls plugins/soleur/commands/*.md | wc -l

# Count departments (non-empty top-level dirs under agents/)
find plugins/soleur/agents -mindepth 1 -maxdepth 1 -type d | wc -l

# Get site URL
cat plugins/soleur/docs/_data/site.json

Extract: agents count, skills count, commands count, departments count, site.url.

Phase 3: Build Article URL

Construct the article URL from site.url and the blog post path:

  • Strip plugins/soleur/docs/ prefix from the path
  • Replace .md extension with /
  • Strip any leading YYYY-MM-DD- date prefix from the filename portion of the path (regex: /\d{4}-\d{2}-\d{2}-(.*)/). Eleventy's page.fileSlug strips this prefix, so URLs must match. If no date prefix exists, leave the path unchanged.
  • Prepend site.url

Example: plugins/soleur/docs/blog/2026-03-24-vibe-coding-vs-agentic-engineering.md becomes https://soleur.ai/blog/vibe-coding-vs-agentic-engineering/

UTM Tracking: Derive the campaign slug from the article URL path — strip /blog/ prefix and trailing /. Example: /blog/caas-pillar/ → caas-pillar. If the slug contains characters other than a-z, 0-9, hyphens, or underscores, replace them with hyphens.

Construct platform-specific tracked URLs using this mapping:

Platform Tracked URL
Discord <base-url>?utm_source=discord&utm_medium=community&utm_campaign=<slug>
X/Twitter <base-url>?utm_source=x&utm_medium=social&utm_campaign=<slug>
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл social-distribute?

This skill should be used when distributing a blog article across social platforms (Discord, X/Twitter, IndieHackers, Reddit, Hacker News, LinkedIn). Writes a persistent content file for automated publishing.

Как установить скилл social-distribute?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл social-distribute запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить social-distribute с