azure-pipelines-generator
БесплатноБез исполняемых скриптовНе проверенGenerate/create/scaffold azure-pipelines.yml, stages, jobs, steps, or reusable templates.
от akin-ozer★ 346 звёзд на GitHubОб этом скилле
Azure Pipelines Generator
Generate production-ready Azure DevOps pipeline YAML with deterministic steps, explicit fallbacks, and clear completion criteria.
Trigger Guidance
Use this skill when the user asks to generate or redesign Azure Pipelines YAML, for example:
- "Create
azure-pipelines.ymlfor my Node service." - "Build a multi-stage Azure DevOps pipeline with staging and production."
- "Generate Azure pipeline templates for reuse across repos."
- "Convert this CI flow to Azure Pipelines."
Do not use this skill for validation-only requests. For validation-only work, use azure-pipelines-validator.
Execution Model
Normative keywords:
MUST: requiredSHOULD: default unless user asks otherwiseMAY: optional
Deterministic sequence:
- Classify request mode.
- Capture minimum required inputs.
- Load minimum references (progressive disclosure).
- Generate YAML using the quality checklist.
- Validate (validator skill, script fallback, or manual fallback).
- Return output in the required report format.
If a step cannot run due to environment limits, use the fallback in that step and continue.
1) Classify Request Mode
Choose exactly one primary mode:
- Basic CI: build/test/lint for one stack.
- Multi-stage CI/CD: build -> test -> deploy with environment tracking.
- Docker: image build/push and optional deploy.
- Kubernetes: image build/push plus Kubernetes deployment.
- Language-specific: .NET, Node.js, Python, Go, Java focused.
- Template-based: reusable templates plus thin root pipeline.
- Snippet-only: partial YAML requested, not full pipeline.
Mode-to-example mapping:
- Basic CI ->
examples/basic-ci.yml - Multi-stage CI/CD ->
examples/multi-stage-cicd.yml - .NET ->
examples/dotnet-cicd.yml - Python ->
examples/python-cicd.yml - Go ->
examples/go-cicd.yml - Kubernetes ->
examples/kubernetes-deploy.yml - Template-based ->
examples/template-usage.yml+examples/templates/*.yml
2) Capture Required Inputs
Collect these before generation:
- App stack and package manager
- Build/test commands and report expectations
- Deployment target (none, Azure service, Docker registry, Kubernetes)
- Environment flow (dev/staging/prod) and branch gates
- Service connections, variable groups, secret handling
- Template requirement (yes/no)
Safe defaults when missing:
- CI branches:
main,develop - Production deploy branch:
mainonly - Agent image: pinned image (for example
ubuntu-22.04) - Deploy image tag: immutable (
$(Build.BuildId)), never deploylatest
If key details are missing, state assumptions explicitly in final output.
3) Load References (Progressive Disclosure)
Read local references first.
Always read:
docs/yaml-schema.mddocs/best-practices.md
Read conditionally:
docs/tasks-reference.mdwhen selecting tasks/inputsdocs/templates-guide.mdonly for template-based mode
Then read only the closest example(s) from the mode mapping above.
Fallback behavior for missing references:
- Missing example: use nearest mode example and note substitution.
- Missing doc section: continue with known conventions and mark uncertainty.
- Snippet-only request: read only the minimum needed for safe output.
The final response MUST include:
References usedReferences skipped or missingImpact
4) External Docs Escalation (Only When Needed)
Escalate beyond local docs only when:
- required task info is not in local docs
- task version compatibility is unclear
- troubleshooting a task-specific failure
Use this order:
- Context7 (
mcp__context7__resolve-library-id->mcp__context7__query-docs) - Official docs search (Microsoft Learn first)
If network/tools are unavailable, proceed with best-known local guidance and add a residual-risk note.
5) Pipeline Generation Checklist
Apply all items below unless user asks for a narrow snippet.
Security:
- Never hardcode secrets.
- Use service connections and variable groups/secrets.
- Use immutable deploy image tags.
Versioning:
- Pin
vmImageto explicit version, not*-latest. - Pin task major versions (
Task@N). @0is allowed only when that task uses major0.
Reliability:
- Use explicit
dependsOn. - Add
timeoutInMinutesfor long-running jobs. - Use branch-gated deployment
conditionrules. - Use deployment jobs with
environmentfor deploy stages.
Performance:
- Use
Cache@2where it improves dependency install time. - Use shallow checkout when full history is not required.
- Publish only required artifacts.
Testing/observability:
- Run lint/tests in CI.
- Publish test results with
condition: succeededOrFailed(). - Publish coverage when available.
Maintainability:
- Add
displayNamefor stages/jobs/key steps. - Use templates when logic repeats.
- Add short comments only for non-obvious logic.
6) Validation Workflow
Default path (MUST for full pipeline generation):
- Generate or update YAML.
- Valid
Установить azure-pipelines-generator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл azure-pipelines-generator?
Generate/create/scaffold azure-pipelines.yml, stages, jobs, steps, or reusable templates.
Как установить скилл azure-pipelines-generator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл azure-pipelines-generator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub