Ansible PR Review

VerifiedSafe

Reviews an Ansible PR following the project's standardized process, including changelog checks, test coverage validation, and feedback tracking.

Sby Skills Guide Bot
DevOpsIntermediate
8/29/2026
Claude Code
#ansible#code-review#pull-requests#github-cli#changelog

Recommended for

Automated summary

Reviews an Ansible pull request by following the standardized process defined in the project's CLAUDE.md PR Review Guidelines section.

Strengths

  • Checks mandatory components first (changelog fragment, correct section in changelogs/config.yaml, pytest-style unit tests, integration tests) before diving into the code
  • Pulls PR details, diff and comments through gh, then checks out the branch to examine the changes holistically
  • Explicitly calls out reviewer requests, bot failures and discussion points that remain unresolved
  • Tracks every step in a TodoWrite list, making the review reproducible and visible

Limitations

  • Assumes an Ansible repository with a CLAUDE.md PR Review Guidelines section, a changelogs/fragments directory and an authenticated gh CLI
  • Allowed tools are read-only, so the skill reports findings but cannot post comments or approve the PR
  • Caps a review round at 20 feedback items, which may leave remarks unaddressed on very large diffs
When to use it

Use it when a maintainer wants a structured, project-compliant Ansible PR review in a single command.

When not to use it

Avoid it on non-Ansible repositories or ones lacking a PR Review Guidelines section in CLAUDE.md, since its changelog and test checks would not apply.

Security analysis

Safe
Quality score88/100

The skill instructs an AI agent to review GitHub PRs using narrowly scoped gh commands and local read/search tools. It does not exfiltrate data, run untrusted scripts, delete files, disable safety controls, or use obfuscated payloads. Branch checkout via gh pr checkout is a normal review operation.

No concerns found

How this analysis is made

Examples

Basic review
/review 482
Pre-approval check
Review PR 391 with our Ansible process and tell me if the changelog fragment and tests are missing before I approve.
Unresolved feedback sweep
/review 210 and list every reviewer comment or bot failure that is still unresolved.

name: review description: Review an Ansible PR following the project's standardized process from CLAUDE.md argument-hint: <pr_number> allowed-tools: [TodoWrite, Bash(gh pr view:), Bash(gh pr diff:), Bash(gh pr checkout:), Bash(gh pr checks:), Read, Grep, Glob, Search] user-invocable: true

PR Review Command

Review an Ansible PR following the project's standardized process from CLAUDE.md.

Usage

/review <pr_number>

Arguments

  • pr_number (required): The GitHub PR number to review

Implementation

This command implements the PR Review Guidelines documented in the PR Review Guidelines section of CLAUDE.md.

Review Process Steps

The command follows these numbered steps from CLAUDE.md:

  1. Create TodoWrite list for systematic review tracking
  2. Get PR details: gh pr view <number> to understand scope, motivation and the desired outcome
  3. Get PR diff: gh pr diff <number> to see all changes
  4. Check required components FIRST:
    • Verify changelog fragment exists in changelogs/fragments/
    • Verify changelog uses correct section (check changelogs/config.yaml)
    • Verify tests exist and specifically cover the changed code paths
    • Unit tests should be pytest style, and functional rather than tightly coupled to mocking
    • Integration tests required for almost all plugin changes
  5. Checkout PR branch: gh pr checkout <number> to examine code holistically
  6. Review existing feedback: gh pr view <number> --comments for all comments and previous reviews
  7. Verify all issues addressed: Ensure bot failures, reviewer requests, and discussion points are resolved
  8. Call out unresolved feedback: Explicitly mention any discussions/requests that remain unaddressed

Critical Review Elements

  • Licensing: Verify GPLv3/BSD-2-Clause compatibility for any new dependencies
  • Test scope: Tests must exercise actual changed code, not just add random coverage
  • Changelog validation: Fragment structure follows sections defined in changelogs/config.yaml

Each step is tracked in TodoWrite for visibility and systematic completion. A review round should not exceed 20 feedback items.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/ansible-pr-review-mte1lfjm/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/ansible-pr-review-mte1lfjm' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/ansible-pr-review-mte1lfjm/download' --output '.skill-downloads/ansible-pr-review-mte1lfjm/SKILL.md.part' && mv '.skill-downloads/ansible-pr-review-mte1lfjm/SKILL.md.part' '.skill-downloads/ansible-pr-review-mte1lfjm/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/ansible-pr-review-mte1lfjm/SKILL.md' && test -s '.skill-downloads/ansible-pr-review-mte1lfjm/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/review' && cp -R '.skill-downloads/ansible-pr-review-mte1lfjm' '.claude/skills/review'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/ansible-pr-review-mte1lfjm'

openskills read 'ansible-pr-review-mte1lfjm'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/ansible-pr-review-mte1lfjm/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills