Repissue
Open-source CLI that packs GitHub Issues & PRs into a single AI-ready context file.
- TypeScript
- Node.js
- npm
- Zod
01 · what it is
Repissue is a CLI that packs a repository's GitHub Issues and pull requests into one file you can hand to a coding agent. Repomix already gives an agent the code. Repissue gives it the other half: what's broken, what's been argued about, and what people actually want changed. It's on npm and pulls over a thousand downloads a week.
02 · how it works
A pipeline, not a fetch loop
Fetching runs in stages: paginate issues and pull requests concurrently, hydrate comments, filter, then render. Every GitHub response is validated with Zod at the boundary, so an upstream shape change fails loudly at the edge instead of quietly producing a malformed file.
Surviving big repositories
Repos with 500+ issues hit the API rate limit partway through a run. The client reads the rate-limit headers, backs off, and resumes where it stopped rather than starting over.
Signal per token is the whole point
The output gets read by a model with a finite context window, so noise is expensive. Bot comments, reaction-only replies, and duplicated quote blocks are stripped before rendering. Output goes to Markdown, Plain, or XML depending on what the consuming tool parses best.
03 · what I learned
Writing for a model instead of a person changed how I think about output. There's no skimming and no scrolling back, so every token either earns its place or crowds out something that would have. That made aggressive filtering a feature rather than a risk. Publishing it also taught me that the real work on an open-source tool starts after the first release, in issues from people using it in ways I never pictured.