pre-pr — Claude Code skill: PR checks and setup
pre-pr is a Claude Code skill that checks which tests and docs a Honcho change needs and drafts a PR description with evidence. Run it after the change is complete, before opening a PR.
AGPL-3.0 131 installs ★ 8,222 updated 2026-10-23
npx skills add plastic-labs/honcho --skill pre-pr -a claude-codeWhat pre-pr does
The skill classifies changes using git diff main...HEAD --stat, then maps touched project areas to required tests and docs. Changes in src/ call for matching unit tests; edits to areas such as the queue, configuration, or SDK contract can require additional test layers. Before claiming tests pass, it runs uv run ruff check src/ and uv run basedpyright.
It fills the description and proofs sections of .github/pull_request_template.md. It does not open the PR. Changes to /v3 HTTP or deriver queue behavior trigger /verify; skipped layers need a one-line reason. Proofs must reflect commands actually run, so the skill does not treat unverified test results as green.
What it helps with
- identify tests required by the changed project areas
- check whether a public API change needs matching docs
- gather command results and evidence for a PR body
- fill the description and proofs sections of the PR template
Example prompts for the agent
- Check whether my Honcho branch is ready for a PR and fill in the template.
- Draft a PR description for these changes using the checks that actually ran.
- This change touches runtime behavior; prepare the required pre-PR checks.
How to install pre-pr
1Skills CLI (Vercel)
npx skills add plastic-labs/honcho --skill pre-pr -a claude-code2Manually: put the files in place
~/.claude/skills/pre-pr/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/pre-pr/
1Skills CLI (Vercel)
npx skills add plastic-labs/honcho --skill pre-pr -a codex2Manually: put the files in place
.agents/skills/pre-pr/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add plastic-labs/honcho --skill pre-pr -a cursor2Manually: put the files in place
.cursor/skills/pre-pr/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install plastic-labs/honcho skills/pre-pr2Manually: put the files in place
.github/skills/pre-pr/SKILL.md1Skills CLI (Vercel)
npx skills add plastic-labs/honcho --skill pre-pr -a gemini-cli2Platform CLI
gemini skills install https://github.com/plastic-labs/honcho --path skills/pre-prManually: put the files in place
.devin/skills/pre-pr/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add plastic-labs/honcho --skill pre-pr -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about pre-pr
How do I install pre-pr in Claude Code?
Run npx skills add plastic-labs/honcho --skill pre-pr -a claude-code. The skill file is at ~/.claude/skills/pre-pr/SKILL.md.
What does pre-pr do?
It reviews Honcho changes, identifies relevant tests and docs, and fills in the PR description and evidence sections. It does not create the pull request.
What does pre-pr require for runtime changes?
Changes to /v3 HTTP or deriver queue behavior invoke the /verify skill; pytest alone is not enough. Other affected areas map to their corresponding test layers.