Features
- List and search repositories
- View and create issues
- Review pull requests and analyze diffs
- Read commit history and branch activity
- Create and manage labels
- Comment on issues and PRs
- Generate release notes from merged PRs
- Monitor repository activity
Setup
Supported Actions
| Action | Description |
|---|---|
list_repos | List your repositories |
get_issues | Fetch issues from a repository |
create_issue | Create a new issue |
get_pull_requests | List pull requests |
get_pr_diff | Get the diff for a pull request |
create_pr_comment | Add a comment to a PR |
get_commits | View commit history |
search_code | Search code across repositories |
Examples
List open pull requests
Review a PR
Daily commit summary
Generate release notes
Bug triage
Troubleshooting
Repository not appearing- Verify you granted access during OAuth
- Go to GitHub Settings > Applications > Invariant and update repository access
- Re-connect GitHub and ensure the repository is selected
- Check that you have write access to the repository
- Invariant fetches data in real-time; refresh the chat to retry
Best Practices
- Use specific repository names: “my-org/my-repo” not just “my-repo”
- Include PR numbers when reviewing: “Review PR #42” not “Review my latest PR”
- For scheduled tasks, specify time ranges: “commits from yesterday” not “recent commits”