{
  "markdown": "# Gemini CLI Code Review Extension\n\nThe Code Review extension is an open-source Gemini CLI extension, built to enhance your repository's code quality.  The extension adds a new command to Gemini CLI that analyzes code changes to identify a variety of code quality issues.\n\nThis extension is brought to you by the authors of the [Gemini Code Assist GitHub App](https://github.com/apps/gemini-code-assist), which provides code reviews directly in your GitHub pull requests.\n\n## Installation\n\nInstall the Code Review extension by running the following command from your terminal *(requires Gemini CLI v0.4.0 or newer)*:\n\n```bash\ngemini extensions install https://github.com/gemini-cli-extensions/code-review\n```\n\nIf you do not yet have Gemini CLI installed, or if the installed version is older than 0.4.0, see\n[Gemini CLI installation instructions](https://github.com/google-gemini/gemini-cli?tab=readme-ov-file#-installation).\n\n## Use the extension\n\n### Reviewing code changes\n\nThe Code Review extension adds the `/code-review` command to Gemini CLI which analyzes code changes on your current branch for quality issues.\n\n### Reviewing a pull request\n\nThe Code Review extension adds the `/pr-code-review` command to Gemini CLI which analyzes code changes on your pull request for quality issues.\n\nTo use this extension for a pull request, you need to [enable](https://github.com/google-gemini/gemini-cli/blob/main/docs/tools/mcp-server.md) the [github mcp server](https://github.com/github/github-mcp-server), and provide pull request information. You can either provide through `/pr-code-review link/to/pull/request` or by [configuring](https://github.com/google-gemini/gemini-cli/blob/main/docs/reference/configuration.md#environment-variables-and-env-files) the following environment variables:\n- `REPOSITORY`: The github repository which contains the pull request.\n- `PULL_REQUEST_NUMBER`: The pull request number that need the code review.\n- `ADDITIONAL_CONTEXT`: Additional context or specific area that should focus on.\n\n## Resources\n\n- [Gemini CLI extensions](https://github.com/google-gemini/gemini-cli/blob/main/docs/extensions/index.md): Documentation about using extensions in Gemini CLI\n- [Blog post](https://blog.google/technology/developers/gemini-cli-extensions/): Announcement of Gemini CLI Extensions\n- [GitHub issues](https://github.com/gemini-cli-extensions/code-review/issues): Report bugs or request features\n\n## Legal\n\n- License: [Apache License 2.0](https://github.com/gemini-cli-extensions/code-review/blob/main/LICENSE)\n",
  "bytes": 2545,
  "sha": "cf8b15bd34805c2a9792bd02e8693ce05c9716ef36f4a3bebdb8d78f5ad1f65d",
  "repo_slug": "gemini-cli-extensions/code-review",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_gemini_cli_extensions_code_review_8b413f5e/readme"
}