feat: add proactive skill & tool suggestions to claude plugin#6
Conversation
Summary of ChangesHello @mKeRix, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces a significant enhancement to the Claude plugin by implementing an intelligent context injection system. Instead of a generic, static message, the system now dynamically analyzes user prompts using the Claude Agent SDK and the Haiku model to suggest relevant skills and tools. This change is designed to make the interaction more intuitive and efficient, ensuring that users receive tailored assistance and that the AI agent can more quickly identify and utilize appropriate functionalities. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces a significant and well-designed feature to provide intelligent, proactive suggestions for skills and tools. The use of a UserPromptSubmit hook powered by the Claude Agent SDK is a great approach to make the tool more context-aware and improve the user experience. The implementation is thorough, including new CLI commands, agent wrappers, utility functions for skill discovery, and comprehensive tests. The design and specification documents are also a valuable addition, clearly outlining the architecture and decisions made. My review includes a few suggestions for improving debuggability and maintainability. Overall, this is an excellent contribution.
openspec/changes/implement-intelligent-context-injection/design.md
Outdated
Show resolved
Hide resolved
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #6 +/- ##
==========================================
+ Coverage 53.36% 54.50% +1.13%
==========================================
Files 33 37 +4
Lines 2361 2743 +382
Branches 156 195 +39
==========================================
+ Hits 1260 1495 +235
- Misses 1101 1248 +147 ☔ View full report in Codecov by Sentry. |
# [1.1.0](v1.0.1...v1.1.0) (2025-12-02) ### Features * add proactive skill & tool suggestions to claude plugin ([#6](#6)) ([df3c817](df3c817))
|
🎉 This PR is included in version 1.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This change will utilize a UserPromptSubmit hook to proactively inject context referencing potentially relevant skills and tools as determined by the Haiku model. This should increase the auto-activation rate of these tools & decrease the time the (often more expensive) main session spends searching around.