{"id":50216386,"url":"https://github.com/rogerchappel/prpack","last_synced_at":"2026-05-26T09:04:35.379Z","repository":{"id":355930825,"uuid":"1227135058","full_name":"rogerchappel/prpack","owner":"rogerchappel","description":"Local-first PR handoff pack generator for branchbrief, qualitygate, and git metadata","archived":false,"fork":false,"pushed_at":"2026-05-05T22:06:24.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-05T23:24:33.371Z","etag":null,"topics":["branchbrief","cli","code-review","local-first","markdown","pull-request","qualitygate","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rogerchappel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-02T08:55:01.000Z","updated_at":"2026-05-05T22:05:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rogerchappel/prpack","commit_stats":null,"previous_names":["rogerchappel/prpack"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rogerchappel/prpack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerchappel%2Fprpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerchappel%2Fprpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerchappel%2Fprpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerchappel%2Fprpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rogerchappel","download_url":"https://codeload.github.com/rogerchappel/prpack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerchappel%2Fprpack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33512346,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T03:12:49.672Z","status":"ssl_error","status_checked_at":"2026-05-26T03:12:47.976Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["branchbrief","cli","code-review","local-first","markdown","pull-request","qualitygate","typescript"],"created_at":"2026-05-26T09:04:20.479Z","updated_at":"2026-05-26T09:04:35.348Z","avatar_url":"https://github.com/rogerchappel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prpack\n\n`prpack` is a local-first TypeScript CLI that turns a branch into a reviewer-ready PR handoff pack.\n\nIt reads optional `branchbrief` and `qualitygate` JSON artifacts when they exist, falls back to local git metadata when they do not, and writes:\n\n- `PR_PACK.md` — full handoff document with git context, quality evidence, risks, follow-ups, and reviewer checklist\n- optional PR body text — the concise Markdown you can paste into your hosting provider\n\nV1 does **not** create PRs, comment on GitHub, call an LLM, phone home, or use the network.\n\n## Install\n\n```sh\nnpm install -D prpack\n```\n\nOr run from this repository:\n\n```sh\nnpm install\nnpm run build\nnode dist/src/cli.js generate\n```\n\n## Quickstart\n\n```sh\nprpack generate\n```\n\nThat writes `PR_PACK.md` in the current repository.\n\nWrite a paste-ready PR body too:\n\n```sh\nprpack generate --pr-body PR_BODY.md\n```\n\nAsk for machine-readable output:\n\n```sh\nprpack generate --json\n```\n\nPreview without writing files:\n\n```sh\nprpack generate --no-write\n```\n\n## Artifact discovery\n\n`prpack generate` automatically looks for:\n\n- `branchbrief.json`\n- `.branchbrief.json`\n- `branchbrief/branchbrief.json`\n- `.branchbrief/branchbrief.json`\n- `qualitygate.json`\n- `.qualitygate.json`\n- `qualitygate/qualitygate.json`\n- `.qualitygate/qualitygate.json`\n\nYou can provide extra locations:\n\n```sh\nprpack generate --artifact artifacts/branchbrief.json --artifact artifacts/qualitygate.json\n```\n\n## branchbrief shape\n\n```json\n{\n  \"title\": \"Add deterministic PR pack generation\",\n  \"summary\": \"Generate a reviewer-ready handoff from local artifacts and git metadata.\",\n  \"changes\": [\"Render PR_PACK.md\", \"Render PR_BODY.md\"],\n  \"testing\": [\"npm test\", \"npm run build\"],\n  \"risks\": [\"Markdown templates may drift\"],\n  \"rollout\": [\"Regenerate the pack before opening a PR\"],\n  \"followUps\": [\"Collect more artifact examples\"]\n}\n```\n\n## qualitygate shape\n\n```json\n{\n  \"status\": \"pass\",\n  \"summary\": \"All local checks passed.\",\n  \"commands\": [\"npm test\", \"npm run check\", \"npm run build\"],\n  \"checks\": [\n    { \"name\": \"unit tests\", \"status\": \"pass\" },\n    { \"name\": \"typecheck\", \"status\": \"pass\" }\n  ]\n}\n```\n\n## CLI reference\n\n```text\nprpack generate [options]\n\nOptions:\n  --cwd \u003cpath\u003e           Repository to inspect (default: current directory)\n  --output \u003cpath\u003e        Markdown pack path (default: PR_PACK.md)\n  --pr-body \u003cpath\u003e       Also write PR body text to this path\n  --base \u003cbranch\u003e        Base branch name for git comparison\n  --artifact \u003cpath\u003e      Extra artifact path to read (repeatable)\n  --json                 Print JSON result for automation\n  --no-write             Do not write files; print output only\n  -h, --help             Show help\n  -v, --version          Show version\n```\n\n## Safety and local-first guarantees\n\n- No telemetry.\n- No hidden network calls.\n- No PR creation in V1.\n- No GitHub token required.\n- Git commands are read-only metadata queries.\n- Output is deterministic except for the generated timestamp and current git state.\n\n## Verify\n\n```sh\nnpm test\nnpm run check\nnpm run build\nnpm run smoke\nbash scripts/validate.sh\n```\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md). Please keep changes small, local-first, deterministic, and easy to review.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogerchappel%2Fprpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frogerchappel%2Fprpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogerchappel%2Fprpack/lists"}