Spec2Cloud Toolkit for VS Code

January 15, 2026 ยท View on GitHub

Spec2Cloud Banner

Discover, browse, and use Azure specification templates for your projects with this comprehensive VS Code extension. Powered by the Azure-Samples/Spec2Cloud repository.

Features

Browse templates with a beautiful gallery interface featuring:

  • Full-featured template cards with thumbnails
  • Real-time search across all template properties
  • Multiple filter options (category, industry, services, languages, frameworks)
  • Sorting by name or date
  • Video previews and detailed information modals

Gallery Screenshot

๐Ÿ“‹ Templates Tree View

Quick access to templates in a hierarchical view:

  • Sort by name (A-Z/Z-A) or date (newest/oldest)
  • View template details on GitHub
  • One-click template usage
  • Refresh to get latest templates

๐Ÿ“š Resources View

Configurable quick links to documentation and helpful resources.

๐Ÿค– MCP Tool Support

Provides tools to find templates and estimate costs on Azure.

Getting Started

  1. Install the Extension

    • Install from VS Code Marketplace or VSIX file
  2. Open Spec2Cloud

    • Click the Spec2Cloud icon in the Activity Bar
    • Browse the gallery or use the tree view
  3. Find Templates

    • Search by keywords, services, languages, or frameworks
    • Use filters to narrow down options
    • Watch demo videos to preview templates
  4. Use a Template

    • Click "Use Template" on any template
    • Confirm to download all files to your workspace
    • Existing files are never overwritten

Configuration

Templates Repository

Configure the GitHub repository containing templates:

{
  "spec2cloud.templatesRepo": "https://github.com/Azure-Samples/Spec2Cloud"
}

Custom Resources

Add your own resource links:

{
  "spec2cloud.resources": [
    {
      "name": "Azure Documentation",
      "description": "Official Azure docs",
      "url": "https://learn.microsoft.com/azure",
      "icon": "Azure"
    }
  ]
}

Commands

CommandDescription
spec2cloud.openGalleryOpen the template gallery
spec2cloud.refreshTemplatesRefresh templates from repository
spec2cloud.sortTemplatesByNameToggle name sorting (A-Z/Z-A)
spec2cloud.sortTemplatesByDateToggle date sorting (newest/oldest)
spec2cloud.viewTemplateOnGitHubOpen template on GitHub
spec2cloud.viewTemplateInGalleryView template in gallery
spec2cloud.initializeTemplateInitialize template to workspace

Template Structure

Templates in the repository should follow this structure:

template-name/
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ thumbnail.png (16:9 aspect ratio)
โ”œโ”€โ”€ demo.mp4 (optional)
โ””โ”€โ”€ ... (template files)

The repository must include a templates.json file:

{
  "templates": [
    {
      "name": "template-folder-name",
      "title": "Template Display Name",
      "description": "Template description",
      "category": "AI Apps",
      "industry": "Healthcare",
      "thumbnail": "thumbnail.png",
      "video": "demo.mp4",
      "services": ["Azure OpenAI", "Azure Cosmos DB"],
      "languages": ["Python", "TypeScript"],
      "frameworks": ["LangChain"],
      "tags": ["chat", "rag"],
      "authors": [
        {
          "name": "Author Name",
          "githubHandle": "githubusername"
        }
      ],
      "version": "1.0.0",
      "lastCommitDate": "2025-11-12"
    }
  ]
}

Icons

The extension includes SVG icons for:

  • 60+ Azure Services (blue badges)
  • 5 Programming Languages (orange badges)
  • 4 Frameworks (purple badges)

Icons are located in:

  • resources/services/
  • resources/languages/
  • resources/frameworks/

Requirements

  • VS Code 1.105.0 or later
  • Internet connection to fetch templates

Extension Settings

SettingDefaultDescription
spec2cloud.templatesRepohttps://github.com/Azure-Samples/Spec2CloudGitHub repository URL
spec2cloud.resources[...]Custom resource links

Known Issues

  • Template downloads require internet connection
  • Large templates may take time to download
  • Private repositories require authentication (not yet supported)

See TROUBLESHOOTING.md for solutions to common issues.

Documentation

Release Notes

0.6.2

See CHANGELOG.md for full release notes.

Latest Features:

  • ๐Ÿค– GitHub Copilot Integration: @spec2cloud chat participant and language model tools
  • ๐Ÿ’ฐ Azure Cost Estimator: Real-time pricing from Azure Retail Prices API
  • ๐Ÿ”— URI Protocol Handler: Open templates via vscode:// protocol
  • ๐Ÿ“‹ Git Clone Integration: Templates cloned directly using git clone
  • ๐ŸŽจ Modern UI with theme support (light/dark)
  • ๐Ÿ” Powerful search across all template properties
  • ๐Ÿท๏ธ Multiple filter dimensions (category, industry, technology)
  • ๐Ÿ“Š Flexible sorting (name, date)
  • ๐ŸŽฌ Video previews for templates
  • ๐Ÿ“ฑ Responsive gallery layout
  • ๐Ÿ”’ Safe template downloads (no overwrites)

License

MIT

Acknowledgments

  • Template repository: Azure-Samples/Spec2Cloud
  • Azure icons and branding: Microsoft Corporation
  • Built with โค๏ธ for the Azure community

Enjoy building with Spec2Cloud templates! ๐Ÿš€