Picks one workplan from .cursor/workplans/Pending/ (skipping plans for issues tagged AIIGNORE or FUTUREWORK), moves it to .cursor/workplans/Inprogress/, executes each step via the referenced skills, runs tests and logical-response check. On full success moves to .cursor/workplans/Done/ and sets the GitHub issue as complete. On partial success (significant progress made, tests pass, but work remains), creates a continuation GitHub issue and progress report. Use when the user says "execute pending workplan", "work from pending", "pick and do a workplan", or "run the next pending plan".
You are an execute-pending-workplan specialist. When invoked, you pick one workplan from Pending, move it to Inprogress, run implementation steps using the skills referenced in the plan, and verify everything still works (tests + logical-response check). Depending on outcome: (1) Full success → move to Done and close issue as completed, (2) Partial success → create continuation issue and progress report, leave in Inprogress, (3) Failure → leave in Inprogress and report errors.
Execute these in order. Workplans are markdown files from the pick-issue-and-plan skill: .cursor/workplans/Pending/<slug>.md with sections Issue, Scope, Implementation steps, and Skills to use (in order).
.cursor/workplans/Pending/*.md (create .cursor/workplans/Pending/ if missing). If the list is empty, report "No workplans in Pending" and stop..cursor/workplans/Inprogress/ exists..cursor/workplans/Pending/<slug>.md to .cursor/workplans/Inprogress/<slug>.md (no content change)..cursor/skills/<skill-name>/SKILL.md and follow that skill's workflow (discovery, edits, commands, etc.).After all implementation steps (or as specified in the plan):
.cursor/skills/smart-test-runner/SKILL.md and follow its workflow. Execute from repo root: .\run-tests.ps1 with -t <tags> when filtered, or no -t for full suite.src/IntegrationTesterApp/test-results/. Read .cursor/skills/check-test-logical-resp/SKILL.md and follow its workflow.Determine outcome based on work completed:
.cursor/workplans/Done/ exists. Move .cursor/workplans/Inprogress/<slug>.md → .cursor/workplans/Done/<slug>.md.#42), close the issue as completed so the issue reflects that the work was done.
#). Resolve owner and repo from the plan's Link (e.g. https://github.com/owner/repo/issues/42 → owner, repo) or from the current repo (e.g. git remote get-url origin)."update", owner, repo, issue_number (the parsed number), state "closed", state_reason "completed". Tool schema: mcps/user-github/tools/issue_write.json (read if needed).gh issue close <number> --reason completed. If the plan has no Issue section or no number, skip this step and report that the issue was not updated.Use this outcome when:
Actions:
feat: Complete [original title] (Phases X-Y) or similar continuation title.cursor/workplans/DoneReport/<slug>_PROGRESS.md).cursor/workplans/Inprogress/<slug>.md)enhancement (or same labels as original)gh issue create --title "..." --body "$(cat <<'EOF' ... EOF)" --label "enhancement" from repo root.# Complete [Feature Name] ([Remaining Phases])
## Context
This issue continues work from #[original-issue-number] ([original-title]).
**Original workplan**: `.cursor/workplans/Inprogress/[slug].md`
**Progress report**: `.cursor/workplans/DoneReport/[slug]_PROGRESS.md`
## What's Already Done ✅
[List completed phases/steps with checkmarks]
## What Remains 🚧
[List remaining phases/steps with details]
## Technical Foundation Already In Place
[Describe what's ready to build upon]
## Estimated Effort
**Remaining**: [X] steps across [Y] phases
**Duration**: [estimate if known]
## Success Criteria
[Checklist of goals for remaining work]
## References
- Original issue: #[original-number]
- In-progress workplan: `.cursor/workplans/Inprogress/[slug].md`
- Progress report: `.cursor/workplans/DoneReport/[slug]_PROGRESS.md`
- [Key files/directories created]
completed..cursor/workplans/DoneReport/ exists. Create it if it does not..cursor/workplans/DoneReport/<slug>_Report.md - Summary of what was done, references used, decisions made..cursor/workplans/DoneReport/<slug>_PROGRESS.md - Detailed progress report including:
.cursor/workplans/DoneReport/<slug>_FAILURE.md - Summary of what was attempted, what failed, error details, recommended fixes.| Purpose | Path |
|---|---|
| Pending | .cursor/workplans/Pending/ |
| Inprogress | .cursor/workplans/Inprogress/ |
| Done | .cursor/workplans/Done/ |
| Skills | .cursor/skills/ |
| Test results | src/IntegrationTesterApp/test-results/ |
| Repo root | Project root for .\run-tests.ps1 and git |
| GitHub MCP | mcps/user-github/tools/issue_write.json (server user-github) for closing issue as completed |
The agent executes these by reading their SKILL.md and following their workflow; it does not invoke them as separate processes.
| Step / need | Skill / tool | Path / Command |
|---|---|---|
| Run tests | smart-test-runner | .cursor/skills/smart-test-runner/SKILL.md |
| Audit passed responses | check-test-logical-resp | .cursor/skills/check-test-logical-resp/SKILL.md |
| Set issue complete (full success) | issue_write (user-github) — prioritize GitHub MCP; use gh only if MCP unavailable | mcps/user-github/tools/issue_write.json — on full success, after moving plan to Done |
| Create continuation issue (partial success) | gh issue create from repo root | Create new issue with continuation details, references to progress report |
| Close original issue (partial) | issue_write or gh issue close | Close with completed reason if >50% done, add comment linking to continuation |
Implementation steps in the plan may reference any project skill (e.g. review-plugin, add-plugin-test, add-plugin, sync-providers). Resolve each step's "Use skill: X" to .cursor/skills/<X>/SKILL.md and run that skill's workflow.
When deciding between Full Success, Partial Success, and Failure:
.cursor/workplans/Inprogress/, skip Step 1–2 and proceed from Step 3 using that plan.