install
source · Clone the upstream repo
git clone https://github.com/dirien/yet-another-agent-harness
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/dirien/yet-another-agent-harness "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/pr" ~/.claude/skills/dirien-yet-another-agent-harness-pr && rm -rf "$T"
manifest:
.claude/skills/pr/SKILL.mdsource content
/pr — Pull Request Creation
When to use
When the user runs /pr or asks to create a pull request.
Steps
- Run
to understand all commitsgit log --oneline main..HEAD - Run
to see the full diffgit diff main...HEAD - Check if the branch is pushed:
git rev-parse --abbrev-ref --symbolic-full-name @{u} - If not pushed, push with
git push -u origin HEAD - Create the PR using
with:gh pr create-
Title: short, under 70 chars
-
Body using the template:
Summary
<1-3 bullet points>
Test plan
- Tests pass
- Manual verification
-
Rules
- NEVER force push
- Analyze ALL commits, not just the latest
- Keep the title concise — details go in the body
- Return the PR URL to the user when done