Skip to content

Commit fceaa50

Browse files
committed
feat: update endgame verification prompt with detailed task research and verification file guidelines
1 parent ac5d9cc commit fceaa50

1 file changed

Lines changed: 58 additions & 27 deletions

File tree

.github/prompts/endgame.prompt.md

Lines changed: 58 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -66,43 +66,74 @@ Your workflow is ONLY:
6666
YOU (the subagent) must research this task AND create the verification file.
6767

6868
### Step 1: Research the Task
69-
- If there's a linked PR/issue, fetch it using `gh pr view` or `gh issue view`
69+
- If there is a linked PR/issue, fetch it using `gh pr view` or `gh issue view`
7070
- Understand what feature/fix needs to be verified
71-
- Identify the affected areas of the codebase
71+
- **If anything is ambiguous or unclear after reading the PR/issue, ask the user
72+
for clarification before proceeding. Keep asking until you have enough
73+
information to write concrete, accurate test steps.**
7274

7375
### Step 2: Create Verification File (YOU must create this file)
7476
Create the file: `.github/endgame/<issue_number>/<N>_<task_slug>.md`
7577

76-
Use this format:
78+
Use **exactly** this format (modelled on the project test-plan style under
79+
`com.microsoft.copilot.eclipse.swtbot.test/test-plans/`):
7780

78-
### Task: <Task Title>
79-
**Assignee:** <Name>
80-
**Issue/PR:** <Link>
81+
```markdown
82+
# <Feature / Task Title>
8183

82-
#### Context
83-
[Brief description of what this task involves]
84+
## Overview
85+
<1-3 sentences: what is being verified and why it matters.>
8486

85-
#### Prerequisites
86-
- [ ] [Any setup needed before testing]
87+
Entry points:
88+
- <Primary UI/menu path to reach the feature>
8789

88-
#### Steps to Verify
89-
1. [ ] [Detailed step 1]
90-
2. [ ] [Detailed step 2]
91-
3. [ ] [Detailed step 3]
90+
Not exercised:
91+
- <Known out-of-scope items, or omit this block if none>
9292

93-
#### Expected Results
94-
- [Expected outcome 1]
95-
- [Expected outcome 2]
93+
---
94+
95+
## Prerequisites
96+
97+
- Eclipse IDE with the GitHub Copilot for Eclipse plugin installed and activated.
98+
- <Additional prerequisite specific to this feature>
99+
100+
---
101+
102+
## 1. <Scenario group name, e.g. "Happy-path verification">
103+
104+
### TC-001: <Specific test case title>
96105

97-
#### Edge Cases to Test
98-
- [Edge case 1]
99-
- [Edge case 2]
106+
**Type:** `Happy Path`
107+
**Priority:** `P0`
108+
109+
#### Preconditions
110+
- <Specific state required before starting these steps>
111+
112+
#### Steps
113+
1. <Detailed, concrete step>
114+
2. <Next step>
115+
3. <Continue as needed>
116+
117+
#### Expected Result
118+
- <Observable outcome that proves the feature works>
119+
- <Second outcome if needed>
120+
121+
#### Key Screenshots
122+
- [ ] **<Label>** -- <What to capture in this screenshot>
123+
124+
#### Notes on failure modes
125+
- <Common failure symptom> -- <Likely cause and where to look>
126+
```
100127

101-
#### Status
102-
- [ ] Not Started
103-
- [ ] In Progress
104-
- [ ] Completed
105-
- [ ] Blocked (reason: ___)
128+
Guidelines for filling in the template:
129+
- **Overview**: 1-3 sentences max. Do not repeat what is already covered by
130+
Prerequisites or the Steps.
131+
- **Type** values: `Happy Path`, `Negative`, `Edge Case`, `Regression`.
132+
- **Priority** values: `P0` (must-pass), `P1` (high), `P2` (medium).
133+
- Add additional `### TC-NNN` blocks (3-digit zero-padded: TC-002, TC-003, …) if multiple distinct scenarios are needed.
134+
- Omit `#### Notes on failure modes` if there are no obvious failure modes to call out.
135+
- If you are still unsure about any step after researching, **ask the user**
136+
before writing that step -- do not guess.
106137

107138
### Step 3: Return Summary
108139
Return ONLY:
@@ -113,7 +144,7 @@ Your workflow is ONLY:
113144
7. **After all subagents complete**, provide:
114145
- Summary table of all generated verification files
115146
- Total tasks processed
116-
- Any tasks that couldn't be processed (with reasons)
147+
- Any tasks that could not be processed (with reasons)
117148

118149
---
119150

@@ -123,5 +154,5 @@ Your workflow is ONLY:
123154
- **NEVER analyze or research tasks yourself** - immediately delegate to subagents
124155
- Each subagent runs independently
125156
- Subagents should be concise - create the file and return a brief summary
126-
- If a task is unclear, the subagent should note this in the verification file
157+
- If a task is unclear after asking the user, note the outstanding question in the verification file
127158
- Use slugified task titles for filenames (lowercase, hyphens, no special chars)

0 commit comments

Comments
 (0)