Shell Templates¶
Shells are pre-configured project scaffolds that give you a running start. Each shell provides the project structure, test frameworks, Azure infrastructure, and CI/CD workflows for a specific tech stack.
How Shells Are Discovered¶
Shells are discovered dynamically from GitHub repositories tagged with the topic spec2cloud-shell in the configured organization. No central registry to maintain — just add the topic to your repo and it becomes available.
Discovery order¶
- Topic-based discovery — repos with topic
spec2cloud-shellin the org (default:EmeaAppGbb) - Static registry —
shells.jsonin the spec2cloud repo (fallback) - Built-in list — hardcoded in the CLI (offline fallback)
Creating a New Shell¶
- Create a GitHub repository in your org
- Add the topic
spec2cloud-shellto the repository - Optionally add a
shell.jsonat the repo root for rich metadata:
If shell.json is missing, the CLI derives metadata from the repository name and description.
Using shells from a different org¶
npx spec2cloud init --org my-org --list-shells # List shells from my-org
npx spec2cloud init --org my-org --shell my-shell # Use a shell from my-org
What's in a Shell¶
Every shell provides:
- Project structure — Organized directories for your stack
- Test frameworks — Unit, BDD, and e2e testing pre-configured
- Azure infrastructure — Bicep templates for provisioning
- CI/CD workflows — GitHub Actions for build, test, and deploy
- Dev container — Consistent development environment
- Stack-specific AGENTS.md — Section 7 with commands for your stack
- Copilot instructions — Stack-specific guidance for AI assistants
Skills Work With Any Stack¶
The 46 skills are stack-agnostic. Shells provide the stack-specific wiring (which test runner to use, which build commands, which Azure resources), but the skills themselves—spec refinement, gherkin generation, implementation strategy—work identically regardless of your technology choice.
Starting from a Shell¶
- Run the installer with a shell:
npx spec2cloud init --shell <id> - Open in VS Code with the dev container
- Write your PRD in
specs/prd.md, starting with a Mermaid product/process diagram when it clarifies the workflow - Start with
/prdin Copilot Chat
Adding to an Existing Project¶
If you already have a project, use merge mode:
This adds spec2cloud's skills, agents, and state management without overwriting your existing files. The installer detects your stack and configures accordingly.