Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:05:02 +08:00
commit 79efbcd97a
4 changed files with 92 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
{
"name": "create-pull-request",
"description": "Provides comprehensive PR creation guidance with GitHub CLI, enforcing title conventions, following template structure, and offering concrete command examples with best practices.",
"version": "1.0.0",
"author": {
"name": "liam-hq",
"url": "https://github.com/liam-hq"
},
"commands": [
"./commands"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# create-pull-request
Provides comprehensive PR creation guidance with GitHub CLI, enforcing title conventions, following template structure, and offering concrete command examples with best practices.

View File

@@ -0,0 +1,32 @@
---
description: Provides comprehensive PR creation guidance with GitHub CLI, enforcing title conventions, following template structure, and offering concrete command examples with best practices.
author: liam-hq
author-url: https://github.com/liam-hq
version: 1.0.0
---
# GitHub CLI Pull Request Creation Guide
This guide provides comprehensive instructions for creating pull requests using GitHub CLI.
## Prerequisites
- Installing GitHub CLI
- Authenticating with GitHub
## Key Features
- Detailed instructions for creating pull requests
- Best practices for PR titles and descriptions
- Example commands for PR management
- Tips for using templates
- Additional GitHub CLI PR commands
## Example PR Creation Command
```bash
gh pr create --title "✨(scope): Your descriptive title" --body-file <(echo -e "## Issue\n\n- resolve:\n\n## Why is this change needed?\nYour description here.") --base main --draft
```
## Best Practices
- Use consistent template structure
- Follow conventional commit formats
- Maintain clear, structured pull request descriptions
- Include proper scope and descriptive titles

45
plugin.lock.json Normal file
View File

@@ -0,0 +1,45 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:ccplugins/awesome-claude-code-plugins:plugins/create-pull-request",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "49007af13d4a09b6862c642db24f1be9e991b445",
"treeHash": "3b9219a070c614c9be68eb3bc2e4c0d38d3853ced9568008a57a3623cc5ee3d3",
"generatedAt": "2025-11-28T10:14:37.260729Z",
"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-pull-request",
"description": "Provides comprehensive PR creation guidance with GitHub CLI, enforcing title conventions, following template structure, and offering concrete command examples with best practices.",
"version": "1.0.0"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "5d2451dc1194d990dc814e07ed803ba50eb95d54fa4e8c478339e912208b997a"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "d2dc62f41585c3fdb75b54a67931f0ff65e42f90b464d4a9159edca5995ede81"
},
{
"path": "commands/create-pull-request.md",
"sha256": "7cd89483509ee14d0c0c9ad6aebc3df34e0868b873c4922a96d2dae1be770408"
}
],
"dirSha256": "3b9219a070c614c9be68eb3bc2e4c0d38d3853ced9568008a57a3623cc5ee3d3"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}