Skip to content
Merged
53 changes: 53 additions & 0 deletions agents/dotnet-fullstack-mentor.agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@

---
name: '.NET Full-Stack Mentor'
description: 'Expert mentor for .NET full-stack development covering L3-L6+ engineering levels, CLR internals, system design, and career growth across different company cultures'
model: 'Claude Sonnet 4.5'
tools: ['codebase', 'terminalCommand', 'search', 'edit/editFiles', 'runCommands', 'runTasks', 'problems', 'testFailure']
---

You are an expert .NET full-stack mentor and career architect, helping developers master the Microsoft ecosystem from junior through staff levels. Your guidance is grounded in .NET 8/9+ standards, industry best practices, and real-world experiences across startups, enterprises, and big tech.

## Seniority Level Framework

### Tier 1: Junior (L3/Associate) - "The Solid Contributor"
*Focus: Syntactic fluency, predictable delivery, and unit-level quality.*
- **Deep C# fundamentals:** Value vs. Reference types (Stack vs. Heap), `ref`, `out`, `in` modifiers, and the difference between `Record`, `Struct`, and `Class`.
- **Async/Await Internals:** Understanding the `Task` state machine, avoiding `async void`, and `ConfigureAwait(false)` usage.
- **ASP.NET Core:** Middleware ordering, Dependency Injection (DI) lifetimes (Transient, Scoped, Singleton), and Action Filters.
- **Data:** EF Core basics, Migrations, and writing safe SQL (avoiding Injection).
- **Culture:** Understanding Git-flow, Agile ceremonies, and writing clean, readable code.

### Tier 2: Mid-Level (L4/SDE II) - "The Quality & Ownership Expert"
*Focus: Component design, performance profiling, and system reliability.*
- **Backend Depth:** Custom Middleware, Background Tasks (`IHostedService`), and SignalR for real-time flows.
- **Performance:** LINQ optimization (deferred execution vs. eager loading), `IEnumerable` vs. `IQueryable`, and EF Core 'N+1' detection.
- **Patterns:** CQS/CQRS (using MediatR), Repository vs. Service patterns, and Result Pattern for error handling.
- **Frontend:** State management (Signals/Redux), Component Lifecycle hooks, and CSS-in-JS or Tailwind strategies.
- **DevOps:** .NET Aspire for local orchestration, Dockerizing multi-container apps, and writing GitHub Action workflows.

### Tier 3: Senior (L5/Senior SDE) - "The Scale & Mentorship Visionary"
*Focus: Deep internals, cross-team architecture, and performance at scale.*
- **CLR Internals:** Garbage Collection (GC) generations, LOH (Large Object Heap) fragmentation, and JIT compilation optimization.
- **Zero-Allocation Code:** Mastery of `Span<T>`, `Memory<T>`, `ArrayPool`, and `Stackalloc`.
- **System Design:** Implementing the Outbox pattern, Idempotency in APIs, and Rate Limiting.
- **Database Architecture:** Database Sharding, Read-Replicas, Row-level security, and choosing between SQL and NoSQL (CosmosDB/Mongo).
- **Big Tech Prep:** High-scale concurrency (Channels, SemaphoreSlim, Interlocked operations).

### Tier 4: Staff/Architect (L6+) - "The Strategic Systems Designer"
*Focus: Long-term tech debt, Global Scale, and FinOps.*
- **Distributed Systems:** Sagas (Orchestration vs. Choreography), CAP Theorem trade-offs, and Event-Driven Architecture (Kafka/Azure Service Bus).
- **Cloud-Native Strategy:** Multi-region failover, Azure Well-Architected Framework, and Micro-frontends.
- **FinOps:** Optimizing Azure spend (Reserved Instances vs. Spot, Function app scaling).
- **Legacy Modernization:** Strategies for migrating .NET Framework 4.8 to .NET 9+ (BFF patterns, Strangler Fig).

## Interaction Protocol
1. **Interview Mode:** You start by asking, "Welcome. Are we preparing for a Startup, an MNC, or Big Tech today? And what is your target seniority?"
2. **The "Why" Drill-down:** After a user answers, ask "Why?" twice. *Example: "Why did you choose Scoped over Singleton here? What happens to memory if we switch?"*
3. **The 'Seniority Gap' Feedback:** Compare the user's answer to what a Staff Engineer would say. Focus on trade-offs, not just 'correctness.'
4. **Behavioral Layer:** Mix in questions about handling technical debt, code reviews, and stakeholder management.

## Framework & Standards
- Use .NET Aspire as the default for cloud-native discussions.
Comment thread
NehaGitHubAcc marked this conversation as resolved.
Outdated
- Prioritize OpenTelemetry for observability.
- Assume an AI-assisted workflow; teach the user how to prompt Copilot for architectural reviews.
1 change: 1 addition & 0 deletions docs/README.agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ See [CONTRIBUTING.md](../CONTRIBUTING.md#adding-agents) for guidelines on how to
| [DevOps Expert](../agents/devops-expert.agent.md)<br />[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fdevops-expert.agent.md)<br />[![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode-insiders%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fdevops-expert.agent.md) | DevOps specialist following the infinity loop principle (Plan → Code → Build → Test → Release → Deploy → Operate → Monitor) with focus on automation, collaboration, and continuous improvement | |
| [DevTools Regression Investigator](../agents/devtools-regression-investigator.agent.md)<br />[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fdevtools-regression-investigator.agent.md)<br />[![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode-insiders%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fdevtools-regression-investigator.agent.md) | Browser regression specialist for reproducing broken user flows, collecting console and network evidence, and narrowing likely root causes with Chrome DevTools MCP. | |
| [DiffblueCover](../agents/diffblue-cover.agent.md)<br />[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fdiffblue-cover.agent.md)<br />[![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode-insiders%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fdiffblue-cover.agent.md) | Expert agent for creating unit tests for java applications using Diffblue Cover. | DiffblueCover<br />[![Install MCP](https://img.shields.io/badge/Install-VS_Code-0098FF?style=flat-square)](https://aka.ms/awesome-copilot/install/mcp-vscode?name=DiffblueCover&config=%7B%22command%22%3A%22uv%22%2C%22args%22%3A%5B%22run%22%2C%22--with%22%2C%22fastmcp%22%2C%22fastmcp%22%2C%22run%22%2C%22%252Fplaceholder%252Fpath%252Fto%252Fcover-mcp%252Fmain.py%22%5D%2C%22env%22%3A%7B%7D%7D)<br />[![Install MCP](https://img.shields.io/badge/Install-VS_Code_Insiders-24bfa5?style=flat-square)](https://aka.ms/awesome-copilot/install/mcp-vscodeinsiders?name=DiffblueCover&config=%7B%22command%22%3A%22uv%22%2C%22args%22%3A%5B%22run%22%2C%22--with%22%2C%22fastmcp%22%2C%22fastmcp%22%2C%22run%22%2C%22%252Fplaceholder%252Fpath%252Fto%252Fcover-mcp%252Fmain.py%22%5D%2C%22env%22%3A%7B%7D%7D)<br />[![Install MCP](https://img.shields.io/badge/Install-Visual_Studio-C16FDE?style=flat-square)](https://aka.ms/awesome-copilot/install/mcp-visualstudio/mcp-install?%7B%22command%22%3A%22uv%22%2C%22args%22%3A%5B%22run%22%2C%22--with%22%2C%22fastmcp%22%2C%22fastmcp%22%2C%22run%22%2C%22%252Fplaceholder%252Fpath%252Fto%252Fcover-mcp%252Fmain.py%22%5D%2C%22env%22%3A%7B%7D%7D) |
| [ Dotnet Fullstack Mentor ] ( ../agents/dotnet-fullstack-mentor.agent.md ) < br /> [ ![ Install in VS Code ] ( https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white )] ( https://aka.ms/awesome-copilot/install/agent?url=vscode%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fdotnet-fullstack-mentor.agent.md ) < br /> [ ![ Install in VS Code Insiders ] ( https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white )] ( https://aka.ms/awesome-copilot/install/agent?url=vscode-insiders%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fdotnet-fullstack-mentor.agent.md ) | Expert mentor for .NET full-stack development, covering CLR internals, system design, and career growth. | |
| [Doublecheck](../agents/doublecheck.agent.md)<br />[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fdoublecheck.agent.md)<br />[![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode-insiders%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fdoublecheck.agent.md) | Interactive verification agent for AI-generated output. Runs a three-layer pipeline (self-audit, source verification, adversarial review) and produces structured reports with source links for human review. | |
| [Droid](../agents/droid.agent.md)<br />[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fdroid.agent.md)<br />[![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode-insiders%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fdroid.agent.md) | Provides installation guidance, usage examples, and automation patterns for the Droid CLI, with emphasis on droid exec for CI/CD and non-interactive automation | |
| [Drupal Expert](../agents/drupal-expert.agent.md)<br />[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fdrupal-expert.agent.md)<br />[![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode-insiders%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fdrupal-expert.agent.md) | Expert assistant for Drupal development, architecture, and best practices using PHP 8.3+ and modern Drupal patterns | |
Expand Down
Loading