configure-telerik-nuget
Helper for configuring Telerik NuGet source credentials and nuget.config files.
Install
mkdir -p .claude/skills/configure-telerik-nuget && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14874" && unzip -o skill.zip -d .claude/skills/configure-telerik-nuget && rm skill.zipInstalls to .claude/skills/configure-telerik-nuget
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Helps setup, configure and manage Telerik NuGet feeds in your repo's nuget.config file.Key capabilities
- →Set a global user environment variable for an API key
- →Update `nuget.config` to use an environment variable for credentials
- →Create `nuget.config` if it does not exist
- →Add or update package sources in `nuget.config`
- →Add or update package source credentials in `nuget.config`
How it works
The skill sets a user-level environment variable for the Telerik API key and then modifies the `nuget.config` file to reference this environment variable for credentials.
Inputs & outputs
When to use configure-telerik-nuget
- →Configure Telerik NuGet feed
- →Update nuget.config for Telerik
- →Manage API key security
About this skill
Use these helper functions to manage Telerik NuGet source configuration.
Get a new api key at https://www.telerik.com/account/downloads/api-keys
Function: configure
Sets a global user environment variable for the Telerik API key and updates/creates nuget.config so credentials use the environment variable instead of a hardcoded secret.
function Configure-TelerikNuGetSource {
param(
[Parameter(Mandatory = $true)]
[string]$ApiKey,
[string]$ApiKeyEnvVarName = "TELERIK_NUGET_API_KEY",
[string]$SourceName = "Telerik_NuGet_Server",
[string]$SourceUrl = "https://nuget.telerik.com/v3/index.json",
[string]$NuGetConfigPath = "./nuget.config"
)
# Store API key as a user-level environment variable so it is available globally
[Environment]::SetEnvironmentVariable($ApiKeyEnvVarName, $ApiKey, "User")
$env:$ApiKeyEnvVarName = $ApiKey
if (-not (Test-Path $NuGetConfigPath)) {
@"
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources />
<packageSourceCredentials />
</configuration>
"@ | Set-Content -Path $NuGetConfigPath -Encoding UTF8
}
[xml]$nugetConfig = Get-Content -Path $NuGetConfigPath
if (-not $nugetConfig.configuration.packageSources) {
$packageSourcesNode = $nugetConfig.CreateElement("packageSources")
$nugetConfig.configuration.AppendChild($packageSourcesNode) | Out-Null
}
if (-not $nugetConfig.configuration.packageSourceCredentials) {
$credentialsNode = $nugetConfig.CreateElement("packageSourceCredentials")
$nugetConfig.configuration.AppendChild($credentialsNode) | Out-Null
}
$existingSource = $nugetConfig.configuration.packageSources.add | Where-Object {
$_.key -eq $SourceName
}
if ($existingSource) {
$existingSource.value = $SourceUrl
} else {
$sourceNode = $nugetConfig.CreateElement("add")
$sourceNode.SetAttribute("key", $SourceName)
$sourceNode.SetAttribute("value", $SourceUrl)
$nugetConfig.configuration.packageSources.AppendChild($sourceNode) | Out-Null
}
$existingCredentialNode = $nugetConfig.configuration.packageSourceCredentials.$SourceName
if (-not $existingCredentialNode) {
$existingCredentialNode = $nugetConfig.CreateElement($SourceName)
$nugetConfig.configuration.packageSourceCredentials.AppendChild($existingCredentialNode) | Out-Null
}
$existingCredentialNode.RemoveAll()
$usernameNode = $nugetConfig.CreateElement("add")
$usernameNode.SetAttribute("key", "Username")
$usernameNode.SetAttribute("value", "api-key")
$existingCredentialNode.AppendChild($usernameNode) | Out-Null
$passwordNode = $nugetConfig.CreateElement("add")
$passwordNode.SetAttribute("key", "ClearTextPassword")
$passwordNode.SetAttribute("value", "%$ApiKeyEnvVarName%")
$existingCredentialNode.AppendChild($passwordNode) | Out-Null
$nugetConfig.Save((Resolve-Path $NuGetConfigPath))
Write-Host "Configured Telerik feed '$SourceName' in '$NuGetConfigPath'."
Write-Host "Saved API key in user environment variable '$ApiKeyEnvVarName'."
Write-Host "Restart your terminal/IDE so new processes can read the updated environment variable."
}
Example usage:
Configure-TelerikNuGetSource -ApiKey "<telerik-api-key>"
Changelog
1.1.0 - 2026-03-20
- Added skill package metadata:
required_binaries,author,homepage, andsource. - Updated configure function to save API key as a user-level environment variable.
- Updated
nuget.configcredential handling to use environment variable expansion instead of hardcoded API key values. - Added
versionfield to frontmatter.
When not to use it
- →When not managing Telerik NuGet feeds
- →When not using `nuget.config` for package sources
- →When not needing to secure API keys via environment variables
Prerequisites
Limitations
- →Specifically configures Telerik NuGet feeds
- →Requires `pwsh` and `dotnet` binaries
- →API key is stored as a user-level environment variable
How it compares
This skill automates the secure configuration of Telerik NuGet feeds by using environment variables, which is more secure than manually embedding API keys in configuration files.
Compared to similar skills
configure-telerik-nuget side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| configure-telerik-nuget (this skill) | 0 | 4mo | No flags | Beginner |
| update-roslyn-version | 2 | 3mo | Review | Advanced |
| appinsights-instrumentation | 6 | 7mo | Review | Beginner |
| dependency-update | 1 | 2mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
update-roslyn-version
dotnet
Guide for updating the Roslyn language server version in the vscode-csharp repository. Use this when asked to update Roslyn, bump the Roslyn version, or upgrade the language server version.
appinsights-instrumentation
github
Instrument a webapp to send useful telemetry data to Azure App Insights
dependency-update
dotnet
Guides dependency version updates by checking nuget.org for latest versions, triggering the dotnet-migrate-package Azure DevOps pipeline, and monitoring runs. Use this when asked to update external NuGet dependencies.
run-helix-tests
dotnet
Submit and monitor .NET MAUI unit tests on Helix infrastructure. Supports running XAML, Resizetizer, Core, Essentials, and other unit test projects on distributed Helix queues.
run-integration-tests
dotnet
Build, pack, and run .NET MAUI integration tests locally. Validates templates, samples, and end-to-end scenarios using the local workload.
aspire
davidortinau
**WORKFLOW SKILL** - Orchestrates Aspire applications using the Aspire CLI and MCP tools for running, debugging, deploying, and managing distributed apps. USE FOR: aspire run, aspire stop, aspire deploy, start aspire app, aspire describe, list aspire integrations, debug aspire issues, view aspire lo