Skip to content

Commit 5ef4770

Browse files
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:** @Fatima367
0 parents  commit 5ef4770

9 files changed

Lines changed: 1260 additions & 0 deletions

File tree

.extensionignore

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Editor files
2+
.vscode/
3+
.idea/
4+
*.swp
5+
*.swo
6+
*~
7+
8+
# OS files
9+
.DS_Store
10+
Thumbs.db
11+
12+
# Test files
13+
tests/
14+
test_*.py
15+
*_test.py
16+
17+
# Development files
18+
.git/
19+
.github/
20+
.gitignore
21+
22+
# Build artifacts
23+
__pycache__/
24+
*.pyc
25+
*.pyo
26+
*.pyd
27+
.Python
28+
dist/
29+
build/
30+
*.egg-info/
31+
32+
# Documentation source
33+
docs/source/
34+
docs/drafts/
35+
36+
# Local config (users should use the template)
37+
*-config.yml
38+
!*-config.template.yml
39+
40+
# Temporary files
41+
*.tmp
42+
*.bak
43+
.*.swp

CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Changelog
2+
3+
All notable changes to the GitHub Issues Integration extension will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [1.0.0] - 2026-04-12
9+
10+
### Added
11+
12+
- Initial release of GitHub Issues Integration extension
13+
- `/speckit.github-issues.import` command to import GitHub Issues and generate spec.md
14+
- `/speckit.github-issues.sync` command to sync spec artifacts with issue updates
15+
- `/speckit.github-issues.link` command to add bidirectional traceability
16+
- Configuration file support for customizing behavior
17+
- Automatic parsing of issue sections (problem, solution, alternatives)
18+
- Comment preservation in spec Discussion Notes
19+
- Label integration as spec tags
20+
- Issue state tracking (open/closed)
21+
- Metadata file (`.issue-link`) for tracking linked issues
22+
- Comprehensive documentation and examples
23+
24+
### Features
25+
26+
- Import issues from any GitHub repository
27+
- Support for both `owner/repo#123` and `#123` formats
28+
- Automatic detection of current repository
29+
- Bidirectional linking between specs and issues
30+
- Sync detection based on issue update timestamps
31+
- Batch sync for all linked issues
32+
- Selective sync for specific features or issues
33+
- User confirmation before applying updates
34+
- Graceful error handling and permission checks
35+
36+
[1.0.0]: https://github.com/Fatima367/spec-kit-github-issues/releases/tag/v1.0.0

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Fatima367
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)