Skip to main content

spec-tasks-to-github

Exports approved spec/tasks.md entries into GitHub issue drafts with labels, branch names, and acceptance criteria. Use when syncing SDD tasks to issues, creating a swarm milestone from spec, or generating labeled issue bodies for feat/issue-N branches.

来源信息

仓库
meleantonio/bac-starter
最近来源活动
2026年4月8日 21:22
检测到的 SKILL.md 语言
英语
星标
1
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
spec-tasks-to-github
description
Exports approved spec/tasks.md entries into GitHub issue drafts with labels, branch names, and acceptance criteria. Use when syncing SDD tasks to issues, creating a swarm milestone from spec, or generating labeled issue bodies for feat/issue-N branches.
# Spec Tasks To GitHub ## When to use - `spec/tasks.md` exists and user wants GitHub issues that **trace** to task lines or IDs. - Planning a swarm milestone after SDD approval. ## Preconditions - User confirms `spec/tasks.md` is the approved source for scope. - Issue labels exist or you document one-time `gh label create` commands. ## Workflow 1. **Parse** `spec/tasks.md` for `- [ ]` / `- [x]` items and any task IDs or requirement references. 2. **Group** into minimal set of issues (prefer one issue per mergeable unit, not one per checkbox micro-step). 3. **Infer DAG:** - Tasks that only depend on earlier sections → earlier issues block later ones (`blocked-by:<N>`). - Independent sections → `parallel` label. 4. **Draft one issue body per issue** using this template (copy to clipboard or file for `gh issue create --body-file`): ```markdown ## Spec trace - spec/tasks.md: <!-- quote the task line or ID --> ## Acceptance criteria - [ ] ... ## Branch `feat/issue-<N>-short-slug` (fill N after issue is created) ## Dependencies - Labels: <!-- parallel | sequential --> - blocked-by: <!-- issue numbers, or none --> ## Review / verify - [ ] pr-reviewer - [ ] replication-verifier (if applicable) - [ ] artifact-coherence-auditor (if paper/replication alignment) ``` 5. **Ordering:** Create blocking issues first so you can reference their numbers in `blocked-by:` on dependent issues. 6. **Handoff:** Tell the user to run `github-swarm-orchestration` for execution, or continue in the same session following that skill's phases. ## Guardrails - Do not change product scope: export what the spec says; flag ambiguities instead of inventing tasks. - Keep issue bodies self-contained for workers who lack chat context. ## Output - Numbered list of proposed issue titles + labels + dependency notes - Ready-to-paste issue bodies (or paths to temp files) for `gh issue create`
在 GitHub 查看