Agent skill

publish-skill

USE WHEN: user wants to publish, port, or share a skill to a marketplace repo. DO NOT USE WHEN: creating new skills, installing skills, or general questions.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/publish-skill

SKILL.md

Publish Skill to Marketplace

Port skills from any project to the claude-hacks marketplace.

Usage

bash
publish-skill <skill-name> [--source PATH] [--dry-run] [--no-push]

What It Does

  1. Copies skill to skills/<name>/skills/<name>/
  2. Updates .claude-plugin/marketplace.json
  3. Bumps version if exists, adds new entry if not
  4. Commits and pushes

Examples

bash
publish-skill my-skill
publish-skill my-skill --source /path/to/.claude/skills/my-skill
publish-skill my-skill --dry-run

Pre-Publish Check

Verify SKILL.md has:

  • name: in frontmatter
  • description: with USE WHEN / DO NOT USE WHEN

Didn't find tool you were looking for?

Be as detailed as possible for better results