{
  "markdown": "# Gemini Code Review Extension Prototype\n\nThis repository prototypes a custom Gemini CLI code review extension modeled on\nGoogle's public `gemini-cli-extensions/code-review` package.\n\nThe extension defines:\n\n- `/code-review` for local branch diffs.\n- `/pr-code-review` for GitHub pull request reviews through the GitHub MCP server.\n- A shared `code-review-commons` skill with review policy and severity rules.\n\n## Repository Layout\n\n```text\ncommands/\n  code-review.toml\n  pr-code-review.toml\nskills/code-review-commons/\n  SKILL.md\ngemini-extension.json\nGEMINI.md\n.github/workflows/\n  gemini-pr-review.yml\n  extension-smoke.yml\n```\n\n## GitHub Workflow\n\n`.github/workflows/gemini-pr-review.yml` runs on pull requests, manual dispatch,\nand PR comments containing `@gemini-review`.\n\nIt installs this checked-out extension into Gemini CLI:\n\n```yaml\nextensions: |\n  [\n    \".\"\n  ]\nprompt: /pr-code-review\n```\n\n## Required Secret\n\nAdd this repository secret before expecting the Gemini review job to complete:\n\n- `GEMINI_API_KEY`: a Gemini API key from Google AI Studio.\n\nOptional GitHub App mode:\n\n- `APP_ID`: repository variable with your GitHub App ID.\n- `APP_PRIVATE_KEY`: repository secret with the app private key.\n\nWhen `APP_ID` is unset, the workflow uses the built-in `GITHUB_TOKEN`, which is\nenough for same-repository pull requests.\n\n## Local Smoke Test\n\n```bash\ngit diff -U5 --merge-base origin/HEAD\ngemini extensions link .\ngemini --prompt \"/code-review\"\n```\n\n## Example Trigger\n\nOpen a pull request against this repository. The smoke workflow should pass.\nThe Gemini review workflow should run and post a PR review when `GEMINI_API_KEY`\nis configured.\n",
  "bytes": 1658,
  "sha": "51ca165a3071361d916f6721d21db9d5589347d4e8981b6e01b983598b8825f6",
  "repo_slug": "linuxlewis/gemini-code-review-extension-prototype",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_linuxlewis_gemini_code_review_extension__c5909a8a/readme"
}