{"id":46992934,"url":"https://github.com/patilmayur5572/ira-review","last_synced_at":"2026-05-08T03:16:26.752Z","repository":{"id":343633620,"uuid":"1178757196","full_name":"patilmayur5572/ira-review","owner":"patilmayur5572","description":"AI-powered PR reviews with built-in JIRA intelligence. SonarQube + AI + Bitbucket.","archived":false,"fork":false,"pushed_at":"2026-05-05T05:17:01.000Z","size":12412,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-05T07:30:57.068Z","etag":null,"topics":["ai","bitbucket","cli","code-review","github","jira","openai","pull-request","sonarqube","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/ira-review","language":"TypeScript","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/patilmayur5572.png","metadata":{"files":{"readme":"README-landing.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":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-11T10:37:50.000Z","updated_at":"2026-05-05T05:14:41.000Z","dependencies_parsed_at":"2026-03-29T12:06:44.977Z","dependency_job_id":null,"html_url":"https://github.com/patilmayur5572/ira-review","commit_stats":null,"previous_names":["patilmayur5572/ira-review"],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/patilmayur5572/ira-review","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patilmayur5572%2Fira-review","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patilmayur5572%2Fira-review/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patilmayur5572%2Fira-review/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patilmayur5572%2Fira-review/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patilmayur5572","download_url":"https://codeload.github.com/patilmayur5572/ira-review/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patilmayur5572%2Fira-review/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32764919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T02:36:36.067Z","status":"ssl_error","status_checked_at":"2026-05-08T02:36:07.210Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ai","bitbucket","cli","code-review","github","jira","openai","pull-request","sonarqube","typescript"],"created_at":"2026-03-11T14:16:30.892Z","updated_at":"2026-05-08T03:16:26.743Z","avatar_url":"https://github.com/patilmayur5572.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IRA - Intelligent Review Assistant\n\n**AI-powered code reviews for your editor and CI pipeline. Privacy-first, runs locally.**\n\n[![VS Code Marketplace](https://img.shields.io/visual-studio-marketplace/v/ira-review.ira-review-vscode?label=VS%20Code%20Marketplace\u0026color=blue)](https://marketplace.visualstudio.com/items?itemName=ira-review.ira-review-vscode)\n[![npm](https://img.shields.io/npm/v/ira-review?color=red)](https://www.npmjs.com/package/ira-review)\n\n---\n\n## What is IRA?\n\nIRA reviews your pull requests using AI and posts inline comments with explanations, impact assessments, and suggested fixes directly on your PR.\n\n**Works with any language.** Supports GitHub, GitHub Enterprise, Bitbucket Cloud, and Bitbucket Server/Data Center.\n\n## How to get IRA\n\n### VS Code Extension\n\nSearch **\"IRA - AI Code Reviews\"** in the Extensions panel, or:\n\n```bash\ncode --install-extension ira-review.ira-review-vscode\n```\n\n[Install from Marketplace](https://marketplace.visualstudio.com/items?itemName=ira-review.ira-review-vscode)\n\n### CLI (npm)\n\n```bash\nnpx ira-review review --pr 42 --dry-run\n```\n\n[View on npm](https://www.npmjs.com/package/ira-review)\n\n---\n\n## Features\n\n- AI-powered code review with inline PR comments\n- Risk scoring (0-100) with auto-labeling on GitHub\n- JIRA acceptance criteria validation with per-criterion pass/fail\n- Test Generation from JIRA — generate test cases from JIRA acceptance criteria in 8 frameworks\n- SonarQube issue enrichment with AI explanations\n- Slack and Teams notifications with risk threshold filtering\n- Auto-review on save\n- One-click \"Apply Fix\" via CodeLens\n- Review history with search\n- Trends dashboard (issues over time, severity breakdown)\n- GitHub, GitHub Enterprise, Bitbucket Cloud, Bitbucket Server\n- OpenAI, Azure OpenAI, Anthropic, Ollama (local), GitHub Copilot, AMP CLI\n\n---\n\n## Quick Start\n\n### VS Code\n\n1. Install the extension\n2. Open a project with a git remote\n3. Run `IRA: Review Current PR` from the Command Palette (`Cmd+Shift+P`)\n4. Or run `IRA: Generate Tests` to generate test cases from JIRA acceptance criteria\n\n### CLI\n\n```bash\nnpx ira-review review \\\n  --pr 42 \\\n  --scm-provider github \\\n  --github-token 'ghp_xxxxx' \\\n  --github-repo owner/repo \\\n  --ai-api-key 'sk-xxxxx' \\\n  --dry-run\n```\n\n### CI/CD (GitHub Actions)\n\n```yaml\nname: AI Code Review\non:\n  pull_request:\n    types: [opened, synchronize]\n\njobs:\n  review:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 20\n      - run: |\n          npx ira-review review \\\n            --pr ${{ github.event.pull_request.number }} \\\n            --scm-provider github \\\n            --github-token ${{ secrets.GITHUB_TOKEN }} \\\n            --github-repo ${{ github.repository }} \\\n            --no-config-file\n        env:\n          IRA_AI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n```\n\n---\n\n## Quick Reference\n\n| What you want | What to add |\n|---|---|\n| AI-only review | `--pr 42 --scm-provider github --github-token ghp_xxx --github-repo owner/repo --ai-api-key sk-xxx` |\n| + SonarQube | `--sonar-url https://sonarcloud.io --sonar-token sqa_xxx --project-key my-org_my-project` |\n| + JIRA validation | `--jira-url https://acme.atlassian.net --jira-email dev@acme.com --jira-token xxx --jira-ticket AUTH-234` |\n| + Test generation | `--generate-tests --test-framework vitest` |\n| + Slack notifications | `--slack-webhook https://hooks.slack.com/services/xxx` |\n| + Teams notifications | `--teams-webhook https://outlook.office.com/webhook/xxx` |\n| Notify only high risk | `--notify-min-risk high` |\n| Notify on AC failure | `--notify-on-ac-fail` |\n| Preview in terminal | `--dry-run` |\n| Use Anthropic | `--ai-provider anthropic --ai-api-key sk-ant-xxx` |\n| Use Ollama (free) | `--ai-provider ollama` |\n| Save on AI costs | `--ai-model gpt-4o-mini --ai-model-critical gpt-4o` |\n| Generate tests only | `npx ira-review generate-tests --jira-ticket AUTH-234 --test-framework jest --ai-api-key sk-xxx` |\n| Save tests to file | `--output tests/auth.test.ts` |\n\n## AI Providers\n\n| Provider | Flag | Notes |\n|---|---|---|\n| **OpenAI** (default) | `--ai-provider openai` | Pass key with `--ai-api-key` or set `IRA_AI_API_KEY` |\n| **Azure OpenAI** | `--ai-provider azure-openai` | Also needs `--ai-base-url` and `--ai-deployment` |\n| **Anthropic** | `--ai-provider anthropic` | Pass key with `--ai-api-key` or set `IRA_AI_API_KEY` |\n| **Ollama** (local) | `--ai-provider ollama` | Runs locally, no API key needed |\n| **AMP CLI** | VS Code extension only | Requires `amp` CLI installed and authenticated (`amp login`) |\n\n## Supported Test Frameworks\n\n| Framework | Language | Style |\n|---|---|---|\n| `jest` | JavaScript/TypeScript | `describe` / `it` / `expect` |\n| `vitest` | JavaScript/TypeScript | `describe` / `it` / `expect` |\n| `mocha` | JavaScript/TypeScript | `describe` / `it` + Chai |\n| `playwright` | TypeScript | `test` / `page` / E2E |\n| `cypress` | JavaScript | `cy.visit` / `cy.get` / E2E |\n| `gherkin` | Any (BDD) | `Given` / `When` / `Then` |\n| `pytest` | Python | `def test_` / `assert` |\n| `junit` | Java/Kotlin | `@Test` / `assertEquals` |\n\n---\n\n## What IRA posts on your PR\n\n```\nIRA Review - IRA/security (CRITICAL)\n\n\u003e User input used directly in SQL query without sanitization.\n\nExplanation: The username parameter is concatenated into a SQL string,\ncreating a SQL injection vector.\n\nImpact: Attacker could execute arbitrary SQL and gain database control.\n\nSuggested Fix: Use parameterized queries:\n  db.query('SELECT * FROM users WHERE name = $1', [username])\n```\n\n---\n\n## Security\n\n- Runs in your CI or editor. Your code never leaves your infrastructure.\n- No telemetry, analytics, or tracking.\n- Config files block sensitive fields automatically.\n\n## Requirements\n\n- Node.js 18+\n- An AI provider API key (or Ollama running locally, or AMP CLI / GitHub Copilot for the VS Code extension)\n- A GitHub or Bitbucket repo with an open PR\n\n## Support\n\n- Issues and feature requests: patilmayur5572@gmail.com\n- CLI reference: `npx ira-review review --help`\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatilmayur5572%2Fira-review","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatilmayur5572%2Fira-review","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatilmayur5572%2Fira-review/lists"}