commit 9d2381ee7f3e5a8b282b18c49dfd2ddc37bb2a73 Author: Zhongwei Li Date: Sat Nov 29 18:08:01 2025 +0800 Initial commit diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..5dcce15 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,12 @@ +{ + "name": "update-branch-name", + "description": "Updates branch names with proper prefixes and formats, enforcing naming conventions, supporting semantic prefixes, and managing remote branch updates.", + "version": "1.0.0", + "author": { + "name": "giselles-ai", + "url": "https://github.com/giselles-ai" + }, + "commands": [ + "./commands" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..66e79fc --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# update-branch-name + +Updates branch names with proper prefixes and formats, enforcing naming conventions, supporting semantic prefixes, and managing remote branch updates. diff --git a/commands/update-branch-name.md b/commands/update-branch-name.md new file mode 100644 index 0000000..4fde0d1 --- /dev/null +++ b/commands/update-branch-name.md @@ -0,0 +1,16 @@ +--- +description: Updates branch names with proper prefixes and formats, enforcing naming conventions, supporting semantic prefixes, and managing remote branch updates. +author: giselles-ai +author-url: https://github.com/giselles-ai +version: 1.0.0 +--- + +# Update Branch Name + +Follow these steps to update the current branch name: + +1. Check differences between current branch and main branch HEAD using `git diff main...HEAD` +2. Analyze the changed files to understand what work is being done +3. Determine an appropriate descriptive branch name based on the changes +4. Update the current branch name using `git branch -m [new-branch-name]` +5. Verify the branch name was updated with `git branch` \ No newline at end of file diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..1374cb4 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:ccplugins/awesome-claude-code-plugins:plugins/update-branch-name", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "94f777869153333b21d9a9f2f1f59a0c34c05dfa", + "treeHash": "f818c8c3c55f6054a4a345559627f82174fea3551df697422a142a71ecbf20dc", + "generatedAt": "2025-11-28T10:14:35.887012Z", + "toolVersion": "publish_plugins.py@0.2.0" + }, + "origin": { + "remote": "git@github.com:zhongweili/42plugin-data.git", + "branch": "master", + "commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390", + "repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data" + }, + "manifest": { + "name": "update-branch-name", + "description": "Updates branch names with proper prefixes and formats, enforcing naming conventions, supporting semantic prefixes, and managing remote branch updates.", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "2a12378f3c2103df1e1318f1c74e37345185c9b108c9d5c22169d3be9599a800" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "fb6db5cd815819e9ff5ed9b35b24144b40916f3ede10ecdf700adb54ef394084" + }, + { + "path": "commands/update-branch-name.md", + "sha256": "6c2e95cdab7f245eaab38fb5a8587cf5c68aaf457e5563b0d5a1b3c7ba798ecc" + } + ], + "dirSha256": "f818c8c3c55f6054a4a345559627f82174fea3551df697422a142a71ecbf20dc" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file