Skip to content

feat: add Gemini CLI platform support (MCP config, hooks, workspace skills) - #391

Merged
tirth8205 merged 2 commits into
tirth8205:mainfrom
carlosedsousa-dev:gemini-cli
May 7, 2026
Merged

tirth8205 merged 2 commits into
tirth8205:mainfrom
carlosedsousa-dev:gemini-cli

Conversation

@carlosedsousa-dev

Copy link
Copy Markdown

This PR adds first-class support for the Google Gemini CLI to code-review-graph’s installer.

Key changes:

  • New --platform gemini-cli target that configures the MCP server in project scope via .gemini/settings.json.
  • Workspace hooks for Gemini CLI:
    • SessionStart shows a short code-review-graph status message.
    • AfterTool (matcher write_file|replace) runs code-review-graph update --skip-flows quietly.
    • Installs hook scripts under .gemini/hooks/ and ensures they are executable.
  • Gemini CLI Agent Skills installation:
    • Writes skills to .gemini/skills/<skill>/SKILL.md using YAML frontmatter (name, description).
    • When --platform gemini-cli is used, only Gemini skills are installed (no Claude skills).
  • Instruction injection updated so GEMINI.md is owned by both antigravity and gemini-cli.
  • Docs/tests:
    • Adds Gemini CLI to supported platforms list and updates install examples.
    • Extends test coverage for Gemini CLI config, hooks, skills, and instruction injection.

How to test:

  • uv run pytest -q tests/test_skills.py
  • From a repo root: code-review-graph install --platform gemini-cli -y and confirm:
    • .gemini/settings.json contains mcpServers.code-review-graph and hooks entries
    • .gemini/hooks/ scripts exist and are executable
    • .gemini/skills/ contains the generated skills
    • No .claude/skills is created for --platform gemini-cli

@carlosedsousa-dev carlosedsousa-dev changed the title Add Gemini CLI platform support (MCP config, hooks, workspace skills) feat: add Gemini CLI platform support (MCP config, hooks, workspace skills) Apr 26, 2026
@carlosedsousa-dev
carlosedsousa-dev marked this pull request as draft April 26, 2026 18:43
@carlosedsousa-dev
carlosedsousa-dev marked this pull request as ready for review April 26, 2026 19:14
@tirth8205
tirth8205 merged commit aabbeec into tirth8205:main May 7, 2026
1 check passed
dpesch added a commit to 11com7/code-review-graph that referenced this pull request May 18, 2026
Merges tirth8205/code-review-graph v2.3.3 (141 non-merge commits) while
preserving all 11com7-specific patches:

- Portable install config (no absolute paths in committed files)
- --local flag for install/init
- Stale-hook replacement on reinstall
- Windows MCP exe path + PYTHONUTF8=1 auto-config
- Forward-slash paths for Claude Code on Windows
- semantic_search_nodes_tool async fix (event-loop hang)
- numpy batch cosine similarity in EmbeddingStore.search()

Notable v2.3.3 features pulled in:
- Verilog / SystemVerilog language support (PR tirth8205#428)
- GitHub Copilot / Copilot CLI platform support (PR tirth8205#445)
- Spring DI, Temporal, Kafka call resolvers (PR tirth8205#413)
- GDScript, ReScript, SQL language support
- crg-daemon multi-repo watch daemon
- WCAG 2.1 AA accessibility pass in visualization + VS Code extension
- Streamable HTTP transport for MCP server
- OpenAI-compatible embedding provider (PR tirth8205#321)
- Gemini CLI platform support (PR tirth8205#391)
- SVN repository support (PR tirth8205#255)
- Jedi-based Python call resolution (PR tirth8205#247)
- FastMCP 3.x compatibility fixes
- Various Windows, Java, PHP, C++ parser fixes

Version bumped to 2.3.3+11com7.1.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants