MCPInstall

speckit-taskstoissues

Convert existing tasks into actionable, dependency-ordered GitHub issues for the feature based on available design artifacts。适用于需要按 Spec Kit 工作流执行该步骤的场景(基于 GitHub Spec Kit 官方模板)。

Installs
65
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/full-stack-skills/speckit-skills --skill speckit-taskstoissues
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads speckit-taskstoissues automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

speckit-taskstoissues

本技能内容源自 GitHub Spec Kit 官方提示词模板。

  • 上游:https://github.com/github/spec-kit
  • 许可:MIT License, Copyright GitHub, Inc.(完整文本见同目录 LICENSE.txt)
  • 适配说明:官方模板面向斜杠命令场景;原文中的 $ARGUMENTS 指用户在对话中给出的请求, 跨命令引用(如 speckit.plan)在本技能体系中对应同名的 speckit-* 技能。 其余内容保持与上游一致,未作改写。

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Pre-Execution Checks

Check for extension hooks (before tasks-to-issues conversion):

  • Check if .specify/extensions.yml exists in the project root.
  • If it exists, read it and look for entries under the hooks.before_taskstoissues key
  • If the YAML cannot be parsed or is invalid, do not skip silently: tell the user that .specify/extensions.yml could not be read (include the parser error) and that no hooks were checked, including any mandatory (optional: false) hooks registered there, then continue normally
  • Filter out hooks where enabled is explicitly false. Treat hooks without an enabled field as enabled by default.
  • For each remaining hook, do not attempt to interpret or evaluate hook condition expressions:
    • If the hook has no condition field, or it is null/empty, treat the hook as executable
    • If the hook defines a non-empty condition, skip the hook and leave condition evaluation to the HookExecutor implementation
  • For each executable hook, output the following based on its optional flag:
    • Optional hook (optional: true):
      ## Extension Hooks
      
      **Optional Pre-Hook**: {extension}
      Command: `/{command}`
      Description: {description}
      
      Prompt: {prompt}
      To execute: `/{command}`
      
    • Mandatory hook (optional: false):
      ## Extension Hooks
      
      **Automatic Pre-Hook**: {extension}
      Executing: `/{command}`
      EXECUTE_COMMAND: {command}
      
      Wait for the result of the hook command before proceeding to the Outline.
      
      After emitting the block above you MUST actually invoke the hook and wait for it to finish before continuing. Run it the same way you would run the command yourself in this agent/session (the invocation may differ from the literal {command} id shown above, e.g. a skills-mode agent runs it as /skill:speckit-... or $speckit-...). Emitting the block alone does not run the hook.
  • If no hooks are registered or .specify/extensions.yml does not exist, skip silently

Outline

  1. Run {SCRIPT} from repo root and parse FEATURE_DIR and AVAILABLE_DOCS list. All paths must be absolute. For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'''m Groot' (or double-quote if possible: "I'm Groot").
  2. IF EXISTS: Load /memory/constitution.md for project principles and governance constraints.
  3. From the executed script, extract the path to tasks.
  4. Get the Git remote by running:
git config --get remote.origin.url

[!CAUTION] ONLY PROCEED TO NEXT STEPS IF THE REMOTE IS A GITHUB URL

  1. Fetch existing issues for deduplication: Before creating anything, build the set of task IDs you are about to process from tasks.md (each is a T followed by at least three digits, e.g. T001 — __SPECKIT_COMMAND_CONVERGE__ assigns new IDs with T{M+1:03d}, which is a floor rather than a cap, so once a file has more than 999 tasks the IDs are four digits or longer). Then use the GitHub MCP server's list_issues tool to look for issues that already cover those IDs. Do not pass a state value, since omitting it makes the tool return both open and closed issues. Request perPage: 100 to keep the number of calls down, and since the tool uses cursor-based pagination, request pages with the after parameter (using the endCursor from the previous response). For each issue title, match it against the task ID pattern \bT\d{3,}\b (the {3,} accepts four-digit and longer IDs — with \d{3} a title containing T1000 would not match at all, because the trailing \b cannot fall between two digits, so that task would be silently neither deduplicated nor created; word boundaries still stop a token like ST001 from matching, and force the whole digit run to be consumed so T100 can never match inside T1000; this also recognises titles written as T001 ..., T001: ... or [T001] ...) and, when it matches one of your task IDs, mark that ID as already having an issue. Stop paginating as soon as every task ID has been matched, or when there are no more pages, so you do not keep fetching the whole repository's issue history once all task IDs are accounted for. This bounds the number of calls on repos with large issue histories and still prevents duplicates when the command is re-run after tasks.md is regenerated or the skill is re-invoked.
  2. For each task in the list, use the GitHub MCP server to create a new issue in the repository that is representative of the Git remote. Task lines in tasks.md start with a markdown checkbox, so first strip the leading - [ ] (and any [P] / [US#] markers) to recover the task ID and its description. Create the issue with a single canonical title of the form T001: <description>, with the ID written once followed by the task description (for example, the line - [ ] T001 Create project structure becomes the title T001: Create project structure).
    • Skip any task whose ID is already present in the set of existing issues from the previous step, and report it (for example, T001 already has an issue, skipping).
    • Only create issues for tasks that do not yet have a matching issue.

[!CAUTION] UNDER NO CIRCUMSTANCES EVER CREATE ISSUES IN REPOSITORIES THAT DO NOT MATCH THE REMOTE URL

Post-Execution Checks

Check for extension hooks (after tasks-to-issues conversion): Check if .specify/extensions.yml exists in the project root.

  • If it exists, read it and look for entries under the hooks.after_taskstoissues key
  • If the YAML cannot be parsed or is invalid, do not skip silently: tell the user that .specify/extensions.yml could not be read (include the parser error) and that no hooks were checked, including any mandatory (optional: false) hooks registered there, then continue normally
  • Filter out hooks where enabled is explicitly false. Treat hooks without an enabled field as enabled by default.
  • For each remaining hook, do not attempt to interpret or evaluate hook condition expressions:
    • If the hook has no condition field, or it is null/empty, treat the hook as executable
    • If the hook defines a non-empty condition, skip the hook and leave condition evaluation to the HookExecutor implementation
  • For each executable hook, output the following based on its optional flag:
    • Optional hook (optional: true):
      ## Extension Hooks
      
      **Optional Hook**: {extension}
      Command: `/{command}`
      Description: {description}
      
      Prompt: {prompt}
      To execute: `/{command}`
      
    • Mandatory hook (optional: false):
      ## Extension Hooks
      
      **Automatic Hook**: {extension}
      Executing: `/{command}`
      EXECUTE_COMMAND: {command}
      
      After emitting the block above you MUST actually invoke the hook and wait for it to finish before continuing. Run it the same way you would run the command yourself in this agent/session (the invocation may differ from the literal {command} id shown above, e.g. a skills-mode agent runs it as /skill:speckit-... or $speckit-...). Emitting the block alone does not run the hook.
  • If no hooks are registered or .specify/extensions.yml does not exist, skip silently

FAQ

What does the speckit-taskstoissues skill do?

Convert existing tasks into actionable, dependency-ordered GitHub issues for the feature based on available design artifacts。适用于需要按 Spec Kit 工作流执行该步骤的场景(基于 GitHub Spec Kit 官方模板)。

How do I install speckit-taskstoissues?

Run npx skills add https://github.com/full-stack-skills/speckit-skills --skill speckit-taskstoissues in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/speckit-taskstoissues/ (personal) or .claude/skills/speckit-taskstoissues/ (project).

Which AI agents can use speckit-taskstoissues?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is speckit-taskstoissues safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains speckit-taskstoissues?

It is published by full-stack-skills in full-stack-skills/speckit-skills. It has 65 recorded installs.

More from full-stack-skills/speckit-skills

View all →

speckit-constitution

full-stack-skills/speckit-skills

Create or update the project constitution from interactive or provided principle inputs。适用于需要按 Spec Kit 工作流执行该步骤的场景(基于 GitHub Spec Kit 官方模板)。

speckit-clarify

full-stack-skills/speckit-skills

Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec。适用于需要按 Spec Kit 工作流执行该步骤的场景(基于 GitHub Spec Kit 官方模板)。

speckit-specify

full-stack-skills/speckit-skills

Create or update the feature specification from a natural language feature description。适用于需要按 Spec Kit 工作流执行该步骤的场景(基于 GitHub Spec Kit 官方模板)。

speckit-plan

full-stack-skills/speckit-skills

Execute the implementation planning workflow using the plan template to generate design artifacts。适用于需要按 Spec Kit 工作流执行该步骤的场景(基于 GitHub Spec Kit 官方模板)。

speckit-tasks

full-stack-skills/speckit-skills

Generate an actionable, dependency-ordered tasks.md for the feature based on available design artifacts。适用于需要按 Spec Kit 工作流执行该步骤的场景(基于 GitHub Spec Kit 官方模板)。

speckit-implement

full-stack-skills/speckit-skills

Execute the implementation plan by processing and executing all tasks defined in tasks.md。适用于需要按 Spec Kit 工作流执行该步骤的场景(基于 GitHub Spec Kit 官方模板)。

Popular code quality & workflow skills

View category →

grill-me

mattpocock/skills

A relentless interview to sharpen a plan or design.

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

handoff

mattpocock/skills

Compact the current conversation into a handoff document for another agent to pick up.

domain-modeling

mattpocock/skills

Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.

codebase-design

mattpocock/skills

Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

diagnosing-bugs

mattpocock/skills

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.