Skip to content

Improve Claude Code plugin commands and metadata#10

Merged
takai merged 6 commits intomainfrom
feat/improve-plugin
Feb 3, 2026
Merged

Improve Claude Code plugin commands and metadata#10
takai merged 6 commits intomainfrom
feat/improve-plugin

Conversation

@takai
Copy link
Owner

@takai takai commented Feb 3, 2026

Summary

  • Rename plugin commands to shorter, consistent names: commit-stagedstaged, commit-allall, organize-commitsorganize — eliminates commit keyword redundancy with the ai-commit plugin name
  • Add commit-all (all) command for staging and committing all changes in one step
  • Enhance command safety: add merge/rebase/cherry-pick state detection, error handling for git ai-commit failures, and iteration limits for organize command
  • Update README with in-repo installation instructions and add repository field to plugin.json
  • Bump plugin version to 0.2.0 (breaking: command names changed)

Test plan

  • Verify /ai-commit:staged commits only staged changes without modifying the index
  • Verify /ai-commit:all stages everything with git add -A then commits
  • Verify /ai-commit:organize groups changes into atomic commits and respects the 20-iteration limit
  • Verify all three commands abort on merge/rebase/cherry-pick state
  • Verify old command names (commit-staged, commit-all, organize-commits) are no longer available

takai added 6 commits February 4, 2026 06:53
…proved staging

Add argument-hint metadata to both commands. Replace interactive `git add -p` with file-level staging to improve reliability. Include recent git log context in organize-commits for better understanding of the codebase. Add explicit safety rules: check for merge/rebase/cherry-pick states, report failures immediately, enforce iteration limits, and require manual error handling.
- Add guidance for using plugin from go install source tree
- Document plugin-dir and symlink registration options
- Clarify installation workflow for local development
Rename commands from `organize-commits`, `commit-all`, and `commit-staged` to `organize`, `all`, and `staged` respectively. This eliminates repetition of the "commit" keyword which is already present in the plugin name `ai-commit`.
BREAKING CHANGE: Command names have been renamed to reduce redundancy. Use the new shortened command names in place of previous versions.
@takai takai merged commit e844054 into main Feb 3, 2026
1 check passed
@takai takai deleted the feat/improve-plugin branch February 3, 2026 22:12
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