Add Claude Code plugin marketplace support#5
Open
back1ply wants to merge 2 commits intodanpeg:mainfrom
Open
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.claude-plugin/plugin.json+marketplace.json— repo becomes installable via Claude Code plugin marketplaceskills/bug-hunt/(SKILL.md + prompts) — plugin-context skill structureskills/bug-hunt/prompts/) — no more duplicate files to maintainSKILL.mdpath so all install methods resolve to the same promptsskills.shinstall method to READMEInstall methods (all work after merge)
/plugin marketplace add danpeg/bug-hunt→/plugin install bug-hunt@bug-hunt/bug-hunt:bug-huntnpx skills add danpeg/bug-hunt/bug-huntgit clone https://github.com/danpeg/bug-hunt.git ~/.claude/skills/bug-hunt/bug-huntHow prompts path works (no duplication)
${CLAUDE_SKILL_DIR}resolves differently per install method:${CLAUDE_SKILL_DIR}~/.claude/skills/bug-hunt/${CLAUDE_SKILL_DIR}/skills/bug-hunt/prompts/~/.claude/skills/bug-hunt/skills/bug-hunt/prompts/✓<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 passedplugin.json+marketplace.jsonvalid JSONSKILL.mdprompts path updated, standalone install unaffectedskills/bug-hunt/SKILL.mdfrontmatter preservedprompts/deduplicated — one copy atskills/bug-hunt/prompts/claude --plugin-dir .loadsbug-hunt:bug-huntskill (manual verify by maintainer)🤖 Generated with Claude Code