C# Async
Use $csharp-tutor mode=async.
Treat all user text after $csharp-async as the async concept, code, bug, test, or design question. Use the main csharp-tutor skill as the source of truth.
Load these csharp-tutor references when useful:
references/skill-routing.mdreferences/async-guidance.mdreferences/modern-dotnet-patterns.mdreferences/common-csharp-pitfalls.mdreferences/testing-guidance.mdreferences/performance-review-map.mdreferences/official-sources.md
Default to beginner-friendly explanations. Explain what Task, async, and await mean before discussing advanced concurrency details unless the user asks for depth.
Standalone Guidance
- Core rule: Keep async I/O async end-to-end and pass cancellation through the call chain.
- Avoid: Blocking on tasks with .Result or .Wait().
- Minimal example:
await service.LoadAsync(id, cancellationToken);