Skip to content

Configuration

PropertyDefaultDescription
ShinyDIExtensionMethodNameAddGeneratedServicesName of the generated extension method
ShinyDIExtensionNamespaceGlobal namespaceNamespace for the generated code
ShinyDIExtensionInternalAccessorfalseGenerate internal instead of public extension method
<PropertyGroup>
<ShinyDIExtensionMethodName>AddMyServices</ShinyDIExtensionMethodName>
<ShinyDIExtensionNamespace>My.Namespace</ShinyDIExtensionNamespace>
<ShinyDIExtensionInternalAccessor>true</ShinyDIExtensionInternalAccessor>
</PropertyGroup>

An AI skill is available for Shiny DI to help generate attribute-driven service registrations, keyed services, and follow best practices directly in your IDE.

Claude Code

Terminal window
claude plugin add github:shinyorg/skills

GitHub Copilot — Copy the shiny-di skill file into your repository’s custom instructions.