speckit-taskstoissues
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSpec Kit Tasks-to-Issues Skill
Spec Kit 任务转Issues技能
When to Use
使用场景
- You want to convert into GitHub issues in the same repository.
tasks.md
- 你需要将转换为同一仓库中的GitHub issues。
tasks.md
Inputs
输入项
specs/<feature>/tasks.md- The repository's Git remote URL
- Any user-provided issue labeling or grouping preferences
If tasks are missing, ask the user to run speckit-tasks first.
- 文件
specs/<feature>/tasks.md - 仓库的Git远程URL
- 用户提供的任何issue标签或分组偏好
如果缺少任务,请先让用户运行speckit-tasks。
Workflow
工作流程
- Run 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").
.specify/scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasks - From the executed script, extract the path to tasks.
- Get the Git remote by running:
bash
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, create a new issue in the repository that matches the Git remote.
- Prefer a GitHub issue-writing tool if available (e.g., MCP server or ).
gh issue create - Keep titles concise and include the task ID in the issue body for traceability.
- Prefer a GitHub issue-writing tool if available (e.g., MCP server or
[!CAUTION] UNDER NO CIRCUMSTANCES EVER CREATE ISSUES IN REPOSITORIES THAT DO NOT MATCH THE REMOTE URL
- 从仓库根目录运行,并解析FEATURE_DIR和AVAILABLE_DOCS列表。所有路径必须为绝对路径。对于参数中的单引号(如"I'm Groot"),请使用转义语法:例如'I'''m Groot'(或尽可能使用双引号:"I'm Groot")。
.specify/scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasks - 从执行的脚本中提取任务的路径。
- 通过运行以下命令获取Git远程地址:
bash
git config --get remote.origin.url[!CAUTION] 仅当远程地址为GitHub URL时,才继续执行后续步骤
- 针对列表中的每个任务,在与Git远程地址匹配的仓库中创建一个新的issue。
- 如果有可用的GitHub issue编写工具(如MCP server或),优先使用。
gh issue create - 标题需简洁,并在issue正文中包含任务ID以确保可追溯性。
- 如果有可用的GitHub issue编写工具(如MCP server或
[!CAUTION] 无论在任何情况下,都不得在与远程地址不匹配的仓库中创建issues
Outputs
输出结果
- GitHub issues created from (one per task), in the repository matching the Git remote
tasks.md
- 从生成的GitHub issues(每个任务对应一个),存储在与Git远程地址匹配的仓库中
tasks.md