AI-powered GitHub Action for smarter open-source triage. PRism detects duplicate issues and PRs, generates structured PR review summaries, applies intelligent labels, and optionally supports Postgres + pgvector for persistent similarity.
PRism started as a response to high-volume OSS triage pain raised by @steipete: duplicate issues, duplicate PRs, and too much manual review overhead.
- 🔍 Duplicate Detection: AI-powered duplicate detection for issues and PRs
- 📝 Structured PR Reviews: Comprehensive code reviews with categorized findings
- 🏷️ Smart Labeling: Automatic label suggestions and application
- 💾 Stateful/Stateless: Run in-memory or with Postgres + pgvector
- ⚡ Fast: Posts comments within 60 seconds
- 🔒 Safe: Never auto-closes or auto-merges
name: AI Triage
on:
issues:
types: [opened, edited]
pull_request:
types: [opened, edited, synchronize]
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: danhdox/prism@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
llm-api-key: ${{ secrets.OPENAI_API_KEY }}- Duplicate and related issue/PR detection with confidence signals
- Structured PR review comments with findings + complexity estimate
- Automatic label suggestions and application
- Vision alignment analysis for PRs
- Off-track handling modes:
comment,label,fail - Stateful mode support with Postgres + pgvector
- Backlog triage mode for scheduled scans and prioritized queues
- Better explainability in comments (why this PR/issue was matched)
- Configurable confidence thresholds per repository workflow
- One-click "needs human review" escalation path
- Cross-repo similarity detection for org-wide triage
- Improved signal blending (semantic similarity + file/risk heuristics)
- Triage analytics dashboard and trend reporting
- GitHub Actions workflow
- OpenAI API key (required)
- PostgreSQL with pgvector (optional, for stateful mode)
MIT - see LICENSE
