Skip to content

[Resource]: prpack #1842

@Lucas2944

Description

@Lucas2944

Display Name

prpack

Category

Agent Skills

Sub-Category

None

Primary Link

https://github.com/Lucas2944/prpack

Author Name

Scott Thurman

Author Link

https://github.com/Lucas2944

License

MIT

Other License

No response

Description

Zero-dependency Node CLI that packs a pull request, including the commit list, per-file diff, and full post-change content of every touched file, into a single markdown file optimized for LLM code review. v0.2.0 adds an optional --review mode that streams an Anthropic Messages API review when an API key is configured. Companion GitHub Action and browser-based demo are available in sibling repositories.

Validate Claims

Install with npx github:Lucas2944/prpack --out ctx.md in any local git repo on a feature branch, then paste ctx.md into Claude Code. Compare the resulting review against pasting only the raw git diff for the same branch; the claim is that the full-file context produces materially better reviews. A reproducible side-by-side fixture is checked into the repository at https://github.com/Lucas2944/prpack/tree/main/examples/invoice-refactor — paste diff-only.md and ctx.md into Claude separately and compare outputs against EXPECTED.md.

Specific Task(s)

Help me review the current pull request on this branch. Identify bugs, missing edge cases, and assumptions the new code makes about the surrounding system.

Specific Prompt(s)

In a project with a feature branch, run npx github:Lucas2944/prpack --out ctx.md. Then in Claude Code attach ctx.md and ask: "Review this PR. Cite file and line for any finding. End with a verdict on one line: Safe to merge | needs changes | reject."

Additional Comments

prpack only makes network requests when --review is explicitly passed (it calls Anthropic's Messages API and prints a cost estimate before the call). In the default packing mode it runs entirely against local git. No telemetry. No auto-update.

Companion projects in the same ecosystem:

  • prpack-action: a 5-line GitHub Actions workflow that runs prpack on every PR
  • prpack-demo: a browser version at lucas2944.github.io/prpack-demo for a no-install try
  • prpack-prompts: four review prompts as plain markdown for use with any LLM

Recommendation Checklist

  • I have checked that this resource hasn't already been submitted
  • It has been over one week since the first public commit to the repo I am recommending
  • All provided links are working and publicly accessible
  • I do NOT have any other open issues in this repository
  • I am primarily composed of human-y stuff and not electrical circuits

Metadata

Metadata

Assignees

No one assigned

    Labels

    resource-submissionThis Issue submits a new resource to the listvalidation-passedResource has passed initial validation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions