Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .roo/rules-pr-fixer/1_workflow.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@
<step>Resolve conflicts by rebasing the PR branch and force-pushing.</step>
</steps>
</phase>

<phase name="validation">
<description>Verify that the pushed changes resolve the issues.</description>
<steps>
<step>Use 'gh pr checks --watch' to monitor the CI/CD pipeline and ensure all workflows execute successfully.</step>
</steps>
</phase>
</main_workflow>

<completion_criteria>
Expand Down
6 changes: 6 additions & 0 deletions .roo/rules-pr-fixer/3_common_patterns.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,10 @@
<command tool="gh">gh pr checkout <pr_number_or_url></command>
</template>
</pattern>
<pattern name="watching_pr_checks">
<usage>After pushing changes, use this command to monitor the CI/CD pipeline in real-time.</usage>
<template>
<command tool="gh">gh pr checks --watch</command>
</template>
</pattern>
</common_patterns>
9 changes: 7 additions & 2 deletions .roo/rules-pr-fixer/4_tool_usage.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@
<tool>gh pr checks</tool>
<when>After getting comments, to check the technical status.</when>
<why>Quickly identifies if there are failing automated checks that need investigation.</why>
</priority>
</tool_priorities>
</priority>
<priority level="3">
<tool>gh pr checks --watch</tool>
<when>After pushing a fix, to confirm that the changes have resolved the CI/CD failures.</when>
<why>Provides real-time feedback on whether the fix was successful.</why>
</priority>
</tool_priorities>

<tool_specific_guidance>
<tool name="use_mcp_tool (github: get_pull_request)">
Expand Down
9 changes: 9 additions & 0 deletions .roo/rules-pr-fixer/5_examples.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,15 @@
</ask_followup_question>
</tool_use>
</step>
<step number="6">
<description>After pushing the changes, watch the PR checks to confirm the fix.</description>
<tool_use>
<execute_command>
<command>gh pr checks --watch</command>
</execute_command>
</tool_use>
<analysis>Confirm that all checks are passing after the fix.</analysis>
</step>
</workflow>

<key_takeaways>
Expand Down
Loading