github-pr-workflow
GitHub PR lifecycle: branch, commit, open, CI, merge.
npx skills add HezaoHezao/poirot --skill github-pr-workflow --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# GitHub Pull Request Workflow Complete guide for managing the PR lifecycle. `gh` first, `git` + `curl` fallback. ## Prerequisites - Authenticated with GitHub (see `github-auth` skill) - Inside a git repository with a GitHub remote ## 1. Branch & Commit ```bash # Create feature branch git checkout -b feature/add-login # Make changes, commit git add -A git commit -m "feat: add login endpoint" # Push git push -u origin feature/add-login ``` ## 2. Create PR ```bash # With gh (interactive) gh pr create # With gh (inline) gh pr create \ --title "feat: add login endpoint" \ --body "## Changes - Add /api/login route - Add JWT token generation - Add tests ## Testing \`\`\`bash pytest tests/test_auth.py -v \`\`\`" \ --base main \ --head feature/add-login # With curl curl -s -X POST \ -H "Authorization: token $GITHUB_TOKEN" \ https://api.github.com/repos/$OWNER/$REPO/pulls \ -d '{ "title":"feat: add login endpoint", "body":"Add /api/login route with JWT", "head":"feature/add-login", "base":"main" }' ``` ## 3. Check CI Status ```bash # With gh gh pr checks 42 # With curl (check runs) curl -s "https://api.github.com/repos/$OWNER/$REPO/commits/$HEAD_SHA/check-runs" | python3 -c " import sys, js
- Prerequisites
- 1. Branch & Commit
- 2. Create PR
- 3. Check CI Status
- 4. Update PR (push more commits)
- 5. Review & Approve
- 6. Merge
- 7. Cleanup
- Full Workflow Example
- Pitfalls
Create feature branch git checkout -b feature/add-login Make changes, commit git add -A git commit -m "feat: add login endpoint" Push git push -u origin feature/add-login With gh (interactive) gh pr create With gh (inline)
What does the github-pr-workflow skill do?
GitHub PR lifecycle: branch, commit, open, CI, merge.
How do I install it?
Run `npx skills add HezaoHezao/poirot --skill github-pr-workflow --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From HezaoHezao/poirot, a repository with 139 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
