Agent skill wrapper for the Claude command
.
When the original command text references
,
, or named arguments, map them from the user's current request.
Determine the current PR number and failing action name. Create a git worktree at
.trees/pr-<number>-<action>
for the PR branch (e.g.
).
Inspect failing GitHub Actions logs using
and
.
If actions still fail, retrieve new logs and repeat (max 5 iterations total).
After 5 failed attempts, summarize remaining issues and exit.
Clean up the worktree on exit.
Run autonomously without approval checkpoints.