Skip to content
deploy-to-marketplace logo

Deploy to Marketplace

deploy-to-marketplace

Use when user wants to deploy/publish a skill to saurun-marketplace, says "deploy [skill] to marketplace", or asks to publish a skill to the plugin marketplace.

SKILL.md

Full skill instructions

Deploy to Marketplace

Deploy skills from ~/​.claude/​skills/ to the saurun-marketplace plugin repository.

Workflow

digraph deploy_flow {
    "User request" [shape=doublecircle];
    "Validate skill structure" [shape=box];
    "Check marketplace state" [shape=box];
    "Conflict?" [shape=diamond];
    "Show diff + warn" [shape=box];
    "User confirms?" [shape=diamond];
    "Copy skill files" [shape=box];
    "Call /​publish-plugin bump" [shape=box];
    "Complete" [shape=doublecircle];
    "Abort" [shape=doublecircle];

    "User request" -> "Validate skill structure";
    "Validate skill structure" -> "Check marketplace state";
    "Check marketplace state" -> "Conflict?";
    "Conflict?" -> "Show diff + warn" [label="yes"];
    "Conflict?" -> "Copy skill files" [label="no"];
    "Show diff + warn" -> "User confirms?";
    "User confirms?" -> "Copy skill files" [label="yes"];
    "User confirms?" -> "Abort" [label="no"];
    "Copy skill files" -> "Call /​publish-plugin bump";
    "Call /​publish-plugin bump" -> "Complete";
}

Steps

1. Validate Skill Structure

Check source skill:

SKILL_NAME="skill-name"
SOURCE="$HOME/​.claude/​skills/​$SKILL_NAME"

# Verify exists
test -f "$SOURCE/​SKILL.md" || { echo "Error: SKILL.md not found"; exit 1; }

# Verify frontmatter
grep -q "^name:" "$SOURCE/​SKILL.md" || { echo "Error: Missing 'name' in frontmatter"; exit 1; }
grep -q "^description:" "$SOURCE/​SKILL.md" || { echo "Error: Missing 'description' in frontmatter"; exit 1; }

2. Check Marketplace State

MARKETPLACE="$HOME/​repos/​saurun-marketplace"
TARGET="$MARKETPLACE/​plugins/​saurun/​skills/​$SKILL_NAME"

# Check if skill exists
if [ -d "$TARGET" ]; then
    # Compare modification times
    LOCAL_TIME=$(stat -f %m "$SOURCE/​SKILL.md" 2>/​dev/​null || stat -c %Y "$SOURCE/​SKILL.md")
    MARKET_TIME=$(stat -f %m "$TARGET/​SKILL.md" 2>/​dev/​null || stat -c %Y "$TARGET/​SKILL.md")

    if [ "$MARKET_TIME" -gt "$LOCAL_TIME" ]; then
        echo "⚠️  WARNING: Marketplace version is NEWER than local"
        echo "Local:       $(date -r $LOCAL_TIME)"
        echo "Marketplace: $(date -r $MARKET_TIME)"

        # Show diff
        diff -u "$TARGET/​SKILL.md" "$SOURCE/​SKILL.md" || true

        # Ask user
        echo ""
        echo "Options:"
        echo "  1. ABORT - Don't deploy"
        echo "  2. REVERSE - Copy marketplace → local"
        echo "  3. FORCE - Overwrite marketplace (use with caution)"
        # Wait for user decision
    fi
fi

# Check git state
cd "$MARKETPLACE"
if ! git diff --quiet; then
    echo "⚠️  WARNING: Marketplace has uncommitted changes"
    git status --short
    # Ask user to commit or continue
fi

3. Copy Skill Files

Platform detection:

# Detect platform
case "$(uname -s)" in
    Darwin|Linux)  PLATFORM="unix" ;;
    MINGW*|MSYS*)  PLATFORM="windows" ;;
    *)             PLATFORM="unix" ;;
esac

Copy command:

if [ "$PLATFORM" = "unix" ]; then
    # Mac/​Linux: Use rsync
    rsync -av --delete "$SOURCE/" "$TARGET/"
else
    # Windows: Use robocopy or cp
    cp -r "$SOURCE"/​* "$TARGET/"
fi

4. Call /​publish-plugin bump

This command handles:

  • Version bumping (both plugin.json and marketplace.json)
  • Git commit with standardized message
  • Git push to origin
# Just invoke the command
/​publish-plugin bump

The command will:

  • Increment version: 1.0.16 → 1.0.17
  • Update both JSON files
  • Commit: chore(plugin): publish plugin v1.0.17
  • Push to GitHub

Quick Reference

Deploy skill:

# Example: Deploy web-design-wizard
SKILL="web-design-wizard"
rsync -av --delete ~/​.claude/​skills/​$SKILL/ \
    ~/​repos/​saurun-marketplace/​plugins/​saurun/​skills/​$SKILL/

cd ~/​repos/​saurun-marketplace
/​publish-plugin bump

Common Issues

IssueSolution
"SKILL.md not found"Verify skill exists in ~/​.claude/​skills/
"Missing frontmatter"Add name and description to ---...--- block
"Marketplace is newer"Show diff, ask user to confirm overwrite
"Uncommitted changes"Ask user to commit or stash first
"Git push fails"Check network, credentials, conflicts

Supporting Files

The workflow automatically copies entire skill directory, including:

  • SKILL.md (required)
  • references/ (optional)
  • scripts/ (optional)
  • Any other supporting files

Safety Checks (Always Performed)

  • ✅ Validate SKILL.md exists
  • ✅ Validate frontmatter present
  • ✅ Check marketplace git state
  • ✅ Compare modification times
  • ✅ Show diff if overwriting
  • ✅ Ask user confirmation on conflicts

Never skip these checks, even under time pressure.

More DevOps & CI/CD skills

Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.

6K 472.6K
View

Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.

6K 472.6K
View

Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.

1.5K 454.3K
View
azure-kubernetes logo
DevOps & CI/CD

azure-kubernetes

Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.

1.5K 447.1K
View

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

92.7K 354.9K
View
just-scrape logo
DevOps & CI/CD

just-scrape

Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.

69 245K
View

Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.

462 159.7K
View

Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.

462 159.1K
View
deploy-to-vercel logo
DevOps & CI/CD

deploy-to-vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

31.9K 146.6K
View
programmatic-seo logo
DevOps & CI/CD

programmatic-seo

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.

63 123.5K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
Imagica logo
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View