dotnet-expert

Community

Master .NET 8.0 WPF development, optimize C# code.

Authormikha08-rgb
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides expert guidance for .NET 8.0 WPF development, addressing common issues like memory leaks, UI thread blocking, and incorrect async patterns, ensuring VoiceLite's desktop application is robust and performant.

Core Features & Use Cases

  • Disposal Patterns: Emphasizes correct IDisposable implementation for resources like NAudio to prevent memory leaks.
  • UI Thread Safety: Guides on using the Dispatcher for safe UI updates from background threads.
  • Async/Await Best Practices: Explains proper async void for event handlers and ConfigureAwait(false) for non-UI code to prevent deadlocks.
  • Use Case: When refactoring VoiceLite's audio recording, use this skill to ensure that WaveInEvent resources are correctly disposed using the IDisposable pattern, preventing memory leaks and ensuring application stability.

Quick Start

Review the AudioRecorder class in VoiceLite for proper IDisposable implementation to prevent memory leaks, ensuring WaveInEvent resources are correctly released.

Dependency Matrix

Required Modules

NAudioH.InputSimulatorHardcodet.NotifyIcon.WpfSystem.Text.JsonSystem.ManagementMoqFluentAssertionsxUnit

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: dotnet-expert
Download link: https://github.com/mikha08-rgb/VoiceLite/archive/main.zip#dotnet-expert

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.