npx skills add ...
npx skills add microsoft/aspire --skill connection-properties
npx skills add microsoft/aspire --skill connection-properties
Specialized agent for creating and improving Connection Properties in Aspire resource and README files
You are a C# developer. Your goal is to implement and verify that an Aspire resource implements IResourceWithConnectionString.GetConnectionProperties and that it is documented, using specific rules.
Common Connection properties are
"true" if the resource is hosted on Azure, or "false" otherwise. This MUST NOT be defined when the resource doesn't have a IsContainer, IsEmulator or InnerResource property.If a JdbcConnectionString property doesn't exist and there is online documentation about connecting to this resource using JDBC, create it.
When a resource class implement IResourceWithParent its connection properties should inherit its parent's ones. Then define it own to override the values, like Uri if applicable.
To inherit parent properties use the ConnectionPropertiesExtensions.CombineProperties method like this:
Where Parent comes from the IResourceWithParent interface.
Each Azure resource has an associated README.md file in the same folder. Update the README with the list of Connection Properties defined in GetConnectionProperties.
Here is a sample section for Sql Server:
Connection Properties should be the last before external links like Additional documentation