任务转 GitHub Issue
speckit-taskstoissues
基于现有设计工件,将已有任务转换为可执行、按依赖顺序排列的 GitHub issue。
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- speckit-taskstoissues
- metadata
- { "author": "github-spec-kit", "source": "templates/commands/taskstoissues.md" }
- description
- Convert existing tasks into actionable, dependency-ordered GitHub issues for the feature based on available design artifacts.
- compatibility
- Requires spec-kit project structure with .specify/ directory
02 资源文件 14
- 参考文档agents/openai.yaml415 B
- 参考文档evals/crossframe-notebook-smoke-tests.md3.1 KB
- 参考文档examples/article-excerpt-note.md2.1 KB
- 参考文档examples/book-theory-note.md2.3 KB
- 参考文档examples/failure-samples.md1.4 KB
- 参考文档examples/public-theory-note.md2.3 KB
- 参考文档protocols/bidirectional-reading-protocol.md2.2 KB
- 参考文档protocols/notebook-reading-protocol.md2.5 KB
- 参考文档protocols/source-integrity-protocol.md1.7 KB
- 参考文档references/absorption-taxonomy.md2.3 KB
- 参考文档references/notebook-quality-gates.md1.3 KB
- 参考文档references/source-boundary-rules.md1.2 KB
- 参考文档templates/research-notebook.md1.6 KB
- 参考文档templates/source-ledger.md466 B
03 SKILL.md 正文
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.ymlexists in the project root. - If it exists, read it and look for entries under the
hooks.before_taskstoissueskey - If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
- Filter out hooks where
enabledis explicitlyfalse. Treat hooks without anenabledfield as enabled by default. - For each remaining hook, do not attempt to interpret or evaluate hook
conditionexpressions:- If the hook has no
conditionfield, 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
- If the hook has no
- For each executable hook, output the following based on its
optionalflag:- 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.
- Optional hook (
- If no hooks are registered or
.specify/extensions.ymldoes not exist, skip silently
Outline
- Run
.specify/scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasksfrom 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"). - From the executed script, extract the path to tasks.
- 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
- 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.
[!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_taskstoissueskey - If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
- Filter out hooks where
enabledis explicitlyfalse. Treat hooks without anenabledfield as enabled by default. - For each remaining hook, do not attempt to interpret or evaluate hook
conditionexpressions:- If the hook has no
conditionfield, 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
- If the hook has no
- For each executable hook, output the following based on its
optionalflag:- 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}
- Optional hook (
- If no hooks are registered or
.specify/extensions.ymldoes not exist, skip silently
04 同仓库更多 Skills
Speckit 任务转 Issue
speckit-taskstoissues
speckit.taskstoissues:使用 speckit 将任务清单转换为问题跟踪 Issue
Speckit 任务分解
speckit-tasks
speckit.tasks:使用 speckit 将计划分解为可执行任务清单
Speckit 功能规格说明
speckit-specify
speckit.specify:使用 speckit 编写功能规格说明
Speckit 实现方案规划
speckit-plan
speckit.plan:使用 speckit 制定实现方案与技术计划
Speckit 代码实现
speckit-implement
speckit.implement:使用 speckit 根据规格说明与计划执行代码实现
Speckit Git 状态验证
speckit-git-validate
speckit.git.validate:使用 speckit 校验 Git 仓库状态与配置