{"id":15116589,"url":"https://github.com/Integral-Healthcare/robin-ai-reviewer","last_synced_at":"2025-09-27T22:30:45.322Z","repository":{"id":163561691,"uuid":"639023297","full_name":"Integral-Healthcare/robin-ai-reviewer","owner":"Integral-Healthcare","description":"Robin is your AI pull request reviewer in the form of a super fast lightweight github action. ","archived":false,"fork":false,"pushed_at":"2024-12-23T19:26:16.000Z","size":3964,"stargazers_count":59,"open_issues_count":6,"forks_count":4,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-01-16T14:37:11.705Z","etag":null,"topics":["action","automation","chatgpt","github-actions","gpt-4","openai","pull-request","pull-request-action","pull-request-management","pull-request-review","pull-requests","review-tools"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Integral-Healthcare.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-10T15:38:02.000Z","updated_at":"2024-12-23T19:24:07.000Z","dependencies_parsed_at":"2024-07-13T18:54:35.411Z","dependency_job_id":"df4e5de1-3862-4ab7-9c02-0fa099dcf8cd","html_url":"https://github.com/Integral-Healthcare/robin-ai-reviewer","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integral-Healthcare%2Frobin-ai-reviewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integral-Healthcare%2Frobin-ai-reviewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integral-Healthcare%2Frobin-ai-reviewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integral-Healthcare%2Frobin-ai-reviewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Integral-Healthcare","download_url":"https://codeload.github.com/Integral-Healthcare/robin-ai-reviewer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234461956,"owners_count":18837209,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["action","automation","chatgpt","github-actions","gpt-4","openai","pull-request","pull-request-action","pull-request-management","pull-request-review","pull-requests","review-tools"],"created_at":"2024-09-26T01:44:27.244Z","updated_at":"2025-09-27T22:30:45.316Z","avatar_url":"https://github.com/Integral-Healthcare.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eRobin AI\u003c/h1\u003e\n  \u003ca href=\"https://github.com/Integral-Healthcare/robin-ai-reviewer/releases\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/release/Integral-Healthcare/robin-ai-reviewer\" alt=\"GitHub release (latest by date)\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/Integral-Healthcare\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/org-Integral--Healthcare-blue\" alt=\"GitHub org\"\u003e\n  \u003c/a\u003e\n  \u003cbr\u003e\n  \u003cimg src=\"/assets/robin.png\" alt=\"Robin watercolor image\" style=\"width: 350px;\"/\u003e\n\u003c/div\u003e\n\nNamed after Batman's assistant, Robin AI is an open source Github action that automatically reviews pull requests using AI models from OpenAI (GPT) or Anthropic (Claude). It analyzes your code changes and provides:\n- A quality score (0-100)\n- Actionable improvement suggestions\n- Sample code snippets for better implementation\n- Fast, automated feedback (average runtime: 14s)\n\n## Table of Contents\n- [Prerequisites](#prerequisites)\n- [Installation](#installation)\n- [Configuration](#configuration)\n- [Usage](#usage)\n- [Example Output](#example-output)\n- [Performance](#performance)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Prerequisites\n- A GitHub repository with pull request workflows\n- An API key for your chosen AI provider:\n  - **OpenAI**: [Get an API key here](https://platform.openai.com/account/api-keys)\n  - **Claude (Anthropic)**: [Get an API key here](https://console.anthropic.com/settings/keys)\n\n## Installation\n1. In your Github repository, navigate to the \"Actions\" tab\n2. Click \"New workflow\"\n3. Choose \"Set up a workflow yourself\"\n4. Create a new file (e.g., `robin.yml`) with one of these configurations:\n\n### Using OpenAI (Default)\n```yml\nname: Robin AI Reviewer\n\non:\n  pull_request:\n    branches: [main]\n    types:\n      - opened\n      - reopened\n      - ready_for_review\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n      - name: Robin AI Reviewer\n        uses: Integral-Healthcare/robin-ai-reviewer@v[INSERT_LATEST_RELEASE]\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          AI_PROVIDER: openai\n          AI_API_KEY: ${{ secrets.OPEN_AI_API_KEY }}\n          AI_MODEL: o4-mini\n          files_to_ignore: |\n            \"README.md\"\n            \"assets/*\"\n            \"package-lock.json\"\n```\n\n### Using Claude (Anthropic)\n```yml\nname: Robin AI Reviewer\n\non:\n  pull_request:\n    branches: [main]\n    types:\n      - opened\n      - reopened\n      - ready_for_review\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n      - name: Robin AI Reviewer\n        uses: Integral-Healthcare/robin-ai-reviewer@v[INSERT_LATEST_RELEASE]\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          AI_PROVIDER: claude\n          AI_API_KEY: ${{ secrets.CLAUDE_API_KEY }}\n          AI_MODEL: claude-3-sonnet-20240229\n          files_to_ignore: |\n            \"README.md\"\n            \"assets/*\"\n            \"package-lock.json\"\n```\n\n### Legacy Configuration (Still Supported)\n```yml\nname: Robin AI Reviewer\n\non:\n  pull_request:\n    branches: [main]\n    types:\n      - opened\n      - reopened\n      - ready_for_review\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n      - name: Robin AI Reviewer\n        uses: Integral-Healthcare/robin-ai-reviewer@v[INSERT_LATEST_RELEASE]\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          OPEN_AI_API_KEY: ${{ secrets.OPEN_AI_API_KEY }}\n          gpt_model_name: o4-mini\n          files_to_ignore: |\n            \"README.md\"\n            \"assets/*\"\n            \"package-lock.json\"\n```\n\n5. Add your API key as a repository secret:\n   - Go to repository Settings → Secrets and Variables → Actions\n   - For OpenAI: Create a secret named `OPEN_AI_API_KEY`\n   - For Claude: Create a secret named `CLAUDE_API_KEY`\n   - Paste your API key as the value\n\n## Configuration\n\n### Parameters (Recommended)\n| Name | Required | Default | Description |\n|------|----------|---------|-------------|\n| `GITHUB_TOKEN` | Yes | Auto-supplied | GitHub token for API access |\n| `AI_PROVIDER` | No | `openai` | AI provider to use (`openai` or `claude`) |\n| `AI_API_KEY` | Yes | N/A | API key for the selected AI provider |\n| `AI_MODEL` | No | Provider-specific | AI model to use (see supported models below) |\n| `github_api_url` | No | `https://api.github.com` | GitHub API URL (for enterprise) |\n| `files_to_ignore` | No | (empty) | Files to exclude from review |\n\n### Legacy Parameters (Deprecated but still supported)\n| Name | Required | Default | Description |\n|------|----------|---------|-------------|\n| `OPEN_AI_API_KEY` | No | N/A | [DEPRECATED] Use `AI_API_KEY` instead |\n| `gpt_model_name` | No | N/A | [DEPRECATED] Use `AI_MODEL` instead |\n\n## Usage\n\nWhen Robin AI runs, it will post a comment on the pull request with its score out of 100, suggested improvements, and sample code for improvement. You can use this information to improve the quality of your code and make your pull requests more likely to be accepted.\n\n## Example Output\nWhen Robin AI reviews your pull request, you'll see a comment like this:\n\n\u003cdetails\u003e\n\u003csummary\u003eScore: 85/100\u003c/summary\u003e\n\nImprovements:\n- Consider adding input validation for the user parameters\n- The error handling could be more specific\n- Variable naming could be more descriptive\n\n```python\n# Before\ndef process(x):\n    return x * 2\n\n# After\ndef process_user_input(value: int) -\u003e int:\n    if not isinstance(value, int):\n        raise ValueError(\"Input must be an integer\")\n    return value * 2\n```\n\u003c/details\u003e\n\n## Performance\n- Docker Image Size: 15.6MB\n- Average Runtime: 14 seconds\n- Memory Usage: Minimal (\u003c100MB)\n\n## Demo\nSee Robin AI in action: [View Demo](https://twitter.com/johnkuhn58/status/1656460223685509122)\n\n## Contributing\nWe welcome contributions! Here's how you can help:\n- Submit bug reports or feature requests through [Issues](https://github.com/Integral-Healthcare/robin-ai-reviewer/issues)\n- Submit pull requests for bug fixes or new features\n- Improve documentation\n- Share feedback on [Twitter](https://twitter.com/johnkuhn58/)\n\n## License\nRobin AI is MIT licensed. See [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIntegral-Healthcare%2Frobin-ai-reviewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FIntegral-Healthcare%2Frobin-ai-reviewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIntegral-Healthcare%2Frobin-ai-reviewer/lists"}