fix(taskstoissues): skip tasks that already have a GitHub issue
Fixes #2968
Re-running /speckit-taskstoissues created a duplicate issue for every task because the command never checked whether an issue already existed.
This adds a dedup step before issue creation: it lists the repo's issues (state all, so closed ones count too) via the GitHub MCP server, pulls the task IDs already present in issue titles, and skips any task that already has a matching issue. New issue titles are prefixed with the task ID (e.g. T001:) so they can be matched on later runs. list_issues is added to the command's MCP tools for the read.
Single template change, no behavior change on a first run — only re-runs are affected.
This PR was authored with AI assistance (Claude Code), reviewed by me.
Please address Copilot feedback
Please address Copilot feedback
Please address Copilot feedback
Thank you!