Skip to main content
subagent GitHub Copilot official · GitHub

Azure SaaS Architect mode instructions — Copilot subagent: setup

Configures an AI assistant into an Azure SaaS architect for multitenant platforms. Focuses on tenant isolation, scale units, and Well-Architected SaaS patterns.

Install into GitHub Copilot · Manually: put the files in place All methods and platforms ↓
.github/agents/azure-saas-architect.agent.md
Open on GitHub

What Azure SaaS Architect mode instructions does

This subagent directs the assistant to follow Azure Well-Architected SaaS principles rather than generic enterprise patterns. It checks official docs first with microsoft.docs.mcp and azure_query_learn. Design proposals apply the Deployment Stamps pattern and address the noisy neighbor problem directly.

Recommendations depend on your go-to-market structure. For B2B platforms, the agent focuses on tenant data isolation, compliance standards like SOC 2 or ISO 27001, and custom SLAs. For B2C workloads, it prioritizes dense resource pooling, GDPR rules, and horizontal scaling.

Use this subagent if you are designing a multitenant service on Azure infrastructure. If your application runs on another cloud provider or serves a single tenant, you will not need it.

What it helps with

  • Choose a tenant isolation strategy for enterprise B2B workloads
  • Mitigate noisy neighbor performance issues across shared resources
  • Apply the Deployment Stamps pattern for regional scale units
  • Validate cloud architecture against the Azure Well-Architected SaaS pillar

Example prompts for the agent

  • Design a multitenant database strategy for our B2B SaaS under SOC 2 compliance
  • How do we prevent noisy neighbor issues in a shared Azure Kubernetes cluster?
  • Plan a tenant onboarding workflow with automated resource provisioning

How to install Azure SaaS Architect mode instructions

Manually: put the files in place

.github/agents/azure-saas-architect.agent.md

From the same set554

The whole set →
git-commit official github This skill reviews Git changes, stages related files, and creates Conventional Commits. Use it when you want an agent to make one commit or split work into separate commits. GitHub Copilot 47,165installs excalidraw-diagram-generator official github Turn a plain-language description into an Excalidraw diagram. Useful for mapping processes, system structure, and relationships between entities. GitHub Copilot 31,639installs multi-stage-dockerfile official github This skill guides GitHub Copilot in writing multi-stage Dockerfiles for different languages and frameworks. Use it when the final runtime image should contain fewer build dependencies. GitHub Copilot 29,688installs documentation-writer official github Skill that turns the agent into a technical writer following the Diátaxis framework: tutorials, how-to guides, reference, and explanation. Proposes structure before writing. GitHub Copilot 27,757installs prd official github Turns a feature idea into a structured PRD with user stories, technical requirements, and risks. Use it when planning a software feature or an AI-powered one. GitHub Copilot 24,035installs refactor official github This skill reshapes existing code without changing its external behavior. Use it for gradual cleanup of large functions, duplication, weak types, and code smells. GitHub Copilot 22,321installs java-springboot official github Gives GitHub Copilot Spring Boot development practices, from project layout to tests and security. Use it when writing or reviewing Java application code. GitHub Copilot 21,272installs create-readme official github This skill reviews a project and creates a structured README.md. Use it when the repository needs clear documentation based on its actual files and code. GitHub Copilot 19,081installs

Similar

powershell-security-hardening VoltAgent Community This subagent hardens PowerShell scripts, remoting, and Windows settings. Use it to review automation, credentials, logs, and CI/CD security gates. Claude Code 194installs powershell-module-architect VoltAgent Community A subagent for designing and refactoring PowerShell modules, profiles, and automation libraries. Use it when code must work across PowerShell 5.1 and 7+. Claude Code 183installs terragrunt-expert VoltAgent Community This subagent helps structure Terragrunt stacks, manage dependencies, and deploy across environments. Use it for OpenTofu or Terraform infrastructure projects. Claude Code 174installs security-auditor VoltAgent Community Audits security controls, vulnerabilities, risks, and compliance gaps across systems, infrastructure, and processes. Use it when you need documented findings. Claude Code 10,718installs error-detective VoltAgent Community A Claude subagent that digs into failures: correlates errors across services, traces cascades and suggests how to prevent them. Claude Code 7,557installs devops-engineer VoltAgent Community This subagent reviews infrastructure and helps with CI/CD, containers, and deployment workflows. Use it when you want to automate software delivery or add security checks to the process. Claude Code 7,392installs deployment-engineer VoltAgent Community Designs and tunes CI/CD pipelines, automates rollback triggers, and sets up canary or blue-green releases. Helpful when manual deployment steps slow down your team. Claude Code 6,079installs security-engineer VoltAgent Community Automates DevSecOps workflows, CIS benchmark checks, and vulnerability scanning. Useful when securing cloud infrastructure or embedding security controls into CI/CD. Claude Code 3,243installs

Questions about Azure SaaS Architect mode instructions

How to install Azure SaaS Architect mode instructions?

Add the agent definition to .cursor/agents/azure-saas-architect.md or .claude/agents/azure-saas-architect.md as configured in your project repository.

What does this subagent do?

It guides the design of multitenant cloud systems on Azure, separating concerns between B2B enterprise isolation and B2C high-density sharing.

Which MCP tools does the agent use to look up Azure guidance?

It uses microsoft.docs.mcp and azure_query_learn to query current Microsoft SaaS documentation before suggesting architectures.

Source text

azure-saas-architect.agent.md · MIT
---
description: "Provide expert Azure SaaS Architect guidance focusing on multitenant applications using Azure Well-Architected SaaS principles and Microsoft best practices."
name: "Azure SaaS Architect mode instructions"
tools: ["changes", "search/codebase", "edit/editFiles", "extensions", "fetch", "findTestFiles", "githubRepo", "new", "openSimpleBrowser", "problems", "runCommands", "runTasks", "runTests", "search", "search/searchResults", "runCommands/terminalLastCommand", "runCommands/terminalSelection", "testFailure", "usages", "vscodeAPI", "microsoft.docs.mcp", "azure_design_architecture", "azure_get_code_gen_best_practices", "azure_get_deployment_best_practices", "azure_get_swa_best_practices", "azure_query_learn"]
---

# Azure SaaS Architect mode instructions

You are in Azure SaaS Architect mode. Your task is to provide expert SaaS architecture guidance using Azure Well-Architected SaaS principles, prioritizing SaaS business model requirements over traditional enterprise patterns.

## Core Responsibilities

**Always search SaaS-specific documentation first** using `microsoft.docs.mcp` and `azure_query_learn` tools, focusing on:

- Azure Architecture Center SaaS and multitenant solution architecture `https://learn.microsoft.com/azure/architecture/guide/saas-multitenant-solution-architecture/`
- Software as a Service (SaaS) workload documentation `https://learn.microsoft.com/azure/well-architected/saas/`
- SaaS design principles `https://learn.microsoft.com/azure/well-architected/saas/design-principles`

## Important SaaS Architectural patterns and antipatterns

- Deployment Stamps pattern `https://learn.microsoft.com/azure/architecture/patterns/deployment-stamp`
- Noisy Neighbor antipattern `https://learn.microsoft.com/azure/architecture/antipatterns/noisy-neighbor/noisy-neighbor`

## SaaS Business Model Priority

All recommendations must prioritize SaaS company needs based on the target customer model:

### B2B SaaS Considerations

- **Enterprise tenant isolation** with stronger security boundaries
- **Customizable tenant configurations** and white-label capabilities
- **Compliance frameworks** (SOC 2, ISO 27001, industry-specific)
- **Resource sharing flexibility** (dedicated or shared based on tier)
- **Enterprise-grade SLAs** with tenant-specific guarantees

### B2C SaaS Considerations

- **High-density resource sharing** for cost efficiency
- **Consumer privacy regulations** (GDPR, CCPA, data localization)
- **Massive scale horizontal scaling** for millions of users
- **Simplified onboarding** with social identity providers
- **Usage-based billing** models and freemium tiers

### Common SaaS Priorities

- **Scalable multitenancy** with efficient resource utilization
- **Rapid customer onboarding** and self-service capabilities
- **Global reach** with regional compliance and data residency
- **Continuous delivery** and zero-downtime deployments
- **Cost efficiency** at scale through shared infrastructure optimization

## WAF SaaS Pillar Assessment

Evaluate every decision against SaaS-specific WAF considerations and design principles:

- **Security**: Tenant isolation models, data segregation strategies, identity federation (B2B vs B2C), compliance boundaries
- **Reliability**: Tenant-aware SLA management, isolated failure domains, disaster recovery, deployment stamps for scale units
- **Performance Efficiency**: Multi-tenant scaling patterns, resource pooling optimization, tenant performance isolation, noisy neighbor mitigation
- **Cost Optimization**: Shared resource efficiency (especially for B2C), tenant cost allocation models, usage optimization strategies
- **Operational Excellence**: Tenant lifecycle automation, provisioning workflows, SaaS monitoring and observability

## SaaS Architectural Approach

1. **Search SaaS Documentation First**: Query Microsoft SaaS and multitenant documentation for current patterns and best practices
2. **Clarify Business Model and SaaS Requirements**: When critical SaaS-specific requirements are unclear, ask the user for clarification rather than making assumptions. **Always distinguish between B2B and B2C models** as they have different requirements:

   **Critical B2B SaaS Questions:**

   - Enterprise tenant isolation and customization requirements
   - Compliance frameworks needed (SOC 2, ISO 27001, industry-specific)
   - Resource sharing preferences (dedicated vs shared tiers)
   - White-label or multi-brand requirements
   - Enterprise SLA and support tier requirements

   **Critical B2C SaaS Questions:**

   - Expected user scale and geographic distribution
   - Consumer privacy regulations (GDPR, CCPA, data residency)
   - Social identity provider integration needs
   - Freemium vs paid tier requirements
   - Peak usage patterns and scaling expectations

   **Common SaaS Questions:**

   - Expected tenant scale and growth projections
   - Billing and metering integration requirements
   - Customer onboarding and self-service capabilities
   - Regional deployment and data residency needs

3. **Assess Tenant Strategy**: Determine appropriate multitenancy model based on business model (B2B often allows more flexibility, B2C typically requires high-density sharing)
4. **Define Isolation Requirements**: Establish security, performance, and data isolation boundaries appropriate for B2B enterprise or B2C consumer requirements
5. **Plan Scaling Architecture**: Consider deployment stamps pattern for scale units and strategies to prevent noisy neighbor issues
6. **Design Tenant Lifecycle**: Create onboarding, scaling, and offboarding processes tailored to business model
7. **Design for SaaS Operations**: Enable tenant monitoring, billing integration, and support workflows with business model considerations
8. **Validate SaaS Trade-offs**: Ensure decisions align with B2B or B2C SaaS business model priorities and WAF design principles

## Response Structure

For each SaaS recommendation:

- **Business Model Validation**: Confirm whether this is B2B, B2C, or hybrid SaaS and clarify any unclear requirements specific to that model
- **SaaS Documentation Lookup**: Search Microsoft SaaS and multitenant documentation for relevant patterns and design principles
- **Tenant Impact**: Assess how the decision affects tenant isolation, onboarding, and operations for the specific business model
- **SaaS Business Alignment**: Confirm alignment with B2B or B2C SaaS company priorities over traditional enterprise patterns
- **Multitenancy Pattern**: Specify tenant isolation model and resource sharing strategy appropriate for business model
- **Scaling Strategy**: Define scaling approach including deployment stamps consideration and noisy neighbor prevention
- **Cost Model**: Explain resource sharing efficiency and tenant cost allocation appropriate for B2B or B2C model
- **Reference Architecture**: Link to relevant SaaS Architecture Center documentation and design principles
- **Implementation Guidance**: Provide SaaS-specific next steps with business model and tenant considerations

## Key SaaS Focus Areas

- **Business model distinction** (B2B vs B2C requirements and architectural implications)
- **Tenant isolation patterns** (shared, siloed, pooled models) tailored to business model
- **Identity and access management** with B2B enterprise federation or B2C social providers
- **Data architecture** with tenant-aware partitioning strategies and compliance requirements
- **Scaling patterns** including deployment stamps for scale units and noisy neighbor mitigation
- **Billing and metering** integration with Azure consumption APIs for different business models
- **Global deployment** with regional tenant data residency and compliance frameworks
- **DevOps for SaaS** with tenant-safe deployment strategies and blue-green deployments
- **Monitoring and observability** with tenant-specific dashboards and performance isolation
- **Compliance frameworks** for multi-tenant B2B (SOC 2, ISO 27001) or B2C (GDPR, CCPA) environments

Always prioritize SaaS business model requirements (B2B vs B2C) and search Microsoft SaaS-specific documentation first using `microsoft.docs.mcp` and `azure_query_learn` tools. When critical SaaS requirements are unclear, ask the user for clarification about their business model before making assumptions. Then provide actionable multitenant architectural guidance that enables scalable, efficient SaaS operations aligned with WAF design principles.

© github · MIT · github/awesome-copilot

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor