A small cross-platform Node.js CLI to scan your open GitHub PRs, highlight stale ones, and generate follow-up message templates.
- Scan open PRs authored by a GitHub user
- Detect stale PRs by inactivity threshold (
--days) - Output markdown summary for easy posting into issues/chats/notes
- Generate follow-up templates for stale PRs
- Node.js 18+
- GitHub CLI (
gh) installed and authenticated (gh auth status)
Global install:
npm i -g @gilangjavier/prfaOr run without installing:
npx @gilangjavier/prfa scan --user gilangjavier --days 7prfa scan --user gilangjavier --days 7(If you used npx, replace prfa with npx @gilangjavier/prfa.)
Or via npm script (for contributors):
npm run scan -- --user gilangjavier --days 7# PR Follow-up Summary for @gilangjavier
Generated: 2026-03-17T03:43:00.000Z
Stale threshold: 7 days
## Open PRs (2)
- [owner/repo#12](https://github.com/owner/repo/pull/12) — feat: improve parser _(inactive 2d)_
## Stale PRs (1)
- [owner/repo#11](https://github.com/owner/repo/pull/11) — fix: flaky tests _(inactive 10d)_
## Suggested follow-up templates
### owner/repo#11
Hi maintainers, friendly follow-up on this PR 👋
- Is there anything I should adjust to move this forward?
- Happy to update tests/docs if needed.
Thanks for your time!See CONTRIBUTING.md for both:
- For AI agents
- For humans
npm testMIT