Shepherd Approve Create Pr

HUMAN-ONLY shepherd create-PR approval. Run after reviewing the change and .shepherd evidence. Writes .shepherd/_create_pr.approved and hands control back to /shepherd. The agent cannot invoke this.

apify 6b46634 1.2 KB Updated

File contents

Approve PR creation

Record human approval for commit, push, and PR creation. Interactive runs confirm in chat; this skill is the headless fallback that records the same marker. This approves creating the PR, not merging it.

  1. Read .shepherd/_progress.md plus the latest iter-*/review-*.md and iter-*/final-review-*.md files if present. Summarize the change, oracle status, and verdicts.
  2. If tests are not green or any verdict is FAIL, warn the user and confirm they still want to proceed.
  3. Write the marker:
    mkdir -p .shepherd
    printf 'approved_at=%s\napproved_commit=%s\nnote=create-PR approved by human via /shepherd-approve-create-pr\n' \
      "$(date -u +%Y-%m-%dT%H:%M:%SZ)" "$(git rev-parse HEAD 2>/dev/null || echo none)" \
      > .shepherd/_create_pr.approved
    
  4. Confirm briefly, then invoke /shepherd so it resumes into finish.

This skill records approval only; it does not push or merge.

apify/shepherd/tree/main/.claude/skills/shepherd-approve-create-pr commit 6b46634a28

Frequently asked questions

npx skillmds@latest add apify/shepherd-approve-create-pr