review-collectionlisted
Install: claude install-skill 3A2DEV/ansible-designer
# review-collection
Review an Ansible collection and produce a structured severity report. This command never modifies files.
---
## Required Inputs
1. **collection identification** — `namespace.name` or path to collection root (resolved from discovery if not provided)
---
## Behavior
### Step 1 — Discovery
Run discovery per `references/discovery.md`. Locate the collection:
- By `namespace.name` in `collections_path` directories
- By path if provided directly
### Step 2 — Load Collection
Read `galaxy.yml`, `meta/runtime.yml`, `README.md`, `CHANGELOG.md`, `LICENSE`.
Scan `plugins/`, `roles/`, `playbooks/`, `tests/` directories.
### Step 3 — Generate Severity Report
```
## Collection Review: <namespace>.<name>
Path: <collection_path>
Version: <version>
Reviewed: <timestamp>
---
### CRITICAL
[Critical issues]
### WARNING
[Warnings]
### INFO
[Informational notes]
---
Summary: <X> critical, <Y> warnings, <Z> info
```
---
## Checks to Perform
### CRITICAL
| Check | Condition | Message |
|-------|-----------|---------|
| galaxy.yml missing | File does not exist | `CRITICAL: galaxy.yml is missing — collection is not valid without it` |
| galaxy.yml: namespace missing | `namespace` field absent or empty | `[galaxy.yml] Required field 'namespace' is missing` |
| galaxy.yml: name missing | `name` field absent or empty | `[galaxy.yml] Required field 'name' is missing` |
| galaxy.yml: version missing | `version` field absent or empty | `[galaxy.yml] Required field 'vers