What problem does it solve?
Writing or modifying System.Net networking code in dotnet/runtime requires deep knowledge of resource lifecycle, connection pooling, cross-platform interop, protocol compliance, async patterns, and security defaults, and mistakes in these areas cause leaks, protocol violations, or security regressions.
Core Features & Use Cases
- Decision Frameworks: Provides six structured decision trees covering resource lifecycle, connection pooling, P/Invoke interop, HTTP/QUIC protocol compliance, async patterns, and TLS security posture.
- Code Patterns: Supplies concrete do/don't C# examples for NetEventSource tracing, SocketAsyncEventArgs reuse, pool returns, SslStream configuration, ArrayPool buffers, HTTP/2 flow control, and cancellation plumbing.
- Review Delegation: Routes full code reviews to the @system-net-review agent with severity-weighted checklists while this skill supplies authoring guidance.
- Use Case: When modifying SocketsHttpHandler connection pooling logic, consult the pooling framework to ensure connections are validated before return, locks are never held across awaits, and pool disposal drains all waiters.
Quick Start
Ask the assistant to review or help write System.Net networking code, such as "review my changes to SslStream certificate validation using the system-net-review guidance."