feat(install): add --skills-dir mode (Claude Code skills-directory plugin) - #19
Open
mh0pe wants to merge 1 commit into
Open
feat(install): add --skills-dir mode (Claude Code skills-directory plugin)#19mh0pe wants to merge 1 commit into
mh0pe wants to merge 1 commit into
Conversation
… plugin
Add `--skills-dir [--dir <path>]` flag to bin/install.js that writes a
self-contained Claude Code skills-directory plugin instead of installing
into a .claude config directory.
Layout written under <dir> (default: <cwd>/.claude/skills/paul/):
.claude-plugin/plugin.json -- {name, version, description} from package.json
commands/ -- all paul slash commands
paul-framework/ -- templates, workflows, references, rules
Framework refs (@~/.claude/paul-framework/) are rewritten to
${CLAUDE_PLUGIN_ROOT}/paul-framework/ so the plugin is self-contained.
Project-state refs (@.paul/STATE.md etc.) are left untouched.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Author
|
Related PRs — part of a coordinated cross-repo offer (
Reviewing them together is recommended; the same change pattern is mirrored per repo. |
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.
What
Adds
--skills-dir [--dir <path>]to the installer. It writes a self-contained skills-directory plugin (.claude-plugin/plugin.json+commands/+paul-framework/) that Claude Code auto-loads in place aspaul@skills-dir, with framework@-includes rewritten to${CLAUDE_PLUGIN_ROOT}.Default target:
<cwd>/.claude/skills/paul/.Why
claude plugin install, no marketplace setup..claude/skills/but has no access to a user's local marketplace installs; a committed skills-dir plugin is the supported way to make a plugin available in cloud.Notes
--global/--local/--config-dirpaths are unchanged.--skills-dircannot be combined with--global/--local(errors out).@.paul/...) are left untouched; only framework@-includes are rewritten.🤖 Generated with Claude Code