This guide explains how to integrate spec2cloud into your existing projects to enable AI-powered development workflows.
Spec2cloud is a collection of specialized GitHub Copilot agents and workflows that transform how you build software:
- Greenfield: Turn product ideas into production-ready applications
- Brownfield: Reverse engineer existing codebases into comprehensive documentation
One-line installation from GitHub releases:
# Full installation (agents, prompts, devcontainer, MCP)
curl -fsSL https://raw.githubusercontent.com/EmeaAppGbb/spec2cloud/main/scripts/quick-install.sh | bash
# Minimal installation (agents and prompts only)
curl -fsSL https://raw.githubusercontent.com/EmeaAppGbb/spec2cloud/main/scripts/quick-install.sh | bash -s -- --minimal
# Install to specific directory
curl -fsSL https://raw.githubusercontent.com/EmeaAppGbb/spec2cloud/main/scripts/quick-install.sh | bash -s -- --target /path/to/projectDownload and extract manually:
# Download latest release
curl -L https://github.com/EmeaAppGbb/spec2cloud/releases/latest/download/spec2cloud-full-latest.zip -o spec2cloud.zip
# Extract
unzip spec2cloud.zip -d spec2cloud
# Run installer
cd spec2cloud
./scripts/install.sh --full
# Or on Windows
.\scripts\install.ps1 -Full- Visit Releases
- Download the desired package:
spec2cloud-full-*.zip- Complete package with all featuresspec2cloud-minimal-*.zip- Agents and prompts only
- Extract and run the installer
Includes everything:
- β 10 specialized AI agents
- β 12 workflow prompts
- β MCP server configuration
- β Dev container setup
- β APM configuration
- β Directory structure templates
# Linux/Mac
./scripts/install.sh --full
# Windows
.\scripts\install.ps1 -FullIncludes only:
- β 10 specialized AI agents
- β 12 workflow prompts
# Linux/Mac
./scripts/install.sh --agents-only
# Windows
.\scripts\install.ps1 -AgentsOnly| Flag | Description |
|---|---|
--full / -Full |
Install all components |
--agents-only / -AgentsOnly |
Install only agents and prompts |
--merge / -Merge |
Merge with existing files (default) |
--force / -Force |
Overwrite without prompting |
--no-color / -NoColor |
Disable colored output |
After installation, your project will have:
your-project/
βββ .github/
β βββ agents/ # 10 specialized AI agents
β β βββ architect.agent.md
β β βββ azure.agent.md
β β βββ dev.agent.md
β β βββ devlead.agent.md
β β βββ extender.agent.md
β β βββ modernizer.agent.md
β β βββ planner.agent.md
β β βββ pm.agent.md
β β βββ spec2cloud.agent.md
β β βββ tech-analyst.agent.md
β βββ prompts/ # 12 workflow prompts
β βββ adr.prompt.md
β βββ bootstrap-agents.prompt.md
β βββ delegate.prompt.md
β βββ deploy.prompt.md
β βββ extend.prompt.md
β βββ frd.prompt.md
β βββ generate-agents.prompt.md
β βββ implement.prompt.md
β βββ modernize.prompt.md
β βββ plan.prompt.md
β βββ prd.prompt.md
β βββ rev-eng.prompt.md
βββ .vscode/
β βββ mcp.json # MCP server configuration (full install)
βββ .devcontainer/
β βββ devcontainer.json # Dev container config (full install)
βββ specs/ # Documentation will be generated here
β βββ features/
β βββ tasks/
β βββ docs/
βββ apm.yml # APM configuration (full install)
Starting fresh? Install spec2cloud and start building:
mkdir my-new-project
cd my-new-project
git init
# Install spec2cloud
curl -fsSL https://raw.githubusercontent.com/EmeaAppGbb/spec2cloud/main/scripts/quick-install.sh | bash
# Open in VS Code
code .
# Start with /prd workflowHave existing code but no documentation? Use brownfield workflows:
cd my-existing-project
# Install spec2cloud
curl -fsSL https://raw.githubusercontent.com/EmeaAppGbb/spec2cloud/main/scripts/quick-install.sh | bash
# Open in VS Code
code .
# Reverse engineer your codebase
# Use /rev-eng workflowInstalling into an active project? Spec2cloud respects existing files:
cd my-active-project
# Install with merge mode (default)
curl -fsSL https://raw.githubusercontent.com/EmeaAppGbb/spec2cloud/main/scripts/quick-install.sh | bash
# Existing .github files preserved
# New agents/prompts added
# Conflicting configs saved as *.spec2cloud for manual mergeIf you have existing .vscode/mcp.json, the installer will:
- Save spec2cloud's MCP config as
mcp.json.spec2cloud - Allow you to manually merge configurations
Example merge:
{
"mcpServers": {
// Your existing MCP servers
"my-existing-server": {
"command": "node",
"args": ["server.js"]
},
// Add spec2cloud MCP servers from mcp.json.spec2cloud
"context7": {
"command": "uvx",
"args": ["context7-mcp"]
},
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"mcp/github"
]
}
// ... other spec2cloud servers
}
}If you have existing .devcontainer/devcontainer.json, the installer will:
- Save spec2cloud's config as
devcontainer.json.spec2cloud - Allow you to manually merge configurations
Key features to consider merging:
- Python 3.12, Node.js, Azure CLI
- Docker-in-Docker support
- GitHub Copilot extensions
- Azure and AI Toolkit extensions
If you have existing apm.yml, the installer will skip creating a new one.
To use spec2cloud standards:
dependencies:
apm:
- source: danielmeppiel/azure-standards
version: latest
# Add your existing dependenciesThen run:
apm install
apm compileFor new features and projects:
-
/prd- Create Product Requirements Document- Describes the product vision, goals, and requirements
-
/frd- Create Feature Requirements Documents- Breaks down PRD into individual features
-
/generate-agents(Optional) - Generate Agent Guidelines- Consolidates engineering standards from
standards/directory
- Consolidates engineering standards from
-
/plan- Create Technical Task Breakdown- Translates features into implementation tasks
-
/implement- Implement Features Locally- Dev agent writes code directly
-
/delegate- Delegate to GitHub Copilot- Creates GitHub issues for Copilot Coding Agent
-
/deploy- Deploy to Azure- Generates IaC and CI/CD pipelines
For existing codebases:
-
/rev-eng- Reverse Engineer Codebase- Analyzes code and creates documentation
- Generates tasks, features, and product vision
-
/modernize(Optional) - Create Modernization Plan- Assesses technical debt and upgrade opportunities
-
/plan(Optional) - Implement Modernization- Executes modernization tasks
-
/deploy(Optional) - Deploy to Azure- Deploys modernized application
Solution: Reload VS Code window
- Press
Ctrl+Shift+P(Windows/Linux) orCmd+Shift+P(Mac) - Type "Reload Window"
- Press Enter
Solution: Check MCP configuration
- Open
.vscode/mcp.json - Verify server configurations
- Check that required tools are installed (Docker, uvx, etc.)
- Restart VS Code
Solution: Make script executable
chmod +x scripts/install.sh
./scripts/install.sh --fullSolution: Manually merge .spec2cloud files
- Find
*.spec2cloudfiles in your project - Compare with your existing configurations
- Merge desired settings
- Delete
.spec2cloudfiles after merging
Solution: Install APM
# Install APM
pip install git+https://github.com/danielmeppiel/apm.git
# Or follow instructions at:
# https://github.com/danielmeppiel/apmSolution: Verify file structure
# Check agents
ls .github/agents/*.agent.md
# Check prompts
ls .github/prompts/*.prompt.md
# Should see 10 agents and 12 promptsAfter installation, verify everything is working:
# 1. Check file structure
tree .github/
# 2. Count installed components
find .github/agents -name "*.agent.md" | wc -l # Should be 10
find .github/prompts -name "*.prompt.md" | wc -l # Should be 12
# 3. Open in VS Code
code .
# 4. Open GitHub Copilot Chat
# Press Ctrl+Shift+I (Windows/Linux) or Cmd+Shift+I (Mac)
# 5. Type @ and verify agents appear
# Should see: @spec2cloud, @pm, @devlead, @architect, @planner, @dev, @azure, @tech-analyst, @modernizer, @extender
# 6. Type / and verify prompts appear
# Should see: /prd, /frd, /plan, /implement, /deploy, /delegate, /rev-eng, /modernize, /extend, /adr, etc.To update to a newer version:
# Re-run quick install with desired version
curl -fsSL https://raw.githubusercontent.com/EmeaAppGbb/spec2cloud/main/scripts/quick-install.sh | bash -s -- --version v1.1.0
# Or download and run installer with --force
./scripts/install.sh --full --forceTo remove spec2cloud:
# Remove agents and prompts
rm -rf .github/agents
rm -rf .github/prompts
# Remove specs directory (be careful - may contain your work!)
# Only if you want to remove generated documentation
rm -rf specs/
# Remove configurations (if no conflicts)
rm .vscode/mcp.json
rm .devcontainer/devcontainer.json
rm apm.yml
# Remove any .spec2cloud backup files
find . -name "*.spec2cloud" -delete- Begin with minimal installation
- Test workflows on a small feature
- Upgrade to full installation if needed
- Use
/prdbefore coding new features - Run
/rev-engon inherited code - Keep specs/ directory in version control
- Install APM packages for your tech stack
- Run
apm compileto generateAGENTS.md - Agents will follow your standards
- Consistent environment across team
- All tools pre-installed
- MCP servers configured
- Commit
.github/agentsand.github/prompts - Commit
specs/directory - Include
apm.ymlandAGENTS.md - Add
.spec2cloudto.gitignore
- Main Documentation: README.md
- Workflow Guide: SPEC2CLOUD.md
- GitHub Repository: https://github.com/EmeaAppGbb/spec2cloud
- APM Documentation: https://github.com/danielmeppiel/apm
- GitHub Copilot: https://github.com/features/copilot
Need help?
- Check Documentation: Start with README.md and this guide
- GitHub Issues: Report bugs or request features
- GitHub Discussions: Ask questions and share experiences
See LICENSE.md for details.
Ready to transform your development workflow? Install spec2cloud and start building! π