_archive/skills-deprecated/mp-gh-issue-execute/SKILL.md
Execute GitHub issue scope (bug, task, or feature): investigate, plan, implement, review, run frontend verification when needed, and resolve findings. Use when: "execute issue #N", "implement issue", "work on issue"
npx skillsauth add MartinoPolo/mpx-claude-code mp-gh-issue-executeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Execute GitHub issue work with neutral language across issue types (bug, task, feature).
GitHub MCP allowed for this skill.
/mp-gh-issue-execute <issue-url>
/mp-gh-issue-execute https://github.com/owner/repo/issues/123
/mp-gh-issue-execute 123
/mp-gh-issue-execute owner/repo#123
Use gh CLI to fetch complete issue context:
gh issue view <number> --repo owner/repo --json title,body,labels,comments,state,assignees,author,url
Extract and normalize:
If issue not found/auth fails, report and stop.
Spawn one sub-agent to keep context intact for discovery + analysis + planning:
Task tool:
subagent_type: "mp-issue-analyzer"
model: opus
description: "Explore, analyze, and plan issue #N"
prompt: |
You own end-to-end pre-execution analysis for GitHub issue #N.
Keep exploration, analysis, and planning in one pass to preserve context.
## Issue Data
[Include fetched issue JSON summary and key comments]
## Required Output (all sections required)
1) Issue Summary
- objective
- issue type classification (bug/task/feature) with rationale
- assumptions + open questions
2) Exploration Findings
- affected files (ranked) with brief why
- symbols/flows likely touched
- existing tests and coverage gaps
3) Execution Plan (complete)
- ordered implementation steps
- files/symbols to change per step
- risk notes and rollback strategy
- confidence level
4) Validation Plan
- automated checks to run (lint/typecheck/build/tests)
- targeted tests
- manual testing scenarios
- pages/routes/screens to visit for manual verification (if UI involved)
5) Executor Handoff
- concise summary to pass directly to mp-executor
This sub-agent must return the complete plan and all required sections.
If no blocking ambiguity: proceed automatically to Step 4.
If ambiguity exists (conflicting requirements, low confidence, missing acceptance criteria), ask user focused questions and include full plan before questions:
AskUserQuestion:
header: "Clarify"
question: "Plan prepared below. One or more items need clarification before execution."
options:
- label: "Use default assumptions"
description: "Proceed now using stated assumptions"
recommended: true
- label: "Answer questions first"
description: "Provide clarifications, then execute"
- label: "Stop"
description: "Do not execute"
Question body must include:
First, if issue involves external library behavior, spawn mp-context7-docs-fetcher and pass docs into execution context.
Then spawn mp-executor with full handoff:
After executor finishes, run this sequence:
git diff --name-only plus staged/unstaged summary):mp-reviewer-code-quality, mp-reviewer-best-practices, mp-reviewer-spec-alignment, mp-checkermp-executor in fix mode with explicit scoped tasks from findings and failed checksAGENTS.md/issue contextbash $HOME/.claude/skills/mp-gh-issue-execute/scripts/detect-project-scripts.sh . -c frontendpackage.json scripts manually for dev/start/preview commandsmp-chrome-devtools-testerFAIL, run mp-executor in fix mode with explicit scoped tasks from tester failures, then re-run testergit status + git diff --stat to review changesgit log --oneline -5 to match repo commit stylegit add <specific-files> — prefer specific files, avoid sensitive files (.env, credentials)git commit -m "type(scope): description (refs #N)" — conventional commit referencing issue (e.g., feat(scope): implement X (refs #N) or fix(scope): resolve Y (refs #N))--amend, imperative mood, subject under 72 charsReturn concise execution report:
Mode: issue-execute
Source: [issue url/#]
Issue Type: [bug|task|feature]
Completed:
- [implemented item]
Unresolved:
- [item] — [reason]
Checks:
- typecheck: pass/fail
- lint: pass/fail
- build: pass/fail
- tests: pass/fail
Review:
- code-quality: pass/fail
- best-practices: pass/fail
- spec-alignment: pass/fail
Manual Test:
- pages/routes visited: [...]
- scenarios verified: [...]
If blocker persists (unclear scope, failing checks after retries, missing environment, repeated resolver failures):
development
Audit all active skills for consistency, convention drift, and common issues. Auto-fixes where possible, reports remaining issues. Use when: "audit skills", "skill audit", "check skills", "lint skills"
testing
Ship finished work: sync base, commit, push, PR, wait for CI green, merge. Use when: "ship it", "ship and merge", "ship this"
development
Scan recent Claude Code sessions for grilling/design discussions, extract decisions, and update CONTEXT.md + DECISIONS.md. Use when: "harvest decisions", "extract decisions from sessions", "update docs from sessions", "sync decisions"
tools
Consolidate CONTEXT.md: remove duplicates, outdated items, tighten language. Use when: "consolidate context", "clean up context", "simplify context", "consolidate requirements"