Feature Request: Milestone grouping extension for taskstoissues
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách lần theo flow hiện có của /speckit.taskstoissues và hook after_taskstoissues của nó, sau đó kiểm tra cấu trúc extension manifest và entry point commands/assign.md. Sử dụng các heading trong tasks.md làm nhóm mặc định và xem xét mapping được đề xuất trong .specify/milestones-config.yml. Được coi là hoàn tất khi các tiêu chí nghiệm thu được đáp ứng, bao gồm việc tái sử dụng milestone, cài đặt, xác nhận, tài liệu và hỗ trợ tất cả agent.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem Statement
/speckit.taskstoissues creates GitHub Issues from tasks.md, but all issues land flat in the repo with no milestone assignment. On any non-trivial feature (multiple user stories, phased delivery, or multi-repo workspaces), the issue list quickly loses structure. There is no way to track progress at the feature or delivery-phase level without manually creating GitHub Milestones and assigning issues after the fact.
Proposed Solution
A lightweight extension that hooks into after_taskstoissues and groups the newly created issues into GitHub Milestones.
Behaviour
- After
taskstoissuescompletes, the extension reads the task structure fromtasks.md(which already organises tasks by user story or feature group). - For each top-level group (user story, feature, or phase), it creates or updates a GitHub Milestone with a matching title.
- Each issue created by
taskstoissuesis assigned to its corresponding milestone. - If a milestone already exists with that title, the extension reuses it rather than creating a duplicate.
Extension shape
schema_version: "1.0"
extension:
id: "milestones"
name: "Task Milestones"
version: "1.0.0"
description: "Groups issues created by taskstoissues into GitHub Milestones by feature or user story"
requires:
speckit_version: ">=0.10.0"
commands:
- "speckit.taskstoissues"
provides:
commands:
- name: "speckit.milestones.assign"
file: "commands/assign.md"
description: "Create or update GitHub Milestones and assign issues from the most recent taskstoissues run"
hooks:
after_taskstoissues:
command: "speckit.milestones.assign"
optional: true
prompt: "Assign issues to GitHub Milestones?"
Grouping logic
The natural grouping already exists in tasks.md. Tasks are organised under headings that correspond to user stories or feature areas. The extension maps each heading to a milestone. No new configuration is needed for the default case.
For teams that want custom grouping (e.g. by delivery phase rather than user story), a config file could allow explicit mapping:
# .specify/milestones-config.yml (optional)
grouping: "heading" # default: use tasks.md headings as milestone titles
# OR
grouping: "custom"
milestones:
- title: "Phase 1: Core API"
match: ["T001*", "T002*", "T003*"]
- title: "Phase 2: UI"
match: ["T004*", "T005*"]
Why an extension, not core
This adds project management structure on top of the existing workflow without changing the core taskstoissues behaviour. Teams that do not use GitHub Milestones are unaffected. The extension model keeps it opt-in and independently versioned.
Alternatives Considered
Manual milestone assignment works for small features but does not scale to multi-story specs with dozens of tasks. External scripting is possible but loses integration with the SDD workflow and traceability from spec to milestone. GitHub Projects boards are complementary but different: milestones track delivery scope, projects track workflow state.
Component
Specify CLI (initialization, commands)
AI Agent (if applicable)
All agents
Use Cases
- When working on large features with multiple user stories, each story's tasks should map to a milestone so progress is visible at the story level, not just the individual issue level.
- During phased delivery (e.g. "Phase 1: API, Phase 2: UI"), milestones give stakeholders a native GitHub view of which phase is complete without reading tasks.md.
- In multi-repo workspaces where each repo runs its own taskstoissues, milestones provide cross-cutting delivery tracking that flat issue lists cannot.
Acceptance Criteria
- Running /speckit.milestones.assign after taskstoissues creates one GitHub Milestone per top-level task group in tasks.md
- Each issue created by taskstoissues is assigned to its corresponding milestone
- Existing milestones with matching titles are reused, not duplicated
- Optional milestones-config.yml allows custom grouping by task ID pattern
- The extension installs via specify extension add milestones
- The after_taskstoissues hook fires with a confirmation prompt
- Documentation covers default and custom grouping modes
- Works with all supported agents
Additional Context
The grouping data already exists in tasks.md. Tasks are organised under headings that correspond to user stories or feature areas. The extension maps each heading to a GitHub Milestone. No new task structure or metadata format is required. This closes the gap between task-level tracking (issues) and delivery-level tracking (milestones) within the existing SDD workflow.
- Ngôn ngữ chính
- Python
- Star
- 138k
- Fork
- 12.4k
- Merge trung bình
- 3 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 136
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/spec-kit
-
triage-can-wait
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
enhancement needs-triage triage-can-wait
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
bundle-submission needs-info triage-can-wait validation-failed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
author-awaiting enhancement needs-triage preset-submission triage-can-wait validation-failed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
author-awaiting enhancement extension-submission needs-triage triage-can-wait validation-failed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Tất cả issue của github/spec-kit
Issue tương tự
-
sponsored
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
opensubtitlescom: moviehash never sent when opensubtitles (.org) is not in the provider list Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Diaoul/subliminal#1382 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
triage/confirmed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
agentscope-ai/agentscope#2775 ·
-
worker.gpuVendors silently accepts unsupported/misspelled vendor names — no validation guard Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100