@gilangjavier/prfa
v0.1.0
Published
PR Follow-up Assistant CLI for tracking open/stale pull requests and drafting follow-up messages.
Readme
PR Follow-up Assistant (prfa)
A small cross-platform Node.js CLI to scan your open GitHub PRs, highlight stale ones, and generate follow-up message templates.
Features
- 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
Requirements
- Node.js 18+
- GitHub CLI (
gh) installed and authenticated (gh auth status)
Install
Global install:
npm i -g @gilangjavier/prfaOr run without installing:
npx @gilangjavier/prfa scan --user gilangjavier --days 7Usage
prfa 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 7Example Output
# 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!Development
npm testRelease readiness
Dry-run package publish:
npm publish --dry-runPublishing to npm is not done automatically. You need
npm loginand publish rights.
License
MIT
