From 85d9650e1376db7820154da32daf56e171222e42 Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sat, 29 Nov 2025 18:04:59 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 12 ++++++++++ README.md | 3 +++ commands/create-pr.md | 27 +++++++++++++++++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 87 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 commands/create-pr.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..1f3c8e4 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,12 @@ +{ + "name": "create-pr", + "description": "Streamlines pull request creation by handling the entire workflow: creating a new branch, committing changes, formatting modified files with Biome, and submitting the PR.", + "version": "1.0.0", + "author": { + "name": "toyamarinyon", + "url": "https://github.com/toyamarinyon" + }, + "commands": [ + "./commands" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..7cf2223 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# create-pr + +Streamlines pull request creation by handling the entire workflow: creating a new branch, committing changes, formatting modified files with Biome, and submitting the PR. diff --git a/commands/create-pr.md b/commands/create-pr.md new file mode 100644 index 0000000..5419b7c --- /dev/null +++ b/commands/create-pr.md @@ -0,0 +1,27 @@ +--- +description: Streamlines pull request creation by handling the entire workflow: creating a new branch, committing changes, formatting modified files with Biome, and submitting the PR. +author: toyamarinyon +author-url: https://github.com/toyamarinyon +version: 1.0.0 +--- + +# Create Pull Request Command + +This command automates the process of creating a pull request with several key features: + +## Key Behaviors +- Creates a new branch from current changes +- Formats files using Biome +- Automatically splits changes into logical commits +- Generates descriptive commit messages +- Pushes branch to remote repository +- Creates a pull request with summary and test plan + +## Commit Splitting Guidelines +- Split commits by feature, component, or concern +- Keep related file changes together +- Separate refactoring from new features +- Ensure each commit is independently understandable +- Separate unrelated changes into distinct commits + +The command aims to streamline the code contribution process by providing intelligent commit and pull request creation. \ No newline at end of file diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..c7aa09a --- /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/create-pr", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "38ad0321b856caf2cf4852a99ced7d590a475e23", + "treeHash": "ac11a6b8f7f9acf77399ab34d09ef03b1ca33fd7e17855caab5ad7306907ca03", + "generatedAt": "2025-11-28T10:14:37.032092Z", + "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": "create-pr", + "description": "Streamlines pull request creation by handling the entire workflow: creating a new branch, committing changes, formatting modified files with Biome, and submitting the PR.", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "c9b0252e27a6193f17970b013d959388a9c3e6648c065cbfd332ea8dea8e3787" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "1035ac35fff522bea508dc2b70eaac00f2db3ce89353fbb623be53144afe470d" + }, + { + "path": "commands/create-pr.md", + "sha256": "b4e94986759b3a97ebf6d0ef2f7ded9bf0e35c86ee293c1d6f6897680388aedf" + } + ], + "dirSha256": "ac11a6b8f7f9acf77399ab34d09ef03b1ca33fd7e17855caab5ad7306907ca03" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file