Agent skill
yaml-pipeline-validator
Validate and lint Azure Pipelines YAML with best practices checks. Use when validating pipeline syntax or ensuring pipeline quality.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/yaml-pipeline-validator
SKILL.md
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?