# 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.

- Skill: `apify/shepherd-approve-create-pr` (Agent Skill)
- Install (CLI): `npx skillmds@latest add apify/shepherd-approve-create-pr`
- Raw SKILL.md: https://api.skillmd.com/api/skills/apify/shepherd-approve-create-pr/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: apify (https://skillmd.com/u/apify)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/apify/shepherd-approve-create-pr

---


# 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:
   ```bash
   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.

