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
Copy file name to clipboardExpand all lines: .gemini/skills/jules-pr-manager/SKILL.md
+23-15Lines changed: 23 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
name: Jules PR Manager
3
3
description: Manage Google Jules PR lifecycle - batch investigation, reverse-order processing, and tiered decision presentation.
4
-
version: 2.0.0
4
+
version: 2.1.0
5
5
---
6
6
7
7
# Jules PR Manager
@@ -12,14 +12,15 @@ version: 2.0.0
12
12
13
13
This skill orchestrates a **Batch-Analyze-Present-Execute** loop. It strictly prioritizes **finishing work** (merging) before **starting work** (vetting) and aggregates trivial decisions to minimize user round-trips.
14
14
15
-
**Core Principle**: **Investigate ALL PRs in one turn.** Log their state, collect decisions, and present them in a tiered manner (Merge -> Vetting -> Trivial Batch).
15
+
**Core Principle**: **Investigate ALL PRs in one turn.** Log their state, collect decisions, and present them in a tiered manner (Merge -> Vetting -> Trivial Batch). Always fetch PR activity using `gh pr view <ID> --json reviews,comments,commits` to ensure a high-fidelity understanding of the current state before presenting decisions. Vetting requests MUST be presented **one at a time** for focused consideration. Always include `@jules` in review comments to Jules for better context.
16
16
17
17
## State Machine (Reverse Order)
18
18
19
19
Process PRs in this order (Closest to Merge first):
20
20
21
21
### 1. Merge Candidates (The Exit)
22
22
23
+
-**Definition**: PRs that have already been vetted and are now ready for a final merge decision.
23
24
-**State**: `copilot-review` (Approved) or `changes-requested` (Resolved).
24
25
-**Conditions**:
25
26
-**Ready to Merge**: Copilot Approved AND CI Passed AND No Conflicts.
@@ -47,6 +48,7 @@ Process PRs in this order (Closest to Merge first):
47
48
48
49
### 4. New PRs (Unvetted / No Labels)
49
50
51
+
-**Definition**: PRs that have just been created and require an initial assessment of whether the work is worth doing.
50
52
-**Conditions**: Missing `jules:vetted`.
51
53
-**Logic**:
52
54
1.**Duplicate Detection**:
@@ -55,8 +57,8 @@ Process PRs in this order (Closest to Merge first):
55
57
-**Merge Changes**: If losers have good parts, post review on Keeper requesting them.
-**DO NOT USE**: `gh pr comment` for instructing Jules. (Only use it for your own notes or if reposting Copilot comments _specifically_ as part of a review chain, but even then, a Review is preferred).
109
117
@@ -125,14 +133,14 @@ Present the collected decisions to the User in this **EXACT** order:
125
133
**Action**: Merge? (y/n/close)
126
134
```
127
135
128
-
### 2. Vetting Decision (Priority 2)
136
+
### 2. Vetting Request (Priority 2)
129
137
130
138
```markdown
131
-
## 🛡️ Vetting Request: PR #<ID>
139
+
## 🛡️ Initial Vetting: PR #<ID>
132
140
133
141
**Title**: <Title>
134
142
**Summary**: <Description>
135
-
**Worth it?**: <AgentOpinion>
143
+
**Worth it?**: <Detailed Agent Opinion: Why is this work valuable? What are the specific pros and cons? What is the architectural impact?>
0 commit comments