Commit 5ef4770
committed
feat: add GitHub Issues Integration extension
## Summary
Adds a community extension that generates spec artifacts from GitHub Issues, eliminating
duplicate work between issue tracking and Specification-Driven Development (SDD).
Resolves [#2175](github/spec-kit#2175)
## Problem
Developers already document requirements in GitHub Issues (user stories, acceptance criteria,
labels, discussions) but then rewrite everything from scratch in `spec.md` when starting SDD.
This creates:
- **Duplicate work** - Writing the same information twice
- **Context loss** - Losing valuable discussion and rationale from issues
- **Sync drift** - Issues and specs diverge over time
- **Manual overhead** - Copying and reformatting content manually
## Solution
This extension provides three commands that bridge GitHub Issues and Spec Kit:
### Commands
1. **`/speckit.github-issues.import`** - Import a GitHub Issue and generate structured `spec.md` - Fetches issue title, body, labels, and comments
- Parses structured sections (problem, solution, alternatives)
- Generates spec with requirements and acceptance criteria
- Creates metadata for tracking
2. **`/speckit.github-issues.sync`** - Keep specs updated when source issues change
- Detects changes in linked issues
- Updates spec with latest issue data
- Appends new comments to Discussion Notes
- Maintains sync timestamps
3. **`/speckit.github-issues.link`** - Add bidirectional traceability
- Links spec to source issue
- Posts comment on GitHub Issue linking back to spec
- Creates metadata file for tracking
## Features
- ✅ Import GitHub Issues to structured spec.md files
- ✅ Structured parsing of problem statements, solutions, acceptance criteria
- ✅ Preserve valuable comments and context
- ✅ Bidirectional links between issues and specs
- ✅ Automatic sync when issues change
- ✅ Label integration as spec tags
- ✅ Issue state tracking (open/closed)
## Extension Details
- **Extension ID:** `github-issues`
- **Version:** 1.0.0
- **Category:** `integration`
- **Effect:** Read+Write
- **License:** MIT
- **Author:** @Fatima3670 parents commit 5ef4770
9 files changed
Lines changed: 1260 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments