🎯

multi-stage-pipeline

🎯Skill

from ntaksh42/agents

VibeIndex|
What it does

Orchestrates complex Azure DevOps multi-stage pipelines with automated build, test, security scanning, and conditional deployments across environments.

📦

Part of

ntaksh42/agents(78 items)

multi-stage-pipeline

Installation

📋 No install commands found in docs. Showing default command. Check GitHub for actual instructions.
Quick InstallInstall with npx
npx skills add ntaksh42/agents --skill multi-stage-pipeline
1Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Create multi-stage Azure Pipelines with deployment gates and approvals. Use when implementing complex deployment pipelines with multiple environments.

Overview

# Multi-Stage Pipeline Skill

Azure DevOpsマルチステージパイプラインを構築するスキルです。

主な機能

  • 複数ステージ: Build → Test → Deploy
  • 承認ゲート: 手動承認
  • 並列実行: 複数環境同時デプロイ
  • 条件分岐: ブランチ、環境による条件
  • デプロイ戦略: Blue-Green、Canary

完全なマルチステージパイプライン

```yaml

trigger:

branches:

include:

- main

- develop

pool:

vmImage: 'ubuntu-latest'

variables:

- group: Common-Variables

stages:

# ビルドステージ

- stage: Build

displayName: 'Build Application'

jobs:

- job: BuildJob

steps:

- task: NodeTool@0

inputs:

versionSpec: '18.x'

- script: |

npm install

npm run build

npm test

displayName: 'Build and Test'

- task: PublishBuildArtifacts@1

inputs:

PathtoPublish: 'dist'

ArtifactName: 'app'

# テストステージ

- stage: Test

displayName: 'Run Tests'

dependsOn: Build

jobs:

- job: UnitTests

displayName: 'Unit Tests'

steps:

- script: npm run test:unit

displayName: 'Run Unit Tests'

- job: IntegrationTests

displayName: 'Integration Tests'

steps:

- script: npm run test:integration

displayName: 'Run Integration Tests'

- job: E2ETests

displayName: 'E2E Tests'

steps:

- script: npm run test:e2e

displayName: 'Run E2E Tests'

# セキュリティスキャン

- stage: Security

displayName: 'Security Scan'

dependsOn: Build

jobs:

- job: SecurityScan

steps:

- task: WhiteSource@21

inputs:

cwd: '$(System.DefaultWorkingDirectory)'

# Dev環境デプロイ

- stage: Deploy_Dev

displayName: 'Deploy to Dev'

dependsOn:

- Test

- Security

condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/develop'))

jobs:

- deployment: DeployDev

environment: 'Development'

strategy:

runOnce:

deploy:

steps:

- task: AzureWebApp@1

inputs:

azureSubscription: 'Azure-Dev'

appName: 'myapp-dev'

package: '$(Pipeline.Workspace)/app'

# Staging環境デプロイ

- stage: Deploy_Staging

displayName: 'Deploy to Staging'

dependsOn: Deploy_Dev

condition: succeeded()

jobs:

- deployment: DeployStaging

environment: 'Staging'

strategy:

runOnce:

preDeploy:

steps:

- script: echo "Pre-deployment validation"

deploy:

steps:

- task: AzureWebApp@1

inputs:

azureSubscription: 'Azure-Staging'

appName: 'myapp-staging'

package: '$(Pipeline.Workspace)/app'

routeTraffic:

steps:

- script: echo "Routing traffic"

postRouteTraffic:

steps:

- task: InvokeRESTAPI@1

inputs:

connectionType: 'connectedServiceName'

serviceConnection: 'SmokeTests'

method: 'POST'

urlSuffix: '/run-smoke-tests'

# Production環境デプロイ(承認必要)

- stage: Deploy_Production

displayName: 'Deploy to Production'

dependsOn: Deploy_Staging

condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))

jobs:

- deployment: DeployProd

environment: 'Production' # 承認設定済み

strategy:

# Blue-Green デプロイ

canary:

increments: [10, 25, 50, 100]

preDeploy:

steps:

- script: echo "Health check"

deploy:

steps:

- task: AzureWebApp@1

inputs:

azureSubscription: 'Azure-Prod'

appName: 'myapp-prod'

package: '$(Pipeline.Workspace)/app'

deploymentMethod: 'zipDeploy'

on:

success:

steps:

- script: echo "Deployment successful"

failure:

steps:

- script: echo "Rolling back"

- task: AzureAppServiceManage@0

inputs:

action: 'Swap Slots'

sourceSlot: 'staging'

```

Canaryデプロイ

```yaml

strategy:

canary:

increments: [10, 25, 50, 100]

deploy:

steps:

- script: echo "Deploying $(strategy.increment)%"

- task: AzureTrafficManager@1

inputs:

trafficPercentage: $(strategy.increment)

```

バージョン情報

  • Version: 1.0.0

More from this repository10

🎯
document-summarizer🎯Skill

Generates concise summaries of documents by extracting key information and condensing text into a more digestible format.

🎯
algorithmic-art🎯Skill

Generates creative algorithmic art using p5.js, creating unique visual designs with patterns, fractals, and dynamic animations.

🎯
sql-query-helper🎯Skill

Generates, optimizes, and explains SQL queries with best practices, providing intelligent database query solutions across multiple database platforms.

🎯
plantuml-diagram🎯Skill

Generates PlantUML diagrams (class, sequence, component) to visually represent system architecture and UML models.

🎯
azure-pipelines-generator🎯Skill

Generates Azure Pipelines YAML configurations automatically for CI/CD workflows, supporting multi-stage builds and deployments across different environments.

🎯
kubernetes-helper🎯Skill

Assists Kubernetes users by generating, validating, and explaining Kubernetes manifests and configurations with AI-powered insights.

🎯
using-git-worktrees🎯Skill

Creates isolated Git worktrees with smart directory selection and safety verification for feature work and branch management.

🎯
dependency-analyzer🎯Skill

Analyzes project dependencies, identifies potential conflicts, and provides insights into library compatibility and version management.

🎯
brainstorming🎯Skill

Collaboratively refines rough ideas into fully-formed designs through systematic questioning, alternative exploration, and incremental validation.

🎯
azure-boards-helper🎯Skill

Manages Azure Boards work items by creating, querying, and automating work item workflows using WIQL and comprehensive templates.