Copilot Specs

Spec-driven development for VS Code + GitHub Copilot.
copilot-specs helps teams plan and implement features through structured requirements, design, and implementation tasks documents, then connect those documents back to real code with explorers, CodeLens, and automation.



Features
Requirements
- Node.js 22+
- VS Code 1.93+
- GitHub Copilot Chat (for generation/autopilot features)
Development
Install dependencies:
npm ci
Build TypeScript:
npm run compile
Bundle extension:
npm run bundle
Watch mode:
npm run dev
Lint:
npm run lint
Run the extension locally
- Open this folder in VS Code.
- Run
npm ci.
- Press
F5 to launch the Extension Development Host.
- In the new window, run commands from the Command Palette, such as:
Copilot Specs: New Spec
Copilot Specs: Open Spec Panel
Copilot Specs: Generate with Copilot
CI/CD
Workflows are in .github/workflows/:
ci.yml
- Runs on PRs and pushes to
main
- Executes
npm ci, npm run compile, and npm run bundle
release.yml
- Runs on tag push
v* or manual dispatch
- Packages a
.vsix artifact
- Publishes to VS Marketplace when
VSCE_PAT is configured
Required secret for publishing:
For workflow details, see .github/workflows/README.md.
Publishing
Tag-based release example:
git tag v0.1.1
git push origin v0.1.1
Manual release is also available through the GitHub Actions UI.
Repository layout
src/ — extension source
src/templates/ — default spec templates
.github/instructions/specs/ — generated/managed spec docs in a workspace
.github/hooks/ — hook JSON definitions
License
MIT — see LICENSE.
Changelog
See CHANGELOG.md for release history.