shiny-core
Installation
SKILL.md
Shiny Core
Shiny.Core is the foundational library for the Shiny ecosystem. It provides the hosting model, platform abstractions, lifecycle hooks, connectivity/battery monitoring, and the AOT-friendly type registry that all other Shiny modules build upon. Storage and DI registration are layered on via the Shiny.Extensions.DependencyInjection and Shiny.Extensions.Stores source-generated packages — these are pulled in transitively by Shiny.Core so you don't add them manually.
When to Use This Skill
- The user needs to set up Shiny hosting in a MAUI, native, Blazor, or Linux/macOS app
- The user asks about
IHost,HostBuilder, orUseShiny - The user needs key-value storage (
IKeyValueStore, settings, secure store) viaShiny.Extensions.Stores - The user wants source-generated persistence with
[Bind]partial properties or a service-attributed DI registration with[Service]/[Singleton]/[Scoped]/[Transient] - The user asks about platform abstractions (
IPlatform, directories, main thread invocation) - The user needs Android, iOS, or macOS lifecycle hooks (
IAndroidLifecycle,IIosLifecycle,IMacLifecycle) - The user needs startup tasks (
IShinyStartupTask,ShinyLifecycleTask) - The user asks about
AccessState, permission handling, orPermissionException - The user needs network connectivity monitoring (
IConnectivity) or battery status (IBattery) - The user needs an entity repository (
IRepository,IRepositoryEntity) — provided byShiny.Extensions.Stores - The user asks about remote configuration (
IRemoteConfigurationProvider) orShiny.Extensions.Configuration - The user needs observable collections (
INotifyReadOnlyCollection<T>,INotifyCollectionChanged<T>,BindingList<T>)