microsoft/endgame
Orchestrate endgame verification for a GitHub milestone issue. Fetches the issue, parses assigned tasks, delegates each task to a subagent that researches the linked PR/issue and writes a test plan, and saves every plan to com.microsoft.copilot.eclipse.swtbot.test/test-plans/ following the project's standard test-plan format.
npx skills add https://github.com/microsoft/copilot-for-eclipse --skill endgame
Use this skill to run an endgame verification pass for a GitHub milestone issue.
Each task in the issue is delegated to a subagent that researches the linked
PR/issue and writes a test plan under com.microsoft.copilot.eclipse.swtbot.test/test-plans/.
⚠️ CRITICAL — YOU MUST FOLLOW THESE RULES:
gh pr view or gh issue view for individual tasks — onlyrun it once for the main endgame issue.
runSubagent for each task after parsing the issue —no delays, no research.
Ask for:
(e.g. https://github.com/microsoft/copilot-for-eclipse/issues/XXXX)
gh issue view <issue_number> --repo microsoft/copilot-for-eclipse --json body --jq '.body'
Parse the body to find **all tasks (checkboxes) assigned to the specified
user**. Extract each task's title and any linked PR/issue URL as plain text.
STOP — do NOT fetch any of the linked PRs or issues.
For each task, call runSubagent with:
"Endgame: <short_task_title>"YOU (the subagent) must research this task AND create the test-plan file.
gh pr view / gh issue view.user for clarification before proceeding. Keep asking until you have enough
information to write concrete, accurate test steps.**
Determine a short <feature-slug> (lowercase, hyphens, no special chars)
derived from the task title (e.g. chat-history-restore).
Create the directory and file:
com.microsoft.copilot.eclipse.swtbot.test/test-plans/<feature-slug>/<feature-slug>.md
Use exactly this format, matching the project's existing test plans
(see com.microsoft.copilot.eclipse.swtbot.test/test-plans/thinking-persistence/thinking-persistence.md for a live
example):
# <Feature / Task Title>
## Overview
<1–3 sentences: what is being verified and why it matters.>
---
## Test Cases
### TC-001: <Specific test case title>
**Type:** `Happy Path`
**Priority:** `P0`
#### Preconditions
- <Specific state required before starting these steps>
#### Steps
1. <Detailed, concrete step>
2. <Next step>
3. <Continue as needed>
#### Expected Result
- <Observable outcome that proves the feature works>
#### 📸 Key Screenshots
- [ ] **<Label>** — <What to capture>
---
### TC-002: <Next scenario if needed>
<!-- Repeat TC block for each distinct scenario. Use TC-003, TC-004, … -->
---
## Screenshots Checklist
> Consolidated list of all key screenshot moments.
- [ ] `TC-001` <Label>
- [ ] `TC-002` <Label>
Guidelines:
Preconditions or Steps.
Happy Path, Negative, Edge Case, Regression.P0 (must-pass), P1 (high), P2 (medium).📸 Key Screenshots within a TC block if there are no meaningfulscreenshots to capture for that case.
## Screenshots Checklist section at the end — list everyscreenshot across all TC blocks.
before writing that step — do not guess.
Return ONLY:
com.microsoft.copilot.eclipse.swtbot.test/test-plans/chat-history-restore/chat-history-restore.md)After all subagents complete, provide:
gh pr view or gh issue view on task links yourself — onlyon the main endgame issue. Subagents handle the individual links.
subagents.
question inside the test-plan file.
(lowercase, hyphens, no special characters).
Take microsoft/endgame from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.