Gh aw workflow review
Review Github Agentic Workflows (gh-aw) and shared components for architectural fit, security guardrails, correctness, operational quality, and alignment with proven factory workflows when relevant.From its SKILL.md
npx -y skills add deyil/gh-aw-skills --skill gh-aw-workflow-reviewAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
6.6 KB, ~1.3k tokens by cl100k_base, as published. Nobody here has run it
GH-AW Workflow Review
Use this skill when the user wants a design review, security review, correctness review, or code review of Github Agentic Workflows, imports, prompts, or shared components.
Start Here
Before reviewing, consult references/review-sources.md so findings are based on current gh-aw semantics rather than generic GitHub Actions assumptions.
When the workflow request resembles something already covered by Peli's Agent Factory, review against the closest ready-to-use workflow as an additional comparison point:
- Exact match: check whether the repository should have reused or lightly adapted the existing factory workflow.
- Near match: use the closest workflow and blog write-up as inspiration for review heuristics, not as a mandatory template.
Example Prompts
- "Review this gh-aw workflow for unsafe writes, missing safe outputs, and staged-execution design issues."
- "Audit the workflow source and lock pair for compile, guardrail, and operability problems."
- "Check whether this workflow design fits gh-aw or should be split into traditional GitHub Actions."
- "Review whether this bespoke workflow should have started from an existing Agent Factory workflow instead of reinventing the pattern."
Review Lens
Review workflows against these categories.
1. Architectural Fit
- Does the requested behavior fit gh-aw's staged execution model and safe-output boundaries?
- Is the design ignoring built-in orchestration features such as
call-workflowordispatch-workflow, or trying to wait on external events, coordinate unsupported matrix-style behavior, or move arbitrary state between jobs in a way gh-aw does not support? - Should the solution use built-in gh-aw orchestration, be split into simpler gh-aw units, or move to traditional GitHub Actions?
2. Setup And Bootstrap Correctness
- Does the repository setup match the workflow's intended authoring path?
- If the design depends on GitHub.com or mobile
/agent agentic-workflowsauthoring, has the repository been initialized appropriately? - If the workflow is described as manually maintained, are both the markdown source and compiled lock file present?
- Is the selected engine compatible with the repository's configured secret and expected runtime environment?
3. Security And Guardrails
- Is the agent job read-only?
- Are write operations routed through
safe-outputs:instead of direct write permissions? - Is
network:explicit and minimal? - Are ecosystem identifiers used where appropriate instead of ad hoc package-registry domains?
- Is untrusted user content treated as untrusted, and is sanitized context used where appropriate?
- Are risky features like auto-merge or unsafe credential patterns being proposed?
4. Authoring Correctness
- Are the source
.mdand compiled.lock.ymltreated as a pair? - Is the workflow structure valid for gh-aw frontmatter and markdown semantics?
- Are GitHub reads modeled with
tools.github.toolsetsrather than mutation tools or direct API assumptions? - Are newer built-ins used deliberately where they fit, such as
mcp-scripts:,threat-detection:, staged mode,cache-memory:orrepo-memory:, and workflow-call or dispatch safe outputs, instead of bespoke workarounds? - Are MCP servers configured appropriately, with read-only allowlists where possible?
- Are shared components scoped narrowly and imported cleanly?
5. Operability
- Can the workflow be compiled and validated cleanly?
- After the source is recompiled, does
actionlintpass on the generated.lock.ymlor any handwritten workflow.ymlfiles in.github/workflows/? - If it depends on
agentic-workflows:introspection tools, does it haveactions: read? - Does the prompt tell the agent what to do when no action is needed, typically via
noop? - If orchestration safe outputs are used, are target workflows allowlisted and compatible with
workflow_callorworkflow_dispatchas required? - If staged mode is enabled, is preview-only behavior intentional and documented?
- Are schedules, rate limits, skip rules, or duplicate-prevention settings appropriate?
- Is there a realistic debugging path using
logs,audit,mcp inspect, orhealth? - Are first-run prerequisites covered, including Actions enablement and engine-secret setup?
6. Maintainability
- Are defaults omitted instead of restated noisily?
- Is the prompt concise, explicit, and testable?
- Are updates likely to require frontmatter churn when a body-only edit would suffice?
- Are imports, labels, and metadata serving a real purpose?
Evidence To Use
- The current
.mdworkflow file and corresponding.lock.yml. - The closest matching workflow or category from Peli's Agent Factory, when the requested behavior already exists there.
gh aw compile --strictorgh aw validateresults when available.actionlintresults for the generated.lock.ymlor handwritten workflow YAML, when available.gh aw auditandgh aw logsoutput for behavior-based findings.gh aw mcp inspectoutput for MCP and tool configuration findings.- The authoritative docs pages listed in the references file.
Review Output
- Lead with findings, ordered by severity.
- For each finding, explain the concrete risk or behavioral failure.
- Point to the exact workflow area or configuration pattern that causes it.
- Suggest the smallest credible fix.
- If there are no findings, say so explicitly and mention residual testing or validation gaps.
High-Signal Red Flags
- Direct write permissions on the agent job.
- Broad or implicit network access.
- A workflow markdown file without its compiled
.lock.yml, or a stale lock file after frontmatter changes. - A workflow whose source recompiles cleanly but whose generated
.lock.ymlstill failsactionlint. - A bespoke workflow that duplicates a ready-to-use factory workflow without a repository-specific reason.
- A workflow that assumes GitHub.com or mobile authoring support without repository initialization.
- An engine/secret mismatch that guarantees first-run failure.
- Unsupported orchestration patterns, or a bespoke orchestration design where built-in
call-workflowordispatch-workflowwould fit. - Missing
actions: readfor workflow-introspection tooling. - GitHub mutation operations modeled as tools instead of safe outputs.
- Prompt instructions that omit safe no-op behavior for successful no-action runs.
- Large, needless frontmatter rewrites that increase upgrade risk.
What ships with it: 1 file
2.1 KB alongside SKILL.md
references/
- review-sources.md2.1 KB