Agent skills review

From y-miyazaki/terraform-aws-base · View interactive version

Agent skills review is an AI agent skill from the GitHub repository y-miyazaki/terraform-aws-base. Review SKILL.md quality for Waza readiness and agent-skills-instructions compliance. Use when evaluating SKILL.md quality, checking compliance with skill authoring standards, preparing skills for release, reviewing skill PRs, or running waza readiness checks.

How to use this skill

Skill file

Input

Output Specification

Return structured Markdown in accordance with references/common-output-format.md. That file is the source of truth for the output contract.

Skill-local addition: unlike other review skills, this skill runs validation scripts, so Status: failed also applies when both scripts fail. The ## Issues cause entry (no ItemID) then lists both commands, exit statuses, and stderr summaries.

Execution Scope

USE FOR:

DO NOT USE FOR:

Reference Files Guide

Workflow

  1. If target SKILL.md does not exist, set Status: failed per references/common-output-format.md and stop without running other checks. Otherwise run bash scripts/validate_waza.sh <skill-name> and bash scripts/validate.sh <SKILL.md> (CWD: <agent-root>/skills/agent-skills-review/).
  2. Record token budget from waza check when present; if count > 500, add a Q-09 advisory entry to ## Issues and do not list Q-09 in ## Checks (Failed/Deferred Only). Q-09 fails only when waza check ran but its token count is not recorded; if validate_waza.sh failed, defer Q-09 per step 5. A skill compressed below sibling depth is a BP-04 finding, not Q-09.
  3. Apply checks in order: BP-* (best practices), P-* (workflow/policy), Q-* (quality language), S-* (structure). For Q-12, read every references/ file and the option parsing of bundled scripts/; for P-04, compare shared rules with the sibling skills.
  4. Report failed/deferred items with ItemIDs.
  5. If one validation script fails and the other succeeds, report successful checks normally and mark unresolved checks as deferred with script name and exit status.
  6. If both validation scripts fail, set Status: failed and include both commands, exit statuses, and stderr summaries in ## Issues.

Error Handling

| Condition | Severity | Action |

| ----------------------------------------------- | ----------- | ----------------------------------------------------------------------------------------------------- |

| Target SKILL.md does not exist | Fatal | Set Status: failed; stop without other checks |

| validate_waza.sh or validate.sh missing | Fatal | Stop; report missing script path |

| One validation script fails, the other succeeds | Recoverable | Report successful checks; defer failed script checks with exit status |

| Both validation scripts fail | Fatal | Set Status: failed with command, exit status, and stderr summary in ## Issues |

| common-checklist.md unavailable | Fatal | Stop; report missing dependency |

| common-output-format.md unavailable | Recoverable | Note missing file; emit ## Checks Summary, ## Checks (Failed/Deferred Only), and ## Issues only |

| Script output missing after one rerun | Recoverable | Defer affected checks; include command and stderr per troubleshooting |

Examples

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.