Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 17:53:36 +08:00
commit 9cea79dd37
4 changed files with 92 additions and 0 deletions

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