Commit PR
samuelclay/NewsBlur
A skill your agent uses when the user runs /commit-pr, says "commit and push", "open a PR", "ship this", asks to update an existing PR with new changes, or asks to resolve PR review comments in the…
Open, describe, and maintain pull requests in Campfire, especially stacks of dependent PRs (each branch built on the one before).
$ npx skills add r0adkll/Campfire --skill pr-stack -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install r0adkll/Campfire pr-stack --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/r0adkll/Campfire.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/pr-stack .claude/skills/pr-stack && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "pr-stack" agent skill from https://github.com/r0adkll/Campfire/tree/main/.claude/skills/pr-stack into .claude/skills/pr-stack/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-stack", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/r0adkll/Campfire/tree/main/.claude/skills/pr-stackType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add r0adkll/Campfire --skill pr-stack -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install r0adkll/Campfire pr-stack --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/r0adkll/Campfire.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/pr-stack .agents/skills/pr-stack && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "pr-stack" agent skill from https://github.com/r0adkll/Campfire/tree/main/.claude/skills/pr-stack into .agents/skills/pr-stack/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-stack", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add r0adkll/Campfire --skill pr-stack -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install r0adkll/Campfire pr-stack --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/r0adkll/Campfire.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/pr-stack .cursor/skills/pr-stack && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "pr-stack" agent skill from https://github.com/r0adkll/Campfire/tree/main/.claude/skills/pr-stack into .cursor/skills/pr-stack/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-stack", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/r0adkll/Campfire.git --path .claude/skills/pr-stack--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add r0adkll/Campfire --skill pr-stack -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install r0adkll/Campfire pr-stack --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/r0adkll/Campfire.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/pr-stack .gemini/skills/pr-stack && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "pr-stack" agent skill from https://github.com/r0adkll/Campfire/tree/main/.claude/skills/pr-stack into .gemini/skills/pr-stack/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-stack", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install r0adkll/Campfire pr-stackInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add r0adkll/Campfire --skill pr-stack -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/r0adkll/Campfire.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/pr-stack .github/skills/pr-stack && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "pr-stack" agent skill from https://github.com/r0adkll/Campfire/tree/main/.claude/skills/pr-stack into .github/skills/pr-stack/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-stack", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add r0adkll/Campfire --skill pr-stack -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install r0adkll/Campfire pr-stack --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/r0adkll/Campfire.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/pr-stack .opencode/skills/pr-stack && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "pr-stack" agent skill from https://github.com/r0adkll/Campfire/tree/main/.claude/skills/pr-stack into .opencode/skills/pr-stack/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-stack", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
pr-stackOpen, describe, and maintain pull requests in Campfire, especially stacks of dependent PRs (each branch built on the one before).
PR Stack is an agent skill from r0adkll/Campfire. Open, describe, and maintain pull requests in Campfire, especially stacks of dependent PRs (each branch built on the one before). Use when opening a PR, splitting work into a series of PRs, restacking after a lower branch changes or merges, writing or updating PR descriptions, closing a superseded PR, or when asked for the "Stack" section.
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/stack_section.py`).
It sits in Development, covering Pull requests. It works with iOS and Android. The repository describes itself as: A KMP Compose app for Audiobookshelf. The licence is GPL-3.0.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e52e0de. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
gitghpython3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
PR Stack loads about 1.7k tokens when it runs. Until then it costs about 88 tokens; SKILL.md has 919 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from r0adkll/Campfire at commit e52e0de, republished under its GPL-3.0 licence (© r0adkll). 919 words, ~1,729 tokens.
.claude/skills/pr-stack/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.A stack is a chain, sometimes a tree, of PRs where each PR's base is the previous PR's branch. Reviewers can then read one concern at a time while the work keeps moving. Every PR in a stack carries a Stack section listing the whole stack.
Ask before pushing or opening PRs unless the user said to go ahead. Building and committing locally needs no asking.
Check each PR on its own. Every branch in the stack must pass by itself, not just the top one:
./scripts/ktlint --check;:app:desktop:compileKotlin, :app:android:compileAlphaDebugKotlin, and iOS (:app:ios:compileKotlinIosSimulatorArm64) when shared or iOS code changed;./gradlew jvmTest test.Never pipe Gradle into tail, because that hides the exit code.
Behavior changes get a device run. Use the campfire-device-tester agent against the throwaway testbed, never a real server. For data or storage changes, include the upgrade path: install the parent branch's build, set non-default values, then install -r the new build.
Changelog (see CLAUDE.md):
Labels: ignore-db-change for .sq changes that need no migration, and skip-coverage only when the user agrees. Add labels with gh issue edit <n> --add-label ....
git switch -c <next-branch> <previous-branch>. Name branches so they sort by step (refactor/settings-async-1a, -1b, -1c).--no-gpg-sign), and never add Co-Authored-By trailers or session links.Lead with a short paragraph: what the PR does and why, and which issue it's part of (Part of #607). Then the sections that apply. Recent PRs use:
Put Closes #N in the top PR of the stack. GitHub only closes the issue when a PR merges into main, which happens once the whole stack has landed. End with the footer the session's attribution instructions give.
Don't write "Stacked on #N" prose. The Stack section says it, and stays true as the stack changes.
Every open PR in a stack gets the same nested list, with each PR indented under its parent and [This PR] marking the PR being viewed. Bare #N references are enough, because GitHub renders them as rich links:
## Stack
- #1189
- #1195
- [This PR] #1196
- #1197
- #1198
- #1199Don't write it by hand. scripts/stack_section.py builds the tree from the open PRs' base and head branches, so it doesn't matter which PR you start from. It keeps the section between hidden <!-- pr-stack:start --> / <!-- pr-stack:end --> markers at the top of each body, replacing it in place on reruns:
python3 .claude/skills/pr-stack/scripts/stack_section.py 1196 # dry run: print each PR's section
python3 .claude/skills/pr-stack/scripts/stack_section.py 1196 --apply # write the ones that changedRun it after every change to the stack's shape: a PR opened, merged, closed or retargeted. When only one PR is left, it removes the section.
git push -u origin <branch>. A branch created from origin/main tracks main until you do this.--base set to its parent's branch: gh pr create --base <parent-branch> --head <branch> --title ... --body-file <file>. Write bodies to files rather than inline heredocs.stack_section.py --apply once all of them exist. It fills in every PR's Stack section, so you don't need to cross-link with placeholders.gh pr edit fails in this repo (it queries the deprecated projectCards GraphQL field). Patch through the API instead (see docs/agents/issue-tracker.md):
gh api -X PATCH repos/r0adkll/Campfire/pulls/<n> -F body=@body.md # description
gh api -X PATCH repos/r0adkll/Campfire/pulls/<n> -f base=<branch> # retarget
gh pr ready <n> --undo # back to draftA lower branch changed (review fixes, a changelog entry, a rebase on main): restack every descendant, top-down from the changed branch, in order.
git rev-parse <branch>.git rebase --onto <parent> <parent's old tip> <child>.git rebase <parent> also works when the parent only gained commits. Git skips patches that are already applied, and prints a "skipped cherry-picks" hint.git push --force-with-lease. Ask first if the PRs are already under review.A PR merged. main is squash-only and head branches are deleted on merge, so:
main by itself.Restack each child with git fetch origin && git rebase --onto origin/main <merged branch's old tip> <child>, then its descendants as above. Then run stack_section.py --apply, which drops the merged PR from every list.
A PR is superseded. Close it with a comment naming its replacement and what carried over (gh pr close <n> --comment ...). If it's still useful as a reference until the replacement lands, move it to draft instead, with a comment saying so.
© r0adkll, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (scripts) in .claude/skills/pr-stack of r0adkll/Campfire.
Open the folder on GitHubat commit e52e0de
PR Stack next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| PR Stack this skillr0adkll/Campfire | 139 | — | ~1.7k | Automated safety check: Pass | GPL-3.0 | |
| Commit PRsamuelclay/NewsBlur | 7.6k | — | ~4.1k | Automated safety check: Pass | MIT | |
| Grix Code Reviewaskie/grix | 153 | — | ~799 | Automated safety check: Pass | Custom licence | |
| Tlon Workflowtloncorp/tlon-apps | 107 | — | ~8.9k | Automated safety check: Notes | MIT | |
| Open PRossappscollective/oss-weather | 456 | — | ~918 | Automated safety check: Pass | MIT | |
| PR Proofmrzmyr/pixy-mood-tracker-app | 153 | — | ~571 | Automated safety check: Pass | MIT |
samuelclay/NewsBlur
A skill your agent uses when the user runs /commit-pr, says "commit and push", "open a PR", "ship this", asks to update an existing PR with new changes, or asks to resolve PR review comments in the…
askie/grix
Audit Grix diffs and pull requests for correctness, regressions, security, lifecycle safety, and cross-component contract consistency.
tloncorp/tlon-apps
A skill your agent uses when taking a Tlon Messenger task from a fresh worktree to a merged pull request: reproducing or fixing something in the iOS, Android or web app, validating it on a…
ossappscollective/oss-weather
MANDATORY skill for ALL pull requests. An agent skill from ossappscollective/oss-weather.
mrzmyr/pixy-mood-tracker-app
Upload screenshots or videos to a PR body. An agent skill from mrzmyr/pixy-mood-tracker-app.
hyochan/react-native-nitro-sound
A skill your agent uses for react-native-nitro-sound repository work that should follow the project workflows for PR review, code audit, knowledge compilation, full verification, iOS or Android…
r0adkll/Campfire
Enforce the Compose guideline that every @Composable function must declare modifier: Modifier = Modifier as its first optional parameter and apply it to the root layout.
r0adkll/Campfire
Rules and reliable local tests for keeping Campfire's foss flavor F-Droid-compatible — a clean source scan (using scandelete, never scanignore) and a byte-for-byte reproducible build.
r0adkll/Campfire
Extract hardcoded user-facing string literals from a Jetpack Compose / Compose Multiplatform file into the owning module's composeResources/values/<modulestrings.xml, then replace each call site…
r0adkll/Campfire
Enforce the Campfire IconButton accessibility convention — every IconButton (and its derivatives) must be wrapped with IconButtonTooltip and given a localized action label.
r0adkll/Campfire
Enforce the Campfire pattern for feature modules to react to Audiobookshelf socket events.
r0adkll/Campfire
Campfire Compose UI conventions. An agent skill from r0adkll/Campfire.
Categories
Open, describe, and maintain pull requests in Campfire, especially stacks of dependent PRs (each branch built on the one before). PR Stack is an agent skill from r0adkll/Campfire. Open, describe, and maintain pull requests in Campfire, especially stacks of dependent PRs (each branch built on the one before).
PR Stack fits situations like: splitting work into a series of PRs; restacking after a lower branch changes; updating PR descriptions; closing a superseded PR.
Run `npx skills add r0adkll/Campfire --skill pr-stack -a claude-code`. Or copy the skill folder (.claude/skills/pr-stack in r0adkll/Campfire) into .claude/skills/pr-stack in your project. Claude Code loads it when a task matches its description.
Run `npx skills add r0adkll/Campfire --skill pr-stack -a codex`. Or copy the skill folder (.claude/skills/pr-stack in r0adkll/Campfire) into .agents/skills/pr-stack in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add r0adkll/Campfire --skill pr-stack -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pr-stack, .gemini/skills/pr-stack, .github/skills/pr-stack and .opencode/skills/pr-stack in your project.
Going by SKILL.md and its folder, PR Stack needs Python for the scripts in its folder and the command-line tools its instructions call (git, gh and python3). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
PR Stack is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with PR Stack: Commit PR (samuelclay/NewsBlur, 7.6k stars), Grix Code Review (askie/grix, 153 stars), Tlon Workflow (tloncorp/tlon-apps, 107 stars) and Open PR (ossappscollective/oss-weather, 456 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
r0adkll (a GitHub user) maintains it in r0adkll/Campfire, which has 139 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 6, 2026.
Source: r0adkll/Campfire on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.