commit b6b3a5e2b259fe6b16de9c7ade5db35600fc9a34 Author: Zhongwei Li Date: Sat Nov 29 17:53:34 2025 +0800 Initial commit diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..5af97b1 --- /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..70b6a8b --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:ananddtyagi/claude-code-marketplace:plugins/create-pr", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "0bda0ff04273087238ab3fe16550ea82ca82b0b8", + "treeHash": "4dbb465f33cffb7b6518fc99bb4183ca8c81b78d411babcb40df32dd67190d9c", + "generatedAt": "2025-11-28T10:13:23.237783Z", + "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": "a2d4cbcfa904cc40997f153c4a26ee6daccaa4db7fbb3553ed96e3aeac3dc7b6" + }, + { + "path": "commands/create-pr.md", + "sha256": "b4e94986759b3a97ebf6d0ef2f7ded9bf0e35c86ee293c1d6f6897680388aedf" + } + ], + "dirSha256": "4dbb465f33cffb7b6518fc99bb4183ca8c81b78d411babcb40df32dd67190d9c" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file