ansible-generator
Generate, create, or scaffold Ansible playbooks, roles, tasks, handlers, inventory, vars.
Validate, lint, audit, or review azure-pipelines.yml — syntax, security, best practices.
$ npx -y skills add akin-ozer/cc-devops-skills --skill azure-pipelines-validator --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/azure-pipelines-validatorContext preview
The summary Claude sees to decide when to auto-load this skill.
Validate, lint, audit, or review azure-pipelines.yml — syntax, security, best practices.
name: azure-pipelines-validator description: Validate, lint, audit, or review azure-pipelines.yml — syntax, security, best practices.
Use this skill to validate Azure DevOps pipeline YAML (`azure-pipelines.yml` / `azure-pipelines.yaml`) with local scripts first, then escalate to docs only when local output is not enough.
Use this skill when the user asks things like:
Do not use this skill for pipeline generation from scratch. Use `azure-pipelines-generator` for that.
Run from any directory using explicit absolute paths:
REPO_ROOT="$(git rev-parse --show-toplevel 2>/dev/null)" SKILL_DIR="$REPO_ROOT/devops-skills-plugin/skills/azure-pipelines-validator" PIPELINE_FILE="$REPO_ROOT/azure-pipelines.yml"
If `REPO_ROOT` is empty, stop and ask for the repository root path. Do not guess paths.
Validate one file:
bash "$SKILL_DIR/scripts/validate_azure_pipelines.sh" "$PIPELINE_FILE"
Auto-detect from current directory (up to depth 3):
bash "$SKILL_DIR/scripts/validate_azure_pipelines.sh"
If auto-detect returns multiple files, rerun with one explicit file path.
1. Preflight
2. Run local validator
bash "$SKILL_DIR/scripts/validate_azure_pipelines.sh" "$PIPELINE_FILE"
bash "$SKILL_DIR/scripts/validate_azure_pipelines.sh" "$PIPELINE_FILE" --syntax-only
bash "$SKILL_DIR/scripts/validate_azure_pipelines.sh" "$PIPELINE_FILE" --best-practices
bash "$SKILL_DIR/scripts/validate_azure_pipelines.sh" "$PIPELINE_FILE" --security-only
bash "$SKILL_DIR/scripts/validate_azure_pipelines.sh" "$PIPELINE_FILE" --strict
3. Interpret exit behavior
4. Return findings in the report format below.
Always return results in this structure:
Validation Report: <path> Summary: - Blocking: <count> # Syntax errors + Security critical/high - Warning: <count> # Security medium/low + best-practice warnings - Info: <count> # Suggestions - Skipped: <count> # Explicitly name skipped checks Findings: - [Blocking][syntax][<rule-id>] line <n> - <message> - [Blocking][security-high][<rule-id>] line <n> - <message> - [Warning][security-medium][<rule-id>] line <n> - <message> - [Warning][best-practice][<rule-id>] line <n> - <message> - [Info][best-practice][<rule-id>] line <n> - <message> Remediation: - <short, concrete fix per finding> Execution Notes: - Commands run: <exact commands> - Environment/fallback notes: <tool missing, skipped checks, offline constraints>
Run local checks first. Escalate only when at least one condition is true:
Escalation order:
1. Context7 docs tooling first.
mcp__context7__resolve-library-id(...) mcp__context7__query-docs(...)
2. Official docs second (`learn.microsoft.com` / Microsoft Azure DevOps docs). 3. General web search only if the first two are insufficient.
When escalating, cite the source URL and state what local check could not answer.
Use this matrix when tools are unavailable:
Syntax examples:
Best-practice examples:
Security examples:
Use script output rule IDs directly in the report.
Quick local test:
bash "$SKILL_DIR/scripts/validate_azure_pipelines.sh" "$SKILL_DIR/examples/basic-pipeline.yml"
This skill execution is done when all conditions are true:
A practical skill pack for DevOps work in Claude Code and Codex desktop. This repository ships 31 skills: 16 generators for scaffolding production-ready configs 14 validators for linting, security checks, and dry-run validation 1 debugger (k8s-debug) for
Repo: akin-ozer/cc-devops-skills
Generate, create, or scaffold Ansible playbooks, roles, tasks, handlers, inventory, vars.
Validate, lint, audit, or debug Ansible playbooks, roles, inventories, FQCN, tasks.
Generate/create/scaffold azure-pipelines.yml, stages, jobs, steps, or reusable templates.
Create, generate, write, or scaffold bash/shell scripts (.sh), automation, or CLI tools.
Validate, lint, audit, or fix bash/shell/.sh scripts via ShellCheck.
Create, generate, or write Dockerfiles and multi-stage Docker images. Containerize apps.