publish-skill
БесплатноБез исполняемых скриптовНе проверенThis skill should be used when publishing a new or updated skill to the claude-skills-site Astro website. Use this skill for both adding new skills AND…
от glebis★ 417 звёзд на GitHubОб этом скилле
Publish Skill to Site
Automate the full pipeline for publishing a skill to the claude-skills-site Astro website.
Paths
- Skills repo:
~/ai_projects/claude-skills/ - Site repo:
~/ai_projects/claude-skills-site/ - Site skills:
~/ai_projects/claude-skills-site/src/content/skills/*.mdx - Site bundles:
~/ai_projects/claude-skills-site/src/content/bundles/*.mdx
Invocation
/publish-skill <skill-name> # New skill — generates a hero image by default
/publish-skill <skill-name> --update # Regenerate existing .mdx (+ hero image)
/publish-skill <skill-name> --dry-run # Show what would be written, no commits, no image
/publish-skill <skill-name> --no-image # Skip hero-image generation
Workflow
Execute these phases in order. Stop and report on any error.
Phase 1 — Locate and Read Source
- Check
~/ai_projects/claude-skills/<skill-name>/SKILL.mdexists. Also check~/.claude/skills/<skill-name>/SKILL.md. - If neither exists, report error: "SKILL.md not found for
<skill-name>. Ensure the skill directory exists in the skills repo or ~/.claude/skills/." - If both exist, compare them. If
~/.claude/skills/version is newer (by mtime), sync it to the skills repo withrsync -av --exclude='*.egg-info' --exclude='__pycache__', commit the change, and push. This ensures the skills repo always has the latest version. - Read the SKILL.md (preferring the skills repo copy after any sync). Extract:
namefrom YAML frontmatterdescriptionfrom YAML frontmatter- Body content (everything after the frontmatter closing
---)
- Also check if
~/ai_projects/claude-skills/<skill-name>/README.mdexists — if so, read it for supplementary context.
Phase 2 — Check for Existing MDX
- Check if
~/ai_projects/claude-skills-site/src/content/skills/<skill-name>.mdxalready exists. - If it exists and
--updatewas NOT passed: stop and ask for confirmation. "The skill<skill-name>already has an .mdx on the site. Pass--updateto regenerate, or confirm to overwrite." - If it exists and
--updatewas passed: read the existing .mdx. Preserve these fields from the existing file (do not regenerate):apothecary_namehero_imageauto_activityauto_last_synced(will be updated to today)
Phase 3 — Generate MDX Frontmatter
Generate each field:
name — Use the skill directory name (kebab-case). Must match the filename.
tagline — One sentence, max 80 characters. Summarize what the skill does in plain language. End with a period. Do not start with "A skill that..." — lead with the action verb or the thing it produces.
apothecary_name — A poetic 2-4 word name in the style of an old apothecary shop. Follow the existing pattern:
- "The Listener's Ear" (meeting-intelligence)
- "The Scholar's Deep Draught" (deep-research)
- "The Artificer's Bench" (developer-tools)
- "The Therapist's Grimoire" (cognitive-toolkit)
- Use "The [Noun]'s [Noun]" or "[Noun] of [Noun]" patterns.
bundle — Select the best-fit bundle by analyzing the skill's purpose against these categories:
| Bundle key | Name | Covers |
|---|---|---|
meeting-intelligence |
Meeting Intelligence | Transcripts, meetings, recordings, action items, video/audio processing |
communication |
Communication | Email, messaging, Telegram, Google Workspace, Zoom |
research |
Research | Web research, search, image sourcing, knowledge retrieval |
content-publishing |
Content & Publishing | Image generation, presentations, PDFs, reports, brand assets, visual tools |
personal-analytics |
Personal Analytics | Health data, dictation analytics, browsing history, self-reflection, hardware signals, knowledge visualization |
thinking-strategy |
Thinking & Strategy | Decision frameworks, JTBD, dialogue modes, cognitive tools, self-design |
developer-tools |
Developer Tools | TDD, LLM CLI, issue tracking, session search, code tools |
lab-consulting |
Lab & Consulting | Lab meetings, client discovery, retrospectives, demos |
If the skill could fit multiple bundles, prefer the one where it adds the most differentiation. If genuinely unsure, ask the user.
tags — 3-6 lowercase kebab-case tags. Derive from the skill's domain, tools used, and output types. Check existing skills for tag reuse.
accent_color — Pick from the validated set: amber (default), blue, cyan, green, orange, purple, violet. Use amber unless the skill has a strong thematic reason for another color (e.g., hardware/signals → cyan, mental health → violet, nature/strategy → green).
auto_description — Copy the description field from the SKILL.md frontmatter verbatim. Truncate at 200 characters if longer.
auto_triggers — Extract 0-3 trigger phrases from the SKILL.md description (e.g., "queries like", "check my email"). Leave empty [] if no clear triggers.
auto_tools — Leave as [].
**auto_last_synced*
Установить publish-skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл publish-skill?
This skill should be used when publishing a new or updated skill to the claude-skills-site Astro website. Use this skill for both adding new skills AND updating existing ones on the site. Triggers on "/publish-skill skillname", "add skill to site", "publish skillname to skills site", "update skill on site", "edit skill on site", "sync skill to site", "republish skill". Reads SKILL.md from the skills repo, generates MDX frontmatter and body, picks the right bundle, updates bundle skills array, and commits/pushes both repos. For existing skills, pass --update to preserve apothecary_name, hero_image, and activity data while regenerating the rest. A hero image is generated by default (pass --no-image to skip).
Как установить скилл publish-skill?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл publish-skill запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic