Credited skills
Skill 49 of 54
Review agentic workflow changes for correctness, security posture, and optimization opportunities with compile, validation, and audit evidence.
2 minutes · 381 words · 10 sections
Use this skill when asked to review .github/workflows/*.md agentic workflows or their generated .lock.yml outputs.
Reference workflow authoring skill guidance at: https://raw.githubusercontent.com/github/gh-aw/main/.github/skills/agentic-workflows/SKILL.md (opens in a new tab)
logs/audit) when available to find optimization opportunities.Run from the repository root:
if gh aw --help >/dev/null 2>&1; then
echo "gh aw is installed"
else
if [ -f ./install-gh-aw.sh ]; then
echo "gh aw is missing. Run the install step before continuing:"
echo " bash ./install-gh-aw.sh"
echo "Then verify:"
echo " gh aw --help"
else
echo "gh aw is missing and ./install-gh-aw.sh is not present in this checkout."
fi
return 1 2>/dev/null || exit 1
fiRun this scope check in the review step:
BASE_REF="${BASE_REF:-origin/main}"
if git rev-parse --verify "$BASE_REF" >/dev/null 2>&1; then
git diff --name-only "$BASE_REF...HEAD" -- .github/workflows/
else
git diff --name-only -- .github/workflows/
fiIf source .md files changed, treat generated .lock.yml drift as part of the review.
For changed workflows, run strict compilation with validators:
gh aw compile --strict --actionlint --zizmor --poutine --runner-guard --yamllint --shellcheckIf gh aw extension is unavailable but local binary exists:
./gh-aw compile --strict --actionlint --zizmor --poutine --runner-guard --yamllint --shellcheckFail review on compilation errors or High/Critical security findings unless explicitly justified.
Require and verify:
permissions: (no write-all without explicit rationale)safe-outputs limits (max, constrained event/action sets)min-integrity)Treat these as suspicious until proven safe:
write scopes or global writes)strict: false, reduced guardrails, disabled scans)safe-outputs limits removed or sharply increased)Use targeted diffs and call out before/after impact.
If workflow run IDs/URLs are available, audit them:
gh aw audit <run-id-or-url>
gh aw logs --start-date -14d --workflow-name <workflow-name>Look for optimization opportunities:
Recommend minimal, safe optimizations that keep or improve security posture.
Return findings in three sections:
Each finding should include severity, file(s), rationale, and a concrete remediation direction.
Credited
This skill is installed in github/gh-aw — in use here rather than published from here — so there is no install command for it on this page.
main, last pushed 24 September 2026.SKILL.md, not by matching a directory convention. 4 distinct layouts observed: .claude/skills/*/SKILL.md, .github/skills/*/SKILL.md, .squad/*/skill.md, SKILL.md (repo root).h1 and no skipped levels:/github/gh-aw.md, and each skill at its own .md URL.