Skip to content

Commit 4b03cb0

Browse files
committed
Add PR creation rules and template for consistency in submissions
1 parent 09ff33d commit 4b03cb0

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

.claude/commands/create_pr.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# PR Creation Rules
2+
This document describes the format and rules for creating a Pull Request (PR) on GitHub.
3+
4+
# Execution Details
5+
6+
## Command to Execute
7+
8+
To create a PR, execute the following command. Add options as needed to construct the title, body, etc.
9+
```bash
10+
gh pr create
11+
```
12+
13+
The rules for describing the content of the PR are as follows.
14+
## Title
15+
Follow these rules for the PR title:
16+
- Write the title in English.
17+
- Keep the title concise and clearly indicate the changes.
18+
19+
## Body
20+
Follow these rules for the PR body:
21+
- Write the body in English.
22+
- It is recommended to divide the body into the following sections:
23+
- Refer to the [PR Template](../templates/PR_TEMPLATE.md) for the PR body template.
24+
- Briefly explain the purpose and impact of the changes.
25+
- Include related issue numbers or ticket numbers, if possible.
26+
27+
## Labels
28+
Labels are automatically assigned by GitHub Actions, so no manual configuration is required.

.claude/templates/PR_TEMPLATE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
**Description**
2+
3+
---
4+
**Related Issue**
5+
6+
---
7+
**Type of Change**
8+
- [ ] Bug fix
9+
- [ ] New feature
10+
- [ ] Documentation update
11+
- [ ] Other (please specify)
12+
- [ ] Refactor
13+
- [ ] Test
14+
- [ ] Build system change
15+
- [ ] Chore
16+
- [ ] Performance improvement
17+
- [ ] Code style update
18+
- [ ] Security fix
19+
- [ ] Other (please specify)
20+
21+
---

0 commit comments

Comments
 (0)