Skip to content

Commit abf0015

Browse files
committed
[skip ci] update "Create PR" command
1 parent 57f24d3 commit abf0015

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.cursor/commands/create-pr.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,20 @@ _Note_ in the command output, format all URLs as clickable Markdown links: `[Lin
2020
- Check if the branch name contains an issue number (use the regexp `/issue-\d+/`)
2121
- If found, fetch the issue details using `gh issue view [issue_number]`
2222
- Include "Resolves #[issue_number]" at the very beginning of the description (in the "Description and Related Issue(s)" section)
23-
- Summarize the changes clearly and concisely, using no more than two paragraphs. If necessary, use bullet points to highlight the main changes in the codebase.
23+
- Summarize the changes clearly and concisely, using no more than two paragraphs. If necessary, use bullet points to highlight the main changes in the codebase. Be precise, this description should not be very long.
2424
- List any changes in the enviroment variables (look at the `./docs/ENVS.md` file) in a separate section, describe purpose of each variable change
2525
- Bad example: "Added `NEXT_PUBLIC_VIEWS_TX_GROUPED_FEES` environment variable to the documentation"
2626
- Good example: "Added `NEXT_PUBLIC_VIEWS_TX_GROUPED_FEES` to group transaction fees into one section on the transaction page"
2727
- Good example: "Extended possible values for `NEXT_PUBLIC_VIEWS_TX_ADDITIONAL_FIELDS` with set_max_gas_limit to display the maximum gas price set by the transaction sender"
2828
- Good example: "Introduced a new option, `"fee reception"`, for the `NEXT_PUBLIC_NETWORK_VERIFICATION_TYPE` variable"
29+
- Keep the "Checklist for PR Author" section and check the appropriate items in it.
30+
- When finished, ask the user for confirmation or changes before moving on to the next step.
2931

3032
4. **Set up PR**
3133
- Create a pull request with a descriptive title. Use draft mode for the pull request if specified in the prompt.
3234
- Add appropriate labels
3335
- If something has added or changed in `./docs/ENVS.md` file, add label "ENVs"
3436
- If the `package.json` file has changed, add label "dependencies"
3537
- If the branch name has the issue number (use the regexp `/issue-\d+/`), copy all tags from the related issue
36-
37-
5. **Monitor checks workflow**
38-
- Wait for the "Checks" workflow (see `.github/workflows/checks.yml`) to start (triggered automatically by PR creation)
39-
- Watch the workflow run until it completes (use `gh run watch`)
40-
- Track the workflow status (success or failure)
41-
42-
6. **Send system notification with results**
43-
- On workflow completion: notify with final status (success/failure)
44-
- On failure: notify about the error with brief details
38+
- Include a link to the created pull request in the command output.
4539

0 commit comments

Comments
 (0)