trainer-demo-deploy: Command for Claude Code

.github/prompts/assess-architecture.prompt.md

assess-architecture is a command for Claude Code, GitHub Copilot from MicrosoftLearning/trainer-demo-deploy. It costs 11 tokens per session (738 once invoked), scanned A, original, MIT.

An architecture-assessment command that evaluates project requirements against Microsoft's Well-Architected Framework, a set of guidance for secure, reliable, efficient, cost-aware, and operable cloud systems. It also recommends Azure services and estimates their costs.

In plain words
What is it for?
Use it to score the five framework areas, choose Azure services and product tiers, consult Microsoft documentation, and produce a cost estimate from Azure pricing data.
Why use it?
It brings requirements, design risks, service choices, and expected cloud spending into one assessment before implementation begins.

Command for Claude CodeGitHub Copilot

Written for Claude Code and GitHub Copilot: argument-hint in frontmatter, but also a Copilot chat mode or prompt. Also seen: model in frontmatter.

This is MicrosoftLearning/trainer-demo-deploy's own configuration. It tells Claude Code and GitHub Copilot how to work on trainer-demo-deploy itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything trainer-demo-deploy configures →

Reuse

Borrowing it

Nothing to install: this file belongs to MicrosoftLearning/trainer-demo-deploy. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/MicrosoftLearning/trainer-demo-deploy/main/.github/prompts/assess-architecture.prompt.md
Clone the repo
git clone --depth 1 https://github.com/MicrosoftLearning/trainer-demo-deploy

Made for: Claude Code, GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for assess-architecture

README.md
[![agentmods](https://agentmods.dev/badge/commands/microsoftlearning/trainer-demo-deploy/assess-architecture/github.svg)](https://agentmods.dev/commands/microsoftlearning/trainer-demo-deploy/assess-architecture)
Your own site
<a href="https://agentmods.dev/commands/microsoftlearning/trainer-demo-deploy/assess-architecture"><img src="https://agentmods.dev/badge/commands/microsoftlearning/trainer-demo-deploy/assess-architecture/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for assess-architecture

Your own site · 80×15
<a href="https://agentmods.dev/commands/microsoftlearning/trainer-demo-deploy/assess-architecture"><img src="https://agentmods.dev/badge/commands/microsoftlearning/trainer-demo-deploy/assess-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 738 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00011 $0.00738
Opus 5.5 $0.00004 $0.00295
Sonnet 5.5 $0.00002 $0.00148
Haiku 4.5 $0.00001 $0.00074

Measured today against content hash 3206083b2521, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

assess-architecture scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/prompts/assess-architecture.prompt.md · 95 lines

How it starts

The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Assess Architecture — WAF Assessment & Cost Estimate

Evaluate the captured requirements against the Azure Well-Architected Framework and produce a comprehensive architecture assessment with cost estimates.

Mission

Read the project requirements, score all 5 WAF pillars (Security, Reliability, Performance Efficiency, Cost Optimization, Operational Excellence), recommend Azure services with SKU selections, and generate a cost estimate using Azure Pricing MCP tools.

Scope & Preconditions

  • generated-scenarios/${input:projectName}/01-requirements.md must exist
  • Read .github/skills/az-consolidated/SKILL.md for consolidated configuration, templates, and patterns
  • Use Azure Pricing MCP tools with EXACT service names from the skill
  • Search Microsoft docs for each Azure service recommendation

Inputs

Variable Description Default
${input:projectName} Project name matching the generated-scenarios/ folder Required

Workflow

Step 1: Read Requirements

Read generated-scenarios/{projectName}/01-requirements.md for business context, architecture pattern, NFRs, compliance, budget, and scale requirements.

Step 2: WAF Assessment

Score each pillar 1-10 with confidence level (High/Medium/Low):

  • Security — identity, network, data protection, threat detection
  • Reliability — SLA, redundancy, disaster recovery, fault tolerance
  • Performance Efficiency — scaling, caching, CDN, compute optimization
  • Cost Optimization — right-sizing, reserved instances, auto-scaling
  • Operational Excellence — monitoring, alerting, IaC, CI/CD

Step 3: Service Recommendations

For each Azure resource:

  1. Recommend specific SKU with justification
  2. Map to WAF pillar trade-offs
  3. Check service maturity (GA, Preview, Deprecated)
  4. Note AVM module availability

Step 4: Cost Estimate

Use Azure Pricing MCP tools to generate monthly and yearly estimates. Break down by resource, include reserved instance savings options.

Read the full file on GitHub · 95 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 95 lines · 11 tokens per session scan A 3206083b2521

Subscribe to this mod's changes

assess-architecture is a command published in the GitHub repository MicrosoftLearning/trainer-demo-deploy (31 stars, last pushed 11d ago), licensed MIT. It adds 11 tokens to every session and 738 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-07.

Related

assess-architecture compared with commands from other repositories

assess-architecture next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
assess-architectureMicrosoftLearning/trainer-demo-deployCommand3111d agoMITA11Claude Code, GitHub Copilot
cost-optimizewshobson/agentsCommand42k2d agoMITA26Claude Code
deploybutterbase-ai/butterbase-skillsCommand5357d agoMITA20Claude Code
envvercel/vercel-pluginCommand328yesterdaynoneA35Claude Code
firebase-publishPierry/harness-kitCommand41mo agoMITA20Claude Code
scanprajapatimehul/claude-aws-cost-saverCommand244mo agoMITA6Claude Code
migrationdatabayt/hogwartsCommand184d agononeA4Claude Code