home / skills / ntaksh42 / agents / azure-artifacts-manager
This skill helps you manage Azure Artifacts feeds, publish packages, and control access across npm, NuGet, and universal packages.
npx playbooks add skill ntaksh42/agents --skill azure-artifacts-managerReview the files below or copy the command above to add this skill to your agents.
---
name: azure-artifacts-manager
description: Manage Azure Artifacts including package feeds, versions, and dependencies. Use when publishing or managing artifact packages.
---
# Azure Artifacts Manager Skill
Azure Artifactsでパッケージを管理するスキルです。
## 主な機能
- **Feedの作成**: npm、NuGet、Maven、Python
- **パッケージ公開**: ビルド成果物の公開
- **パッケージ管理**: バージョン管理
- **アクセス制御**: 権限設定
## Feed作成
```bash
# npm Feed作成
az artifacts feed create \
--name "my-npm-feed" \
--feed-type npm
# NuGet Feed
az artifacts feed create \
--name "my-nuget-feed" \
--feed-type nuget
# Universal Packages
az artifacts feed create \
--name "my-universal-feed" \
--feed-type universal
```
## パッケージ公開
### npm
```yaml
steps:
- task: Npm@1
inputs:
command: 'publish'
publishRegistry: 'useFeed'
publishFeed: 'my-npm-feed'
```
### NuGet
```yaml
steps:
- task: NuGetCommand@2
inputs:
command: 'push'
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg'
nuGetFeedType: 'internal'
publishVstsFeed: 'my-nuget-feed'
```
### Universal Packages
```bash
az artifacts universal publish \
--organization https://dev.azure.com/myorg \
--feed my-universal-feed \
--name my-package \
--version 1.0.0 \
--path ./dist
```
## .npmrc設定
```ini
registry=https://pkgs.dev.azure.com/myorg/_packaging/my-npm-feed/npm/registry/
always-auth=true
```
## バージョン情報
- Version: 1.0.0
This skill manages Azure Artifacts feeds, packages, versions, and access control to streamline publishing and consumption of npm, NuGet, Maven, Python, and universal packages. It is designed to automate feed creation, package publishing, version management, and permission configuration within Azure DevOps. Use it to centralize artifact distribution and maintain consistent package lifecycles across projects.
The skill interacts with Azure Artifacts via the Azure CLI and Azure DevOps pipeline tasks to create feeds, publish packages, and manage versions. It configures registries (for example .npmrc), runs publish or push steps in pipelines, and can publish universal packages using the az artifacts commands. Access control is handled by configuring feed permissions and feed types appropriate to package ecosystems.
Which package types are supported?
npm, NuGet, Maven, Python, and Universal Packages are supported.
How do I publish from CI?
Use pipeline tasks like Npm@1 or NuGetCommand@2, or call az artifacts universal publish in scripts with proper service connections and credentials.