For this repo, turn a Human Review pass into an explicit self-review, PR creation, and squash-merge flow when no blocking findings remain.
Use this skill when the current issue is in Human Review and the repo state
should move forward automatically unless there are real blocking findings.
gh auth worksscripts/ensure_issue_branch.sh existsmix verify is the mandatory verification gatescripts/ensure_issue_branch.sh.mix verify.Human Review or move it to Rework only if needed.For this repo, is not a passive waiting room. It is an active self-review + publish + land pass.
Human Reviewmix verify
passes.main; always normalize onto an issue branch first.branch=$(scripts/ensure_issue_branch.sh)
mix verify
# Review the diff before publishing.
git diff --stat origin/main...HEAD
git diff origin/main...HEAD
# Publish the branch.
git push -u origin HEAD
# Create/update the PR if needed.
pr_state=$(gh pr view --json state -q .state 2>/dev/null || true)
pr_title="<issue identifier + concise outcome>"
pr_body_file=.agents/pr-body.md
cat > "$pr_body_file" <<'EOF'
<concise summary>
Validation:
- mix verify
Residual Risks:
- <none or short bullets>
EOF
if [ -z "$pr_state" ]; then
gh pr create --title "$pr_title" --body-file "$pr_body_file"
else
gh pr edit --title "$pr_title" --body-file "$pr_body_file"
fi
# Land immediately if mergeable.
gh pr merge --squash --delete-branch
Only stop without landing when:
mix verify fails,