azure-artifacts
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAzure Artifacts Skill
Azure Artifacts 技能指南
This skill provides expert guidance for Azure Artifacts. Covers best practices, decision making, limits & quotas, security, configuration, integrations & coding patterns, and deployment. It combines local quick-reference content with remote documentation fetching capabilities.
本技能提供Azure Artifacts的专业指导,涵盖最佳实践、决策制定、限制与配额、安全性、配置、集成与编码模式以及部署。它结合了本地快速参考内容与远程文档获取能力。
How to Use This Skill
如何使用本技能
IMPORTANT for Agent: Use the Category Index below to locate relevant sections. For categories with line ranges (e.g.,), useL35-L120with the specified lines. For categories with file links (e.g.,read_file), use[security.md](security.md)on the linked reference fileread_file
IMPORTANT for Agent: Ifis more than 3 months old, suggest the user pull the latest version from the repository. Ifmetadata.generated_attools are not available, suggest the user install it: Installation Guidemcp_microsoftdocs
This skill requires network access to fetch documentation content:
- Preferred: Use with query string
mcp_microsoftdocs:microsoft_docs_fetch. Returns Markdown.from=learn-agent-skill - Fallback: Use with query string
fetch_webpage. Returns Markdown.from=learn-agent-skill&accept=text/markdown
Agent 注意事项:使用下方的分类索引定位相关章节。对于带有行号范围的分类(如),使用L35-L120工具读取指定行内容。对于带有文件链接的分类(如read_file),使用[security.md](security.md)工具读取链接的参考文件read_file
本技能需要网络访问权限以获取文档内容:
- 首选方式:使用工具,携带查询字符串
mcp_microsoftdocs:microsoft_docs_fetch,返回Markdown格式内容。from=learn-agent-skill - 备选方式:使用工具,携带查询字符串
fetch_webpage,返回Markdown格式内容。from=learn-agent-skill&accept=text/markdown
Category Index
分类索引
| Category | Lines | Description |
|---|---|---|
| Best Practices | L35-L41 | Guidance on Azure Artifacts package management best practices, configuring and using upstream sources, and safely restoring packages from external feeds. |
| Decision Making | L42-L48 | Guidance on choosing feed scope and planning migrations of package storage, including moving from file shares or MyGet to Azure Artifacts feeds. |
| Limits & Quotas | L49-L56 | Storage quotas, free allocation, and per-package size/count limits in Azure Artifacts, plus how to monitor, manage, and publish packages within those limits. |
| Security | L57-L63 | Securing Azure Artifacts feeds: configuring permissions, protecting upstream sources from malicious packages, and using npm audit to find and fix vulnerabilities. |
| Configuration | L64-L75 | Configuring Azure Artifacts feeds: views/promotion, retention/deletion, upstream sources, npm/.npmrc and scopes, and .artifactignore for optimizing pipeline artifacts. |
| Integrations & Coding Patterns | L76-L118 | How to connect build tools and CLIs (Cargo, Maven, Gradle, npm, NuGet, Python, PowerShell, Universal) to Azure Artifacts feeds, publish/restore packages, and use upstream sources. |
| Deployment | L119-L122 | Using GitHub Actions to build and push packages (NuGet, npm, etc.) to Azure Artifacts feeds, including workflow setup, authentication, and CI/CD integration. |
| 分类 | 行号 | 描述 |
|---|---|---|
| 最佳实践 | L35-L41 | Azure Artifacts包管理最佳实践、配置和使用上游源以及从外部源安全还原包的相关指导。 |
| 决策制定 | L42-L48 | 关于选择源范围以及规划包存储迁移(包括从文件共享或MyGet迁移至Azure Artifacts源)的指导。 |
| 限制与配额 | L49-L56 | Azure Artifacts中的存储配额、免费分配额度、单包大小/数量限制,以及如何在这些限制内监控、管理和发布包。 |
| 安全性 | L57-L63 | 保护Azure Artifacts源:配置权限、防护上游源免受恶意包侵害,以及使用npm audit查找并修复漏洞。 |
| 配置 | L64-L75 | 配置Azure Artifacts源:视图/晋升、保留/删除、上游源、npm/.npmrc与作用域,以及使用.artifactignore优化流水线制品。 |
| 集成与编码模式 | L76-L118 | 如何将构建工具和CLI(Cargo、Maven、Gradle、npm、NuGet、Python、PowerShell、Universal)连接到Azure Artifacts源,发布/还原包,以及使用上游源。 |
| 部署 | L119-L122 | 使用GitHub Actions构建并推送包(NuGet、npm等)至Azure Artifacts源,包括工作流设置、身份验证和CI/CD集成。 |
Best Practices
最佳实践
| Topic | URL |
|---|---|
| Apply Azure Artifacts package management best practices | https://learn.microsoft.com/en-us/azure/devops/artifacts/concepts/best-practices?view=azure-devops |
| Use Azure Artifacts upstream sources effectively and safely | https://learn.microsoft.com/en-us/azure/devops/artifacts/concepts/upstream-sources?view=azure-devops |
| Restore packages from upstream sources in Azure Artifacts safely | https://learn.microsoft.com/en-us/azure/devops/artifacts/tutorials/protect-oss-packages-with-upstream-sources?view=azure-devops |
Decision Making
决策制定
| Topic | URL |
|---|---|
| Choose between project-scoped and organization-scoped feeds | https://learn.microsoft.com/en-us/azure/devops/artifacts/feeds/project-scoped-feeds?view=azure-devops |
| Plan migration from file shares to Azure Artifacts | https://learn.microsoft.com/en-us/azure/devops/artifacts/nuget/move-from-fileshares?view=azure-devops |
| Migrate NuGet packages from MyGet to Azure Artifacts | https://learn.microsoft.com/en-us/azure/devops/artifacts/tutorials/migrate-packages?view=azure-devops |
| 主题 | URL |
|---|---|
| 在项目范围和组织范围源之间做出选择 | https://learn.microsoft.com/en-us/azure/devops/artifacts/feeds/project-scoped-feeds?view=azure-devops |
| 规划从文件共享迁移至Azure Artifacts | https://learn.microsoft.com/en-us/azure/devops/artifacts/nuget/move-from-fileshares?view=azure-devops |
| 将NuGet包从MyGet迁移至Azure Artifacts | https://learn.microsoft.com/en-us/azure/devops/artifacts/tutorials/migrate-packages?view=azure-devops |
Limits & Quotas
限制与配额
| Topic | URL |
|---|---|
| Monitor and manage Azure Artifacts storage limits | https://learn.microsoft.com/en-us/azure/devops/artifacts/artifact-storage?view=azure-devops |
| Publish Universal Packages and understand size limits | https://learn.microsoft.com/en-us/azure/devops/artifacts/quickstarts/universal-packages?view=azure-devops |
| Azure Artifacts package size and count limits | https://learn.microsoft.com/en-us/azure/devops/artifacts/reference/limits?view=azure-devops |
| Understand Azure Artifacts free storage allocation | https://learn.microsoft.com/en-us/azure/devops/artifacts/start-using-azure-artifacts?view=azure-devops |
Security
安全性
| Topic | URL |
|---|---|
| Secure Azure Artifacts upstream sources against malicious packages | https://learn.microsoft.com/en-us/azure/devops/artifacts/concepts/upstream-behavior?view=azure-devops |
| Configure Azure Artifacts feed and pipeline permissions | https://learn.microsoft.com/en-us/azure/devops/artifacts/feeds/feed-permissions?view=azure-devops |
| Use npm audit with Azure Artifacts to address vulnerabilities | https://learn.microsoft.com/en-us/azure/devops/artifacts/npm/npm-audit?view=azure-devops |
| 主题 | URL |
|---|---|
| 保护Azure Artifacts上游源免受恶意包侵害 | https://learn.microsoft.com/en-us/azure/devops/artifacts/concepts/upstream-behavior?view=azure-devops |
| 配置Azure Artifacts源和流水线权限 | https://learn.microsoft.com/en-us/azure/devops/artifacts/feeds/feed-permissions?view=azure-devops |
| 使用npm audit与Azure Artifacts解决漏洞 | https://learn.microsoft.com/en-us/azure/devops/artifacts/npm/npm-audit?view=azure-devops |
Configuration
配置
| 主题 | URL |
|---|---|
| 配置和管理Azure Artifacts源视图与晋升 | https://learn.microsoft.com/en-us/azure/devops/artifacts/feeds/views?view=azure-devops |
| 配置Azure Artifacts的删除、保留与恢复 | https://learn.microsoft.com/en-us/azure/devops/artifacts/how-to/delete-and-recover-packages?view=azure-devops |
| 在公共Azure Artifacts源上启用上游源 | https://learn.microsoft.com/en-us/azure/devops/artifacts/how-to/public-feeds-upstream-sources?view=azure-devops |
| 在Azure Artifacts中启用和搜索上游源 | https://learn.microsoft.com/en-us/azure/devops/artifacts/how-to/search-upstream?view=azure-devops |
| 为Azure Artifacts源配置上游源 | https://learn.microsoft.com/en-us/azure/devops/artifacts/how-to/set-up-upstream-sources?view=azure-devops |
| 配置.npmrc以将npm连接到Azure Artifacts | https://learn.microsoft.com/en-us/azure/devops/artifacts/npm/npmrc?view=azure-devops |
| 为Azure Artifacts源配置npm作用域 | https://learn.microsoft.com/en-us/azure/devops/artifacts/npm/scopes?view=azure-devops |
| 配置.artifactignore以优化Azure Pipelines制品 | https://learn.microsoft.com/en-us/azure/devops/artifacts/reference/artifactignore?view=azure-devops |
Integrations & Coding Patterns
集成与编码模式
Deployment
部署
| Topic | URL |
|---|---|
| Use GitHub Actions workflows to push packages to Azure Artifacts | https://learn.microsoft.com/en-us/azure/devops/artifacts/quickstarts/github-actions?view=azure-devops |
| 主题 | URL |
|---|---|
| 使用GitHub Actions工作流将包推送到Azure Artifacts | https://learn.microsoft.com/en-us/azure/devops/artifacts/quickstarts/github-actions?view=azure-devops |