From 9a36c9187a175e7b062b3fc9b06c5c27eb4fe98f Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sun, 30 Nov 2025 08:35:42 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 12 ++++++++++ README.md | 3 +++ commands/create-branch.md | 13 ++++++++++ commands/create-commit.md | 11 +++++++++ plugin.lock.json | 49 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 88 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 commands/create-branch.md create mode 100644 commands/create-commit.md create mode 100644 plugin.lock.json diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..980ae00 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,12 @@ +{ + "name": "git", + "description": "Git操作を支援するコマンド集(ブランチ作成、コミット作成)", + "version": "1.0.0", + "author": { + "name": "korosuke613", + "url": "https://github.com/korosuke613" + }, + "commands": [ + "./commands" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..ab2677c --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# git + +Git操作を支援するコマンド集(ブランチ作成、コミット作成) diff --git a/commands/create-branch.md b/commands/create-branch.md new file mode 100644 index 0000000..8da74b8 --- /dev/null +++ b/commands/create-branch.md @@ -0,0 +1,13 @@ +--- +allowed-tools: Bash(git status:*), Bash(git log:*), Bash(git branch), Bash(git diff:*), Read, Edit, Glob, Grep, LS +description: 現在の変更を元に新しいブランチを作成 +--- + +# やること +現在の変更を元に新しいブランチを作成してください。 + +# ブランチ名の参考にする情報 +- @CLAUDE.md +- 直近のコミットの確認: `git log --oneline` +- その他のブランチの確認: `git branch` + diff --git a/commands/create-commit.md b/commands/create-commit.md new file mode 100644 index 0000000..f52258f --- /dev/null +++ b/commands/create-commit.md @@ -0,0 +1,11 @@ +--- +allowed-tools: Bash(git status:*), Bash(git log:*), Bash(git branch), Bash(git diff:*), Bash(git add:*), Read, Edit, Glob, Grep, LS +description: 現在の変更を元に新しいコミットを作成 +--- + +# やること +現在の変更を元に新しいコミットを作成してください。 + +# コミットメッセージの参考にする情報 +- @CLAUDE.md +- 直近のコミットの確認: `git log --oneline` diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..7a2660a --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,49 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:korosuke613/coding-agent-recipe:claude-plugins/git", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "1f16b72c3dd5b5bd659e0421b300482c07521cb5", + "treeHash": "12b305973a66798a1af618ebe2b56b4c3d2a01af0bc362e2e23d927cd6f10b22", + "generatedAt": "2025-11-28T10:19:56.430135Z", + "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": "git", + "description": "Git操作を支援するコマンド集(ブランチ作成、コミット作成)", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "98a49d6e961f3ab6c7b06bc750304ac676e2ef07a07cc5dbb2601b6905404b59" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "de114b4c3091c0460f752cb629e5883e64398ca3f02b3a190c8293d608c26b85" + }, + { + "path": "commands/create-branch.md", + "sha256": "45b9775ef37464b4f24a7869bf4905e51ae9104c8cf523ea190975f78be19219" + }, + { + "path": "commands/create-commit.md", + "sha256": "f2ce17237f1c915e173e32a96f44a1f5fb24686a78cd171c7b3a7a2863147e4d" + } + ], + "dirSha256": "12b305973a66798a1af618ebe2b56b4c3d2a01af0bc362e2e23d927cd6f10b22" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file