xiaohongshu
xiaohongshu
dotnet-aspire-starter
Creates production-ready .NET 10 Aspire projects with ASP.NET MVC + Razor + TypeScript frontend, REST API backend, Entity Framework, OpenTelemetry observability, and Polly resilience. Use when asked to create a new .NET web application, scaffold a .NET Aspire project, set up a full-stack .NET sol...
Full skill instructions
Create production-ready .NET 10 Aspire projects with minimal friction. This skill transforms a project idea into a fully configured solution with frontend, backend API, database access, observability, and resilience patterns.
A complete .NET Aspire solution including:
| Layer | Technology | Purpose |
|---|---|---|
| Orchestrator | .NET Aspire | Service orchestration, local development, cloud deployment |
| Frontend | ASP.NET MVC + Razor + TypeScript + CSS | User-facing web application |
| Backend API | ASP.NET MVC REST API | Business logic and data access |
| Database | Entity Framework Core | ORM with code-first migrations |
| Observability | OpenTelemetry + OTLP | Logs, metrics, traces (Grafana-ready) |
| Resilience | Polly.NET | Circuit breakers, retries, timeouts |
| Authentication | OIDC (prepared) | Ready-to-enable identity integration |
User provides: A project idea (e.g., "Build me a task management app")
This skill creates: A complete .NET solution ready for feature development
Ask the user for:
The scaffolder creates a base .NET Aspire project using the official template, then adds skill-specific enhancements (coding standards, AI context, VS Code configuration).
# Run as a C# script directly (no compilation needed)
dotnet run scripts/ScaffoldAspireProject/Program.cs -- \
--name "TaskManager" \
--description "A task management application for teams" \
--output "./projects"
Or build once and reuse the executable:
# Build the scaffolder (first time only)
dotnet build scripts/ScaffoldAspireProject/ScaffoldAspireProject.csproj -c Release
# Run the compiled executable
./scripts/ScaffoldAspireProject/bin/Release/net10.0/ScaffoldAspireProject \
--name "TaskManager" \
--description "A task management application for teams" \
--output "./projects"
After scaffolding, guide the user through:
appsettings.json with connection stringdotnet ef migrations add InitialSee Initial Setup Guide for detailed steps.
The user can now focus on their idea. The boilerplate is complete:
{ProjectName}.Api/Models/{ProjectName}.Api/Controllers/{ProjectName}.Web/Views/{ProjectName}.Web/Scripts/The scaffolder in two steps:
Base Project Creation: Runs dotnet new aspire-starter with your project name
Skill-Specific Enhancements: Adds on top:
.editorconfig and Directory.Build.props with Microsoft C# conventions.github/copilot-instructions.md and docs/ARCHITECTURE.md for GitHub Copilot/ClaudeThis approach keeps you aligned with Microsoft's official template while adding production-ready context and standards.
The scaffold creates this structure (plus everything from dotnet new aspire-starter):
{ProjectName}/
├── {ProjectName}.sln
├── {ProjectName}.AppHost/ # Aspire orchestrator (from template)
├── {ProjectName}.ServiceDefaults/ # Shared config (from template)
├── {ProjectName}.Api/ # REST API backend (from template)
├── {ProjectName}.Web/ # MVC + Razor frontend (from template)
├── Directory.Build.props # Our: Microsoft coding standards
├── .editorconfig # Our: Code style enforcement
├── .github/
│ └── copilot-instructions.md # Our: AI coding context
├── .vscode/
│ ├── settings.json # Our: VS Code config
│ ├── launch.json # Our: Debug configuration
│ └── tasks.json # Our: Build tasks
└── docs/
└── ARCHITECTURE.md # Our: Architecture reference
Template includes full OpenTelemetry setup. See Telemetry Setup for:
Template includes Microsoft.Extensions.Http.Resilience with sensible defaults. See Polly Configuration for:
Authentication scaffolding is in place but commented out. See OIDC Preparation for:
This skill enforces Microsoft coding standards via:
TreatWarningsAsErrorsSee Coding Standards Reference for the complete style guide.
After scaffolding, these commands are available:
# Run the full solution (frontend + API + database)
dotnet run --project {ProjectName}.AppHost
# Run migrations
dotnet ef migrations add {MigrationName} --project {ProjectName}.Api
dotnet ef database update --project {ProjectName}.Api
# Build TypeScript
npm run build --prefix {ProjectName}.Web
# Watch TypeScript during development
npm run watch --prefix {ProjectName}.Web
# Run tests
dotnet test
For maximum reuse, this skill can generate templates for direct IDE use.
The scaffold creates .vscode/ configurations including:
To create a reusable VS template from the scaffolded project:
dotnet new --install ./{ProjectName}/ --force
This registers the project as a dotnet new template. See Template Export Guide for multi-project template creation.
The scaffold creates documentation that provides context for AI coding assistants:
The generated .github/copilot-instructions.md provides:
The generated docs/ARCHITECTURE.md serves as context for:
Recommendation: When starting new features, reference these files in your prompts to maintain consistency.
Missing .NET SDK or old version:
# Check version (need .NET 10.0+)
dotnet --version
# Install from https://dotnet.microsoft.com/download
dotnet new aspire-starter template not found:
# Update .NET and workload
dotnet workload update
dotnet workload install aspire
dotnet new --list | grep aspire # Verify installation
Restore dependencies:
cd scripts/ScaffoldAspireProject
dotnet restore
Missing workload error:
dotnet workload install aspire
TypeScript compilation errors:
cd {ProjectName}.Web && npm install
Ensure the connection string in appsettings.json matches your database. For local development, the scaffold defaults to SQLite.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience