github-pr-workflow
Full pull request lifecycle — create branches, commit changes, open PRs, monitor CI status, auto-fix failures, and merge.
Skill by helix4u
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/helix4u-github-pr-workflow
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, devops, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
github-pr-workflow- Description
- Full pull request lifecycle — create branches, commit changes, open PRs, monitor CI status, auto-fix failures, and merge. Works with gh CLI or falls back to git + GitHub REST API via curl.
- License
- MIT
- Instructions
- 352 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (5)
- SKILL.md
- ci-troubleshooting.md · references/
- conventional-commits.md · references/
- pr-body-bugfix.md · templates/
- pr-body-feature.md · templates/
SKILL.md (first lines)
# GitHub Pull Request Workflow
Complete guide for managing the PR lifecycle. Each section shows the `gh` way first, then the `git` + `curl` fallback for machines without `gh`.
## Prerequisites
- Authenticated with GitHub (see `github-auth` skill)
- Inside a git repository with a GitHub remote
### Quick Auth Detection
```bash
# Determine which method to use throughout this workflow
if command -v gh &>/dev/null && gh auth status &>/dev/null; then
AUTH="gh"
else
AUTH="git"
# Ensure we have a token for API calls
if [ -z "$GITHUB_TOKEN" ]; then
GITHUB_TOKEN=$(grep "github.com" ~/.git-credentials 2>/dev/null | head -1 | sed 's|https://[^:]*:\([^@]*\)@.*|\1|')
fi
fi
echo "Using: $AUTH"
```
### Extracting Owner/Repo from the Git Remote
Many `curl` commands need `owner/repo`. Extract it from the git remote:
```bash
# Works for both HTTPS and SSH remote URLs
REMOTE_URL=$(git remote get-url origin)
OWNER_REPO=$(echo "$REMOTE_URL" | sed -E 's|.*github\.com[:/]||; s|\.git$||')
OWNER=$(echo "$OWNER_REPO" | cut -d/ -f1)
REPO=$(echo "$OWNER_REPO" | cut -d/ -f2)
echo "Owner: $OWNER, Repo: $REPO"
```
---
## 1. Branch Creation
This part is pure `git` — identical either way:
```bash
# Make sure you're up to date
git fetch origin
git checkout main && git pull origin main
# Create and switch to a new branch
git checkout -b feat/add-user-authentication
```
Branch naming conventions:
- `feat/description` — new features
- `fix/description` — bug fixes
- `refactor/description` — code restructuring
- `docs/description` — documentation
- `ci/description` — CI/CD changes
## 2. Making Commits
Use the agent's file tools (`write_file`, `patch`) to make changes, then commit:
```bash
# Stage specific files
git add src/auth.py src/models/user.py tests/test_auth.py
# Commit with a conventional commit message
git commit -m "feat: add JWT-based user authentication
- Add login/register endpoints
- Add User model with password hashing
- Add auth middleware for protected routes
- Add unit tests for auth flow"
```
Commit message format (Conventional Commits):
```
type(scope): short description
Longer explanation if needed. Wrap at 72 characters.
```
Types: `feat`, `fix`, `refactor`, `docs`, `test`, `ci`, `chore`, `perf`
## 3. Pushing and Creating a PR
### Push the Branch (same either way)
```bash
git push -u origin HEAD
```
### Create the PR
**With gh:**
```bash
gh pr create \
--title "feat: add JWT-based user authentication" \
--body "## Summary
- Adds login and register API endpoints
- JWT token generation and validation
## Test Plan
- [ ] Unit tests pass
Closes #42"
```
Options: `--draft`, `--reviewer user1,user2`, `--label "enhancement"`, `--base develop`
**With git + curl:**
```bash
BRANCH=$(git branch --show-current)
curl -s -X POST \From helix4u/hermes-agent-private, MIT.
More from helix4u/hermes-agent-private
- 0.414score
f5-tts
helix4u
Use the local F5TTS-FASTAPI service for voice-cloned text-to-speech, voice discovery, and direct synthesis.
SkillDFreshness: DClaude Code +9 - 0.411score
obs-scene-capture
helix4u
Use OBS as a generic screenshot API.
SkillDFreshness: DClaude Code +9 - 0.406score
ascii-art
helix4u
Generate ASCII art using pyfiglet (571 fonts), cowsay, boxes, toilet, image-to-ascii conversion, and search curated art from emojicombos.com and asciiart.eu…
SkillDFreshness: DClaude Code +9 - 0.404score
bird
helix4u
X/Twitter CLI for reading, searching, timelines, bookmarks, and posting via cookie auth.
SkillDFreshness: DClaude Code +9 - 0.404score
gemini
helix4u
Gemini CLI for one-shot prompts, summaries, structured output, and extension-aware calls.
SkillDFreshness: DClaude Code +9 - 0.403score
hermes-agent-spawning
helix4u
Spawn additional Hermes Agent instances as autonomous subprocesses for independent long-running tasks.
SkillDFreshness: DClaude Code +9 - 0.382score
blogwatcher
helix4u
Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Feb 21, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/helix4u/hermes-agent-private
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.606score
github-pr-workflow
Tommy-yw
Full pull request lifecycle — create branches, commit changes, open PRs, monitor CI status, auto-fix failures, and merge.
SkillCFreshness: C★ 510Claude Code +9 - 0.335score
github-pr-workflow
graniet
Full pull request lifecycle — create branches, commit changes, open PRs, monitor CI status, auto-fix failures, and merge.
SkillCFreshness: C★ 217Claude Code +9 - 0.293score
github-pr-workflow
wu-xiaochen
Full pull request lifecycle — create branches, commit changes, open PRs, monitor CI status, auto-fix failures, and merge.
SkillDFreshness: D★ 17Claude Code +9
More from helix4u
- 0.414score
f5-tts
helix4u
Use the local F5TTS-FASTAPI service for voice-cloned text-to-speech, voice discovery, and direct synthesis.
SkillDFreshness: DClaude Code +9 - 0.411score
obs-scene-capture
helix4u
Use OBS as a generic screenshot API.
SkillDFreshness: DClaude Code +9 - 0.406score
ascii-art
helix4u
Generate ASCII art using pyfiglet (571 fonts), cowsay, boxes, toilet, image-to-ascii conversion, and search curated art from emojicombos.com and asciiart.eu…
SkillDFreshness: DClaude Code +9 - 0.404score
bird
helix4u
X/Twitter CLI for reading, searching, timelines, bookmarks, and posting via cookie auth.
SkillDFreshness: DClaude Code +9 - 0.404score
gemini
helix4u
Gemini CLI for one-shot prompts, summaries, structured output, and extension-aware calls.
SkillDFreshness: DClaude Code +9 - 0.403score
hermes-agent-spawning
helix4u
Spawn additional Hermes Agent instances as autonomous subprocesses for independent long-running tasks.
SkillDFreshness: DClaude Code +9
Cite this page
github-pr-workflow skill. Agent Mart. https://agentmart.dev/skills/helix4u-github-pr-workflow (last updated 2026-10-24)