name: issue-workflow description: Work on a GitHub issue by number for wp-media/wp-rocket. Fetches the issue and hands control to the orchestrator skill (running inline in this conversation), which manages grooming, spec review, implementation, lead review, CI, and QA end-to-end.
Issue Workflow
Repository: wp-media/wp-rocket
When the user asks to work on an issue by number, such as:
/task 123issue 123#123
follow this workflow. The orchestrator runs inline in this conversation — read the user's opening message before kicking it off, since it uses that for escalation calibration (high autonomy / standard / high oversight).
Tooling — Prefer MCPs, Fall Back to Shell
| Operation | Preferred (MCP) | Fallback |
|---|---|---|
| Issue fetch | mcp_github_github_issue_read |
issue-sync.sh <N> → read .TemporaryItems/…/<N>.md |
| Branch creation | mcp_gitkraken_git_branch + mcp_gitkraken_git_checkout |
make-issue-branch.sh |
| Staging & committing | mcp_gitkraken_git_add_or_commit |
git add / git commit |
| Pushing | mcp_gitkraken_git_push |
git push |
| PR creation | mcp_github_github_create_pull_request |
gh pr create |
| CI monitoring | mcp_github_github_pull_request_read (method: get_check_runs) |
Ask user to check GitHub Actions |
Steps
Extract the issue number from the user's message.
Fetch the issue — run
bash .aiassistant/skills/issue-workflow/scripts/issue-sync.sh <N>(or use the MCP equivalent). Read the resulting file at.TemporaryItems/Issues/wp-rocket/issues/<N>.md.Check for parent epics — if
Parent Epic (GitHub)orParent Epics (Task List)has entries, sync each parent withissue-sync.sh <epic-N>and read those files for context.Check if this is an Epic — if the issue has label
epics, Issue TypeEPIC, or has sub-issues listed, ask the user: "Work the epic as a whole, or a specific sub-issue?" If a sub-issue is chosen, sync it and proceed with the epic context in mind.Determine base branch — default is
origin/developunless the user specified otherwise.Invoke the
orchestratorskill inline (do not spawn it as a sub-agent — it runs in this conversation context so it can read the user's intent for escalation calibration):Inputs: issue number
N, issue file.TemporaryItems/Issues/wp-rocket/issues/<N>.md, base branch
The orchestrator skill manages everything from here: calibration → grooming → spec review → dispatch → implementation → lead review → push & PR → CI → QA → finalize. It spawns the specialist agents (grooming-agent, challenger, backend-agent, frontend-agent, release-agent, lead-reviewer, ci-agent, qa-engineer, ticket-writer) as isolated sub-agents, but the orchestrator itself stays inline so it can surface decisions back to the user naturally.
Monitor progress at .TemporaryItems/Issues/wp-rocket/issue-<N>-workflow-log.html.