prepare-paperclip-pr
Prepare a Paperclip branch for PR with commits, template body, and checks.
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install paperclip-prepare-paperclip-prManual setup by platform
Claude Code
~/.claude/skills/paperclip-prepare-paperclip-pr/SKILL.md
Instructions
Prepare Paperclip PR
The standard Paperclip procedure for turning branch work into a reviewed,
green pull request against paperclipai/paperclip master. Apply it once per
PR (if a task splits a branch into several PRs, run the whole procedure for
each one).
0. Preconditions β worktree safety
- Do all PR work in a git worktree on a dedicated branch. The main
~/paperclipcheckout typically runs the live Paperclip server β never
check out branches there. If you are already on a worktree/branch, verify it
(git rev-parse --git-dir,git branch --show-current) and proceed. - If the main checkout is unexpectedly off
master, fix that first without
losing work (usually: move that branch's work into a worktree). - Confirm which remote/ref you are targeting (normally
masteron the
paperclipai/papercliprepo; the task may name a specific remote such as
originorpublic-gh).
1. Commit everything β lose no work
- Make logical commits of all uncommitted changes before anything else.
Do not stash and forget; do not leave files behind. If commits are missing,
make them. - Commit messages must end with exactly:
Co-Authored-By: Paperclip <[email protected]>
2. Get changes cleanly on top of master
- Fetch the target remote and rebase (or otherwise replay) your branch on top
of the target master so the PR has no merge conflicts. - Re-verify after rebase: build/tests relevant to the change still pass at
whatever depth the task warrants.
3. Guardrails checklist (every PR)
- Never commit
pnpm-lock.yamlβ the repo has actions that manage it.
If it is already in a commit, rewrite/drop that change before pushing. - Never change
.github/workflows/*unless the underlying commit was
explicitly about that and the task calls it out. - No design screenshots / wireframe images committed to the repo unless
they are genuinely part of the work product. - Migrations: numbered incrementally with no conflicts against master. If
master moved and took your number, renumber on top. Make migrations
idempotent so users who already applied the old number are safe. - Greptile file limit: keep each PR under 100 changed files; if a PR
exceeds that, split it into two.
4. Open the PR
- Follow
CONTRIBUTING.md(repo root,
https://github.com/paperclipai/paperclip/blob/master/CONTRIBUTING.md) for
the PR title, message format, and issue description. - Push the branch and open the PR with
gh. - Record the PR URL immediately β every report must include URLs to every PR.
5. Review loops
- Run the /greploop company skill: trigger Greptile review, address its
comments, push, and repeat until Greptile gives 5/5 with zero unresolved
comments (max 20 turns). Do not stop early while turns remain. - Then run the /prcheckloop company skill and address any verification /
CI failures you can. - RUN GREPTILE UNTIL IT GETS TO 5/5 - DO NOT STOP UNTIL GREPTILE IS 5/5, all
tests pass, all verification checks pass, and there are no merge conflicts.
6. Report back and hand off
- Comment on the driving task: what you did, the PR URL(s), the worktree path
(use~for home), Greptile score, and check status. - Create a
pull_requestwork product for each opened PR (plusbranch/
commitwork products where the branch or a commit is itself the handoff). - If the task requires follow-up per PR (e.g. sub-issues per PR), create them
as the task directs and link them.
Hard rules
- Never lose work: no orphaned stashes, no dropped files, no force-pushes
that discard commits. - Always post the URLs to every pull request you created.
Security
Reviews (0)
Related skills
Browse all βMore from paperclip
View source βMore Build skills
Browse category βFrequently asked questions about prepare-paperclip-pr
What does the prepare-paperclip-pr skill do?
Prepare a Paperclip branch for PR with commits, template body, and checks. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the prepare-paperclip-pr skill?
Run `npx @skills-hub-ai/cli install paperclip-prepare-paperclip-pr` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/paperclip-prepare-paperclip-pr/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does prepare-paperclip-pr work with?
prepare-paperclip-pr runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the prepare-paperclip-pr skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use prepare-paperclip-pr after installing it?
In Claude Code, type `/paperclip-prepare-paperclip-pr` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the prepare-paperclip-pr skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.