You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Title MUST be prefixed with a type, followed by an OPTIONAL scope, OPTIONAL !, and REQUIRED terminal colon and space
27
+
2. The type `feat` MUST be used when adding a new feature
28
+
3. The type `fix` MUST be used when fixing a bug
29
+
4. A scope MAY be provided after a type, surrounded by parenthesis (e.g., `fix(parser):`)
30
+
17
31
## Pull Request Format
18
32
- Title: One sentence summary (max 120 characters)
19
33
- Body:
@@ -23,7 +37,7 @@ When creating or updating a pull request, follow these guidelines:
23
37
24
38
## Example:
25
39
```
26
-
Title: Add user authentication to login page
40
+
feat: Add user authentication to login page
27
41
28
42
Body:
29
43
- Add password validation function
@@ -39,16 +53,12 @@ When creating a PR, ensure that:
39
53
- All bullet points are written without extra lines between them
40
54
- The body starts directly with bullet points (no introductory text)
41
55
- When using GitHub CLI, use `--body-file` instead of `--body` to avoid escape character issues
42
-
- Always create the PR body file in the `.cursor/tmp/` folder (e.g., `.cursor/tmp/pr-body.md`)
56
+
- Always create the PR body file in the `/tmp/` folder (e.g., `/tmp/pr-body.md`)
43
57
In GitHub or similar platforms, preview the PR description to verify there are no unwanted
44
58
line breaks between bullet points.
45
59
46
60
## Process
47
-
1. Analyze changes between master and current branch
61
+
1. Analyze changes between main and current branch
48
62
2. Create PR title and bullet list description
49
63
3. Create new PR or update existing PR tied to current branch
50
64
4. Request review if needed
51
-
5. Remove any temporary files created during the process
52
-
53
-
## Important
54
-
Always create temporary files in the `.cursor/tmp/` folder and clean them up (like `.cursor/tmp/pr-body.md`) after completing the PR process to avoid cluttering the workspace.
0 commit comments