Skip to content

Add plugin-maintenance plugin with bump-version command#14

Open
bgerstle wants to merge 2 commits into
mainfrom
worktree-plugin-dev
Open

Add plugin-maintenance plugin with bump-version command#14
bgerstle wants to merge 2 commits into
mainfrom
worktree-plugin-dev

Conversation

@bgerstle

@bgerstle bgerstle commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds plugins/plugin-maintenance/ with a .claude-plugin/plugin.json manifest and a commands/bump-version.md command
  • The /plugin-maintenance:bump-version command finds all plugin.json files modified (staged or unstaged) under plugins/, increments the patch version, and prints a summary before committing
  • Registers the new plugin in .claude-plugin/marketplace.json at version 1.0.0 under category tooling

Test plan

  • Run bash tests/local/validate-skills.sh — all checks pass (no skills to validate in this plugin, existing praxis skills unaffected)
  • Modify a plugin's files, then invoke /plugin-maintenance:bump-version and confirm the version is incremented and a summary is printed
  • Confirm no files are staged or committed by the command

🤖 Generated with Claude Code

Introduces a new plugin with a single /plugin-maintenance:bump-version
command that finds modified plugin.json files via git diff, increments
the patch version in each, and prints a summary for review before
committing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@bgerstle

bgerstle commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator Author

Ran this plugin on f2aad03, which didn't have plugin version bumped yet. Command correctly detected missing version increment and corrected it:

❯ /plugin-maintenance:bump-version

⏺ Bash(git diff --name-only origin/main...HEAD)
⎿  plugins/praxis/agents/agent-test.md

Read 1 file (ctrl+o to expand)

⏺ Update(plugins/praxis/.claude-plugin/plugin.json)
⎿  File must be read first

Read 1 file (ctrl+o to expand)

⏺ Update(plugins/praxis/.claude-plugin/plugin.json)
⎿  Added 1 line, removed 1 line
1 {
2 "name": "praxis",
3 - "version": "2.1.1",
3 + "version": "2.1.2",
4 "description": "Agentic engineering skills for software development patterns and best practices including TDD, harness engineering, refactoring, architecture patterns, and AI development workflows.",
5 "author": {
6 "name": "Eric Olson"

⏺ Bumped plugin versions:

plugins/praxis/.claude-plugin/plugin.json   2.1.1 → 2.1.2

Review the changes above before committing.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new plugin-maintenance Claude Code plugin to this repository’s marketplace, introducing a /plugin-maintenance:bump-version command intended to bump patch versions in plugin manifests for review.

Changes:

  • Added plugins/plugin-maintenance/.claude-plugin/plugin.json plugin manifest registering the bump-version command.
  • Added plugins/plugin-maintenance/commands/bump-version.md command instructions for identifying modified plugin manifests and bumping patch versions.
  • Registered the new plugin in .claude-plugin/marketplace.json under the tooling category at version 1.0.0.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
plugins/plugin-maintenance/commands/bump-version.md Defines the /plugin-maintenance:bump-version command workflow for bumping patch versions and printing a summary.
plugins/plugin-maintenance/.claude-plugin/plugin.json Declares the new plugin-maintenance plugin and its command entrypoint.
.claude-plugin/marketplace.json Adds plugin-maintenance to the repository marketplace plugin list.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Run:

```bash
git diff --name-only HEAD
git diff --name-only --cached
```

Collect all unique paths from both outputs that match the pattern `plugins/*/plugin.json` or `plugins/*/.claude-plugin/plugin.json`.
- Replace `git diff HEAD` + `--cached` pair with a single `git diff --name-only HEAD`, which already covers both staged and unstaged changes
- Drop the `plugins/*/plugin.json` pattern; all manifests in this repo live at `plugins/*/.claude-plugin/plugin.json`

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Comment on lines +12 to +16
```bash
git diff --name-only HEAD
```

Collect all paths from the output that match the pattern `plugins/*/.claude-plugin/plugin.json`.
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