Issue Solving Workflow
When to use
Use when the user wants to solve or continue a GitHub issue end-to-end, including short current-repo prompts like solve #123, direct GitHub issue URLs, or requests like lets work on https://github.com/owner/repo/issues/123.
Typical triggers:
Treat GitHub issue URLs as interchangeable with #123 references for verbs like solve, fix, implement, continue, finish, or work on. A direct GitHub issue URL can serve as the main request payload when no competing intent is stated.
When not to use
- Request is only issue drafting/authoring
- No implementation changes expected
- Repository write operations are disallowed
Required inputs
Collect before execution:
- issue URL or
owner/repo#number
- repository and branch/worktree decision
- acceptance criteria and out-of-scope constraints
- required validation commands for the target repository
Optional:
- related issues/PRs
- risk areas to prioritize
- requested commit/PR granularity
Instructions
Ask whether to use a dedicated git worktree
- Ask this before any other workflow questions.
- If yes, use/create the worktree and continue there.
Confirm issue context and success criteria
- Read the issue body, labels, and linked discussions once, then reuse that context instead of refetching.
- Restate the implementable scope and explicitly list out-of-scope items.
Confirm assignee intent for issue closure work
- Check whether the current user is assigned to the primary issue.
- If the current user is not assigned, ask whether they want to assign themselves before continuing.
- For each sub-issue that will be resolved or closed by this workflow, check assignee status once and reuse the result for closure decisions.
- If the current user is not assigned on a sub-issue, ask whether they want to assign themselves before resolving/closing it.
Apply low-token GitHub strategy
- Prefer MCP-backed tools over ad hoc
gh api or GraphQL calls when equivalent tools exist.
- Avoid duplicate lookups for labels, issue types, and duplicate detection.
- Cache per-run context (issue metadata, duplicate matches, issue-type support, label sets, assignee candidates) and reuse it — do not re-fetch data that was already retrieved in this session.
- When delegating to
fusion-issue-authoring or its subordinate skills, the orchestrator's session-cache rules apply: labels and assignee candidates are fetched once per repository, issue types once per organization.
- Use GraphQL fallback only when MCP coverage is unavailable and do not loop retries.
- GraphQL mutations cost 5 secondary-limit points each (vs 1 for queries); batch fields into single calls and pause at least 1 second between mutation calls.
- Budget awareness: a typical implementation session (read issue + duplicate check + 1–2 mutations + sub-issue links) should stay under ~20 MCP read calls and ~5 mutations. If the running total approaches 30+ calls, pause optional enrichment and proceed with local work.
- Respect
retry-after and x-ratelimit-reset headers; do not retry before the indicated wait.
- If rate limits are hit, stop non-essential operations and continue with local implementation/PR preparation when possible.
Build and track a concrete plan
- Create actionable todos ordered by dependencies.
- Keep exactly one step in progress and update status as work completes.
Research before edits
- Inspect relevant files, tests, and adjacent usage.
- Prefer root-cause fixes over surface patches.
Implement in small scoped changes
- Keep each change aligned to issue acceptance criteria.
- Avoid unrelated refactors and generated release artifacts.
Validate incrementally
- Run targeted checks first, then required project checks.
- If checks fail, fix relevant issues and re-run before proceeding.
Prepare PR-ready output
- Summarize what changed and why.
- Include validation evidence and known follow-ups.
- Draft the PR body in a
.tmp/ file with an issue/context-specific name (for example, .tmp/pr-body-issue-123-scope-summary.md), not a shared .tmp/pr-body.md.
- Base the draft on
.github/pull_request_template.md and keep it updated as implementation evolves.
- Ask which base branch to target and propose a likely default (typically
main, or the branch the current branch was cut from).
- Ask whether the PR should be opened as draft or ready for review.
- Ask whether the PR should be assigned to the user and whether related issues should be linked.
Optional GitHub mutation steps
- Before any GitHub mutation (create/edit/comment/close), ask for explicit user confirmation.
- If requested, update issue status/comments with objective progress.
- Prefer MCP tool mutations over ad hoc API calls when equivalent operations exist.
- If GitHub API rate limits block mutation, report the failure clearly, stop retry loops, and propose a safe retry sequence.
- If requested, create or update the PR using the repository PR template and the
.tmp/ PR body draft file, using the confirmed base branch, draft/ready state, assignee choice, and related issue links.
Expected output
Return a concise delivery report with:
- implemented scope vs original issue criteria,
- files changed,
- validation commands and outcomes,
- assignment decisions for primary issue and affected sub-issues,
- API usage strategy used (MCP-first/cache reuse/fallbacks),
- open risks/blockers,
- PR body summary (or
.tmp/ draft file path when created).
Assets
- assets/issue-solving-checklist.md
Safety & constraints
- This skill is mutation-capable. Repository-local workflow instructions take precedence over inline guidance when they conflict.
- Never request or expose secrets/credentials.
- Never run destructive commands without explicit confirmation.
- Keep changes minimal and scoped to the issue.
- Do not claim checks passed without running them.
- Follow repository instructions and contribution rules.
1---2name: fusion-issue-solving3description: Handles GitHub issue resolution end-to-end for prompts like "solve #123", "lets solve #123", "work on #123", "work on https://github.com/owner/repo/issues/123", or by pasting a direct GitHub issue URL as the request. USE FOR: solve #123, continue work on issue #123, work on https://github.com/owner/repo/issues/123, paste a GitHub issue URL for implementation work. DO NOT USE FOR: issue drafting only, PR review only, or non-implementation research.4license: MIT5---67# Issue Solving Workflow89## When to use1011Use when the user wants to solve or continue a GitHub issue end-to-end, including short current-repo prompts like `solve #123`, direct GitHub issue URLs, or requests like `lets work on https://github.com/owner/repo/issues/123`.1213Typical triggers:14- "lets solve #123"15- "solve #123"16- "work on #123"17- "lets work on https://github.com/owner/repo/issues/123"18- "https://github.com/owner/repo/issues/123"19- "continue work on issue #123"20- "implement issue #123 end-to-end"21- "work on this ticket: [issue URL]"22- "research, implement, and prepare a PR for this issue"2324Treat GitHub issue URLs as interchangeable with `#123` references for verbs like `solve`, `fix`, `implement`, `continue`, `finish`, or `work on`. A direct GitHub issue URL can serve as the main request payload when no competing intent is stated.2526## When not to use2728- Request is only issue drafting/authoring29- No implementation changes expected30- Repository write operations are disallowed3132## Required inputs3334Collect before execution:35- issue URL or `owner/repo#number`36- repository and branch/worktree decision37- acceptance criteria and out-of-scope constraints38- required validation commands for the target repository3940Optional:41- related issues/PRs42- risk areas to prioritize43- requested commit/PR granularity4445## Instructions46471. Ask whether to use a dedicated git worktree48 - Ask this before any other workflow questions.49 - If yes, use/create the worktree and continue there.50512. Confirm issue context and success criteria52 - Read the issue body, labels, and linked discussions once, then reuse that context instead of refetching.53 - Restate the implementable scope and explicitly list out-of-scope items.54553. Confirm assignee intent for issue closure work56 - Check whether the current user is assigned to the primary issue.57 - If the current user is not assigned, ask whether they want to assign themselves before continuing.58 - For each sub-issue that will be resolved or closed by this workflow, check assignee status once and reuse the result for closure decisions.59 - If the current user is not assigned on a sub-issue, ask whether they want to assign themselves before resolving/closing it.60614. Apply low-token GitHub strategy62 - Prefer MCP-backed tools over ad hoc `gh api` or GraphQL calls when equivalent tools exist.63 - Avoid duplicate lookups for labels, issue types, and duplicate detection.64 - Cache per-run context (issue metadata, duplicate matches, issue-type support, label sets, assignee candidates) and reuse it — do not re-fetch data that was already retrieved in this session.65 - When delegating to `fusion-issue-authoring` or its subordinate skills, the orchestrator's session-cache rules apply: labels and assignee candidates are fetched once per repository, issue types once per organization.66 - Use GraphQL fallback only when MCP coverage is unavailable and do not loop retries.67 - GraphQL mutations cost 5 secondary-limit points each (vs 1 for queries); batch fields into single calls and pause at least 1 second between mutation calls.68 - Budget awareness: a typical implementation session (read issue + duplicate check + 1–2 mutations + sub-issue links) should stay under ~20 MCP read calls and ~5 mutations. If the running total approaches 30+ calls, pause optional enrichment and proceed with local work.69 - Respect `retry-after` and `x-ratelimit-reset` headers; do not retry before the indicated wait.70 - If rate limits are hit, stop non-essential operations and continue with local implementation/PR preparation when possible.71725. Build and track a concrete plan73 - Create actionable todos ordered by dependencies.74 - Keep exactly one step in progress and update status as work completes.75766. Research before edits77 - Inspect relevant files, tests, and adjacent usage.78 - Prefer root-cause fixes over surface patches.79807. Implement in small scoped changes81 - Keep each change aligned to issue acceptance criteria.82 - Avoid unrelated refactors and generated release artifacts.83848. Validate incrementally85 - Run targeted checks first, then required project checks.86 - If checks fail, fix relevant issues and re-run before proceeding.87889. Prepare PR-ready output89 - Summarize what changed and why.90 - Include validation evidence and known follow-ups.91 - Draft the PR body in a `.tmp/` file with an issue/context-specific name (for example, `.tmp/pr-body-issue-123-scope-summary.md`), not a shared `.tmp/pr-body.md`.92 - Base the draft on `.github/pull_request_template.md` and keep it updated as implementation evolves.93 - Ask which base branch to target and propose a likely default (typically `main`, or the branch the current branch was cut from).94 - Ask whether the PR should be opened as draft or ready for review.95 - Ask whether the PR should be assigned to the user and whether related issues should be linked.969710. Optional GitHub mutation steps98 - Before any GitHub mutation (create/edit/comment/close), ask for explicit user confirmation.99 - If requested, update issue status/comments with objective progress.100 - Prefer MCP tool mutations over ad hoc API calls when equivalent operations exist.101 - If GitHub API rate limits block mutation, report the failure clearly, stop retry loops, and propose a safe retry sequence.102 - If requested, create or update the PR using the repository PR template and the `.tmp/` PR body draft file, using the confirmed base branch, draft/ready state, assignee choice, and related issue links.103104## Expected output105106Return a concise delivery report with:107- implemented scope vs original issue criteria,108- files changed,109- validation commands and outcomes,110- assignment decisions for primary issue and affected sub-issues,111- API usage strategy used (MCP-first/cache reuse/fallbacks),112- open risks/blockers,113- PR body summary (or `.tmp/` draft file path when created).114115## Assets116117- [assets/issue-solving-checklist.md](assets/issue-solving-checklist.md)118119## Safety & constraints120121- This skill is mutation-capable. Repository-local workflow instructions take precedence over inline guidance when they conflict.122- Never request or expose secrets/credentials.123- Never run destructive commands without explicit confirmation.124- Keep changes minimal and scoped to the issue.125- Do not claim checks passed without running them.126- Follow repository instructions and contribution rules.