yaml-pipeline-validator
YAML Pipeline Validator Skill
Azure Pipelinesの YAML検証を行うスキルです。
主な機能
- 構文検証: YAMLシンタックスチェック
- ベストプラクティス: 推奨設定確認
- セキュリティ: シークレット露出チェック
- パフォーマンス: 最適化提案
検証項目
1. 必須フィールド
# ❌ Bad: トリガーなし
pool:
vmImage: 'ubuntu-latest'
# ✅ Good
trigger:
- main
pool:
vmImage: 'ubuntu-latest'
2. シークレット管理
# ❌ Bad: ハードコード
steps:
- script: echo "Password: MySecretPassword123"
# ✅ Good: 変数グループ使用
variables:
- group: Secrets
steps:
- script: echo "Password: $(SecretPassword)"
3. キャッシュ使用
# ✅ Good: 依存関係キャッシュ
steps:
- task: Cache@2
inputs:
key: 'npm | "$(Agent.OS)" | package-lock.json'
path: $(npm_config_cache)
- script: npm install
4. 並列実行
# ✅ Good: 並列ジョブ
jobs:
- job: TestLinux
pool:
vmImage: 'ubuntu-latest'
steps:
- script: npm test
- job: TestWindows
pool:
vmImage: 'windows-latest'
steps:
- script: npm test
Azure CLI検証
# YAML検証
az pipelines validate \
--repository myrepo \
--branch main \
--path azure-pipelines.yml
バージョン情報
- Version: 1.0.0
More from ntaksh42/agents
excel-processor
Process Excel files with data manipulation, formula generation, and chart creation. Use when working with spreadsheets or Excel data.
39presentation-creator
Marpを使用した提案資料・比較検討資料の作成スキル。課題提示、複数案の比較検討、メリット・デメリット整理を含む資料を作成する。使用場面:(1) 技術選定や方式比較の検討資料、(2) 提案書・企画書、(3) 問題解決策の提示、(4) 意思決定を支援するドキュメント。作成完了後は必ずサブエージェントでレビューを実施する。
29data-visualization
Create data visualizations using various charting libraries. Use when visualizing data or creating interactive charts.
7code-reviewer
Automated code review with security, performance, and best practices analysis. Use when reviewing pull requests or analyzing code for vulnerabilities, performance issues, or maintainability concerns.
6pr-description-generator
Generate comprehensive pull request descriptions with summaries and test plans. Use when creating PR descriptions or documenting code changes.
6seo-optimizer
Analyze and optimize web pages for SEO including meta tags, structured data, and performance. Use when improving website SEO or analyzing search optimization.
6