github / github/spec-kit

[Extension]: Add spec-kit-switch

未关闭 适合新手
#3,932 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
extension-submission validation-passed
主要语言
Python
星标
137k
派生
12.3k
平均合并
2 天 12 小时
30 天内合并 PR
159

描述

### Extension ID
switch

### Extension Name
Spec Switcher

### Version
1.0.0

### Description
Navigate between specs — list available specs and switch active feature with git checkout

### Author
Wagner Sousa

### Repository URL
https://github.com/wagner-sousa/spec-kit-switch

### Download URL
https://github.com/wagner-sousa/spec-kit-switch/archive/refs/tags/v1.0.0.zip

### License
MIT

### Homepage
https://github.com/wagner-sousa/spec-kit-switch

### Documentation URL
https://github.com/wagner-sousa/spec-kit-switch#readme

### Changelog URL
https://github.com/wagner-sousa/spec-kit-switch/blob/main/CHANGELOG.md

### Required Spec Kit Version
>=0.4.0

### Number of Commands
2

### Number of Hooks
0

### Tags
navigation, workflow, specs, sdd, git

### Key Features
- List all available specs with branch and active status in a table
- Switch between specs via git checkout (avoids feature.json conflicts)
- Auto-unlock previous spec lifecycle on switch via cross-plugin interface
- --local-only flag for branchless specs

### Testing Checklist
- [x] Extension installs successfully via download URL
- [x] All commands execute without errors
- [x] Documentation is complete and accurate
- [x] No security vulnerabilities identified
- [x] Tested on at least one real project

### Submission Requirements
- [x] Valid `extension.yml` manifest included
- [x] README.md with installation and usage instructions
- [x] LICENSE file included
- [x] GitHub release created with version tag
- [x] All command files exist and are properly formatted
- [x] Extension ID follows naming conventions (lowercase-with-hyphens)

### Testing Details
Tested on Linux with Spec Kit v0.13.3 in the spec-kit-docker template project. Both commands verified: switch.list shows all specs with branch/status table, switch.set performs git checkout with auto-unlock of previous spec. Cross-plugin interface tested with lifecycle extension for seamless spec transitions.

### Example Usage
```bash
specify extension add switch --from https://github.com/wagner-sousa/spec-kit-switch/archive/refs/tags/v1.0.0.zip
/speckit.switch.list
/speckit.switch.set 013
```

### Proposed Catalog Entry
```json
{
"switch": {
"name": "Spec Switcher",
"id": "switch",
"description": "Navigate between specs — list available specs and switch active feature with git checkout",
"author": "Wagner Sousa",
"version": "1.0.0",
"download_url": "https://github.com/wagner-sousa/spec-kit-switch/archive/refs/tags/v1.0.0.zip",
"repository": "https://github.com/wagner-sousa/spec-kit-switch",
"homepage": "https://github.com/wagner-sousa/spec-kit-switch",
"license": "MIT",
"requires": {
"speckit_version": ">=0.4.0"
},
"provides": {
"commands": 2
},
"tags": ["navigation", "workflow", "specs", "sdd", "git"],
"verified": false,
"downloads": 0,
"stars": 0,
"created_at": "2026-07-31T00:00:00Z",
"updated_at": "2026-07-31T00:00:00Z"
}
}
```

贡献指南

打开贡献指南

调研方向

Review the proposed catalog entry, the extension.yml manifest, README.md, and LICENSE from the linked extension repository. Start by locating the repository's extension catalog and its validation checks. Done means the Spec Switcher metadata is added accurately and the catalog still validates.

由索引模型根据 Issue 内容生成。

评估

技术栈
git
领域
tooling
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
冷清
描述清晰度
基本清楚
新手友好度
66/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。