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.
curl -O https://raw.githubusercontent.com/MicrosoftLearning/trainer-demo-deploy/main/.github/prompts/generate-webapp.prompt.mdgit clone --depth 1 https://github.com/MicrosoftLearning/trainer-demo-deployWrote 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.
[](https://agentmods.dev/commands/microsoftlearning/trainer-demo-deploy/generate-webapp)<a href="https://agentmods.dev/commands/microsoftlearning/trainer-demo-deploy/generate-webapp"><img src="https://agentmods.dev/badge/commands/microsoftlearning/trainer-demo-deploy/generate-webapp/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.
<a href="https://agentmods.dev/commands/microsoftlearning/trainer-demo-deploy/generate-webapp"><img src="https://agentmods.dev/badge/commands/microsoftlearning/trainer-demo-deploy/generate-webapp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00023 | $0.00798 |
| Opus 5.5 | $0.00009 | $0.00319 |
| Sonnet 5.5 | $0.00005 | $0.00160 |
| Haiku 4.5 | $0.00002 | $0.00080 |
Grade A, and why
generate-webapp 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.
How it starts
The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate Sample Web Application
Scaffold a .NET 10 C# Razor Pages web application with industry-specific seed data, wire it into the azd framework, and validate the build.
Mission
Generate a complete, buildable sample web application that demonstrates
the Azure demo workload with realistic local data. The application must
integrate with the existing infrastructure via the azure.yaml service
configuration.
Scope & Preconditions
generated-scenarios/${input:projectName}/02-architecture-assessment.mdmust existgenerated-scenarios/${input:projectName}/infra/must contain validated Bicep templates- Read
.github/skills/az-consolidated/SKILL.mdfor naming conventions and defaults - Read
.github/skills/az-webapp-development/SKILL.mdfor .NET 10 patterns - Read
.github/instructions/az-dotnet-webapp.instructions.mdfor coding standards - Output saved to
generated-scenarios/${input:projectName}/src/{ProjectName}.Web/
Inputs
| Variable | Description | Default |
|---|---|---|
${input:projectName} |
Project name matching the generated-scenarios/ folder |
Required |
${input:industry} |
Business industry for seed data | Required |
Workflow
Step 1: Context Extraction
- Read
02-architecture-assessment.mdto identify compute targets - Determine if webapp is eligible (App Service, Container Apps, ACI, AKS)
- If compute is VM-only, skip webapp generation entirely
Step 2: Scaffold .NET 10 Project
- Run
dotnet new webapp --framework net10.0 --name {ProjectName}.Web - Set up project structure per skill patterns
Step 3: Generate Models and Seed Data
- Create entity models based on industry selection
- Generate 10-20 realistic seed records per entity as JSON
- Create
SampleDataServicefor in-memory data loading
Step 4: Build Razor Pages
- Home dashboard with entity counts and navigation
- List and Detail pages per entity type
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.
- today First seen · 100 lines · 23 tokens per session scan A cf50f75ad6a7
generate-webapp is a command published in the GitHub repository MicrosoftLearning/trainer-demo-deploy (31 stars, last pushed 11d ago), licensed MIT. It adds 23 tokens to every session and 798 once invoked, about $0.0001 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.
generate-webapp compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| generate-webappMicrosoftLearning/trainer-demo-deploy | Command | 31 | 11d ago | MIT | A | 23 | Claude Code, GitHub Copilot |
| initfcakyon/claude-codex-settings | Command | 1.2k | today | Apache-2.0 | A | 0 | Claude Code |
| http-serviceMadAppGang/magus | Command | 14 | today | MIT | A | 27 | Claude Code |
| api-contract-reviewMozurok/fhorja.dev | Command | 10 | 28d ago | MIT | A | 64 | Claude Code |
| buildAzure/ai-gateway | Command | 5 | 10d ago | MIT | A | 0 | Claude Code |
| start-10-1minicoohei/ai-agent-camp | Command | 347 | 1mo ago | none | A | 2 | Claude Code |
| fastapimfmezger/ai_agent_dotfiles | Command | 7 | 3mo ago | MIT | A | 84 | Claude Code, Gemini CLI |