From rkit
.NET DI/패턴/테스트 가이드. Microsoft.Extensions.DI, xUnit, async/await 패턴. Triggers: .NET, C#, DI, dependency injection, xUnit, async, pattern
npx claudepluginhub solitasroh/rkit --plugin rkitThis skill is limited to using the following tools:
```csharp
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
var services = new ServiceCollection()
.AddSingleton<ISerialService, SerialService>()
.AddTransient<MainViewModel>()
.BuildServiceProvider();
public class MainViewModelTests
{
[Fact]
public void Increment_ShouldIncreaseCount()
{
var vm = new MainViewModel(Mock.Of<IDataService>());
vm.IncrementCommand.Execute(null);
Assert.Equal(1, vm.Count);
}
}
ViewModel tests run WITHOUT WPF runtime (key MVVM benefit).
[RelayCommand]
private async Task LoadAsync()
{
IsLoading = true;
try { Data = await _service.GetDataAsync(); }
finally { IsLoading = false; }
}
appsettings.json (add Microsoft.Extensions.Configuration manually)App.config (ConfigurationManager, built-in)