Skip to content

Conversation

@basnijholt
Copy link
Owner

Summary

  • Add a .claude-plugin/ directory with plugin infrastructure for Claude Code marketplace distribution
  • Similar to worktrunk's plugin
  • Enables global installation of the agent-cli-dev skill

Plugin Structure

.claude-plugin/
├── plugin.json                    # Plugin metadata
├── marketplace.json               # Marketplace config
├── README.md                      # Plugin overview
└── skills/agent-cli-dev/
    ├── SKILL.md                   # Main skill documentation
    └── examples.md                # Detailed workflow examples

Installation (once published)

claude plugin marketplace add basnijholt/agent-cli
claude plugin install agent-cli@agent-cli-dev

Test plan

  • Pre-commit checks pass
  • Verify plugin structure is correct for Claude Code marketplace

Add a `.claude-plugin/` directory with plugin infrastructure for
Claude Code marketplace distribution, similar to worktrunk.

Structure:
- plugin.json - Plugin metadata and skill references
- marketplace.json - Marketplace configuration
- skills/agent-cli-dev/SKILL.md - Main skill documentation
- skills/agent-cli-dev/examples.md - Detailed examples
- README.md - Plugin overview

This enables users to install the agent-cli-dev skill globally via:
  claude plugin marketplace add basnijholt/agent-cli
  claude plugin install agent-cli@agent-cli-dev
Replace copied skill files with symlinks to agent_cli/dev/skill/
to keep them automatically in sync with the source of truth.
Symlinks may not work reliably across platforms or with the Claude
Code plugin loader. Use regular file copies instead, with a pre-commit
hook to verify they stay in sync with the source files.

- Revert skill files from symlinks to regular copies
- Add scripts/check_plugin_skill_sync.py to verify sync
- Add pre-commit hook that runs on skill file changes
Add the project-local skill copy (.claude/skills/agent-cli-dev/) to
the sync check. This ensures all three copies stay in sync:
- agent_cli/dev/skill/ (source of truth)
- .claude-plugin/skills/ (marketplace distribution)
- .claude/skills/ (project-local for Claude Code)
@basnijholt basnijholt merged commit 51a2a4a into main Jan 22, 2026
10 checks passed
@basnijholt basnijholt deleted the feat/claude-plugin branch January 22, 2026 11:00
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.

2 participants