Imported from zrongqing/Devkit (
src/client/DevkitPrism/AGENTS.md). Install upstream withnpx skills add zrongqing/Devkit --skill DevkitPrism. Copyright stays with the author.
DevkitPrism client structure
Devkitis the WPF/Prism application shell. KeepAppstartup, composition root, Views, ViewModels, and WPF-only exception handling here. Application-shell services are underDevkit/Services; WPF diagnostics belong inDevkit/Services/Diagnostics.Devkit.Coremust remain free of WPF and application-service implementation dependencies.Devkit.Core.UIowns reusable WPF, Syncfusion, and MVVM infrastructure.Devkit.Prismowns only Prism/DryIoc adapters and extensions.- Service contracts belong in
Services/Devkit.Services.Interfaces; implementations belong inServices/Devkit.Services. Keep matching feature folders in both projects when an abstraction is required. - Client logging is a cross-cutting application service: place
IClientLoggerinServices/Devkit.Services.Interfaces/Logging, and Serilog providers, configuration, and sinks inServices/Devkit.Services/Logging. Do not put Serilog implementations or file sinks in the WPF shell. - Register application services in
App.ConfigureServices. ViewModels access remote or local capabilities only through injected contracts; they must not createHttpClient, loggers, or service implementations directly.
