Skip to content

Add Claude Code plugin marketplace support#5

Open
back1ply wants to merge 2 commits intodanpeg:mainfrom
back1ply:add-plugin-marketplace
Open

Add Claude Code plugin marketplace support#5
back1ply wants to merge 2 commits intodanpeg:mainfrom
back1ply:add-plugin-marketplace

Conversation

@back1ply
Copy link
Copy Markdown

@back1ply back1ply commented Apr 28, 2026

Summary

  • Adds .claude-plugin/plugin.json + marketplace.json — repo becomes installable via Claude Code plugin marketplace
  • Adds skills/bug-hunt/ (SKILL.md + prompts) — plugin-context skill structure
  • Consolidates prompts to single location (skills/bug-hunt/prompts/) — no more duplicate files to maintain
  • Updates root SKILL.md path so all install methods resolve to the same prompts
  • Adds skills.sh install method to README

Install methods (all work after merge)

Method Command Skill name
Plugin marketplace /plugin marketplace add danpeg/bug-hunt/plugin install bug-hunt@bug-hunt /bug-hunt:bug-hunt
skills.sh npx skills add danpeg/bug-hunt /bug-hunt
git clone git clone https://github.com/danpeg/bug-hunt.git ~/.claude/skills/bug-hunt /bug-hunt

How prompts path works (no duplication)

${CLAUDE_SKILL_DIR} resolves differently per install method:

Context ${CLAUDE_SKILL_DIR} Prompts path in SKILL.md Resolves to
git clone / npx skills add ~/.claude/skills/bug-hunt/ ${CLAUDE_SKILL_DIR}/skills/bug-hunt/prompts/ ~/.claude/skills/bug-hunt/skills/bug-hunt/prompts/
Plugin install <plugin-root>/skills/bug-hunt/ ${CLAUDE_SKILL_DIR}/prompts/ <plugin-root>/skills/bug-hunt/prompts/

Single set of prompt files. No maintenance burden.

Test plan

  • claude plugin validate .✔ Validation passed
  • plugin.json + marketplace.json valid JSON
  • Root SKILL.md prompts path updated, standalone install unaffected
  • skills/bug-hunt/SKILL.md frontmatter preserved
  • prompts/ deduplicated — one copy at skills/bug-hunt/prompts/
  • claude --plugin-dir . loads bug-hunt:bug-hunt skill (manual verify by maintainer)

🤖 Generated with Claude Code

back1ply and others added 2 commits April 29, 2026 00:53
Adds .claude-plugin/plugin.json and marketplace.json so users can install
via /plugin marketplace add danpeg/bug-hunt && /plugin install bug-hunt@bug-hunt.
Adds skills/bug-hunt/ plugin skill structure alongside existing standalone
install. README updated with both install paths.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Move prompts to skills/bug-hunt/prompts/ (single source of truth).
Update root SKILL.md path to ${CLAUDE_SKILL_DIR}/skills/bug-hunt/prompts/
so git clone and npx skills add installs still resolve correctly.
Add skills.sh install method to README.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant