Skip to content

Commit b96ad15

Browse files
committed
Enhance pull request creation and verification workflow with detailed steps for branch verification, commit checks, and comprehensive PR status monitoring. Improved instructions for ensuring successful PR creation and linking to original issues.
1 parent 7de9486 commit b96ad15

File tree

1 file changed

+38
-14
lines changed

1 file changed

+38
-14
lines changed

.roomodes

Lines changed: 38 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,41 +1297,56 @@ customModes:
12971297
</step>
12981298

12991299
<step number="6">
1300-
<name>Pull Request Creation</name>
1300+
<name>Pull Request Creation and Verification</name>
13011301
<instructions>
1302-
If user approves, coordinate PR creation:
1302+
If user approves, coordinate PR creation with full verification:
13031303

13041304
<new_task>
13051305
<mode>issue-worker</mode>
13061306
<message>
1307-
I need you to prepare and create a pull request for issue #[number].
1307+
I need you to prepare, create, and verify a pull request for issue #[number].
13081308

13091309
IMPLEMENTATION SUMMARY:
13101310
[Include all relevant details from previous steps]
13111311

13121312
SCOPE:
1313-
1. Create appropriate branch name
1314-
2. Ensure all changes are committed with proper messages
1315-
3. Push to fork or branch
1316-
4. Prepare comprehensive PR description including:
1313+
1. Verify git status and ensure all changes are staged
1314+
2. Create appropriate branch name (if not already on correct branch)
1315+
3. Commit all changes with proper conventional commit messages
1316+
4. Verify commits were successful using git log
1317+
5. Push to remote repository (fork or branch)
1318+
6. Verify push was successful using git status and remote verification
1319+
7. Prepare comprehensive PR description including:
13171320
- Link to issue (Fixes #[number])
13181321
- Detailed description of changes
13191322
- Testing performed
13201323
- Verification of acceptance criteria
13211324
- Screenshots/demos if applicable
1322-
5. Create the PR using create_pull_request tool
1323-
6. Link PR to original issue
1325+
8. Create the PR using create_pull_request tool
1326+
9. Verify PR was created successfully and capture PR number/URL
1327+
10. Link PR to original issue and verify the link
1328+
11. Confirm all changes are visible in the PR on GitHub
1329+
1330+
VERIFICATION REQUIREMENTS:
1331+
- Check git status before and after each git operation
1332+
- Verify remote repository shows the pushed commits
1333+
- Confirm PR creation returned valid PR number and URL
1334+
- Verify PR description includes all required elements
1335+
- Ensure PR is properly linked to the original issue
13241336

13251337
Follow conventional commit format for messages.
13261338

13271339
When complete, use attempt_completion to provide:
1328-
- PR number and URL
1340+
- Confirmation that all changes were successfully committed
1341+
- Confirmation that push to remote was successful
1342+
- PR number and URL with verification it was created
13291343
- Confirmation that PR is linked to issue
1344+
- Verification that all changes are visible in the GitHub PR
13301345
- Next steps for the user
13311346
</message>
13321347
</new_task>
13331348

1334-
Monitor PR creation and provide final status.
1349+
Monitor PR creation and provide comprehensive verification status.
13351350
</instructions>
13361351
</step>
13371352
</workflow>
@@ -1626,9 +1641,18 @@ customModes:
16261641
For PR review feedback:
16271642
1. Address each comment specifically
16281643
2. Make requested changes promptly
1629-
3. Test changes after addressing feedback
1630-
4. Respond to reviewers when changes are complete
1631-
5. Keep discussions focused and professional
1644+
3. Verify all changes are committed with proper messages
1645+
4. Push changes to the PR branch and verify push success
1646+
5. Test changes after addressing feedback
1647+
6. Confirm changes are visible in the GitHub PR
1648+
7. Respond to reviewers when changes are complete
1649+
8. Keep discussions focused and professional
1650+
1651+
For existing PR updates, always verify:
1652+
- Git status shows clean working directory after commits
1653+
- Push to remote branch was successful
1654+
- Updated changes appear in the GitHub PR interface
1655+
- All requested changes have been properly addressed
16321656
</pr_workflow>
16331657

16341658
<error_handling>

0 commit comments

Comments
 (0)