DevoxxGenieIDEAPlugin
CLAUDE.md689 starsChanged 7 days agoMITView on GitHub
DevoxxGenie is a Java-based LLM Code Assistant plugin for IntelliJ IDEA that integrates with both local LLM providers ( Ollama, LMStudio, GPT4All, Llama.cpp, Exo) and cloud-based LLMs (OpenAI, Anthropic, Mistral, Groq, Gemini, DeepInfra, DeepSeek, OpenRouter, Azure OpenAI, Amazon Bedrock). The plugin supports advanced features like RAG (Retrieval-Augmented Generation), MCP (Model Context Protocol) servers, web search, and agentic programming capabilities. This is a JetBrains/IntelliJ plugin. UI operations must run on the EDT (Event Dispatch Thread), and long-running operations must NOT block…
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- close-task-commit-push-prSkill
- git-commit-push-prSkill
- prSkill
- releaseSkill
- reviewSkill
- start-taskSkill
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
18 rules. About 0 are common, 8 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
When asked to investigate or fix an issue, do NOT deeply explore the entire codebase autonomously.
- Very specific: line 26
Always create a feature/fix branch BEFORE making any code changes.
- Distinctive: line 31
When asked to investigate a bug, write a reproducing test FIRST — confirm it fails — before applying any fix, unless told otherwise.
- Distinctive: line 46
IMPORTANT: Always pipe test output to grep for failures so you can immediately focus on what failed:
- Very specific: line 59
Create factory class implementing ChatModelFactory under chatmodel/cloud/ or chatmodel/local/
- Very specific: line 62
Add provider to ModelProvider enum in model/enumarations/
- Very specific: line 86
Check MCPCallbackLogger for request/response details
- Distinctive: line 87
Verify transport configuration (stdio vs HTTP SSE)
- Distinctive: line 91
Ensure Docker is running
- Very specific: line 94
Use RAGValidatorService to check prerequisites
- Very specific: line 99
When agent mode is off and RAG is activated, MessageCreationService injects top-K semantic hits passively into the user message as a …
- Very specific: line 101
When agent mode is on and RAG is activated, the passive <SemanticContext> injection is suppressed and a semantic_search agent tool is …
- Very specific: line 110
Use the release skill (.claude/skills/release/) — it owns the full sequence.
- Very specific: line 123
If your client supports MCP resources, read backlog://workflow/overview to understand when and how to use Backlog for this project.
- Very specific: line 124
If your client only supports tools or the above request fails, call backlog.get_workflow_overview() tool to load the tool-oriented overview …
- Distinctive: line 126
First time working here?: Read the overview resource IMMEDIATELY to learn the workflow
- Distinctive: line 128
When to read it: BEFORE creating tasks, or when you're unsure whether to track work
- Distinctive: line 132
Search-first workflow to avoid duplicates
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
DevoxxGenie is a Java-based LLM Code Assistant plugin for IntelliJ IDEA that integrates with both local LLM providers ( Ollama, LMStudio, GPT4All, Llama.cpp, Exo) and cloud-based LLMs (OpenAI, Anthropic, Mistral, Groq, Gemini, DeepInfra, DeepSeek, OpenRouter, Azure OpenAI, Amazon Bedrock). The plugin supports advanced features like RAG (Retrieval-Augmented Generation), MCP (Model Context Protocol) servers, web search, and agentic programming capabilities.
Threading Constraints
This is a JetBrains/IntelliJ plugin. UI operations must run on the EDT (Event Dispatch Thread), and long-running
operations must NOT block it. Use ApplicationManager.getApplication().invokeLater() or ReadAction/WriteAction
as appropriate.
Workflow Rules
When asked to investigate or fix an issue, do NOT deeply explore the entire codebase autonomously. Start focused on the specific area mentioned, and ask before expanding scope. Avoid unnecessary web searches unless explicitly requested.
Git Workflow
Always create a feature/fix branch BEFORE making any code changes. Never edit code on the current branch without
confirming the branch strategy first. Feature/fix branches for issues are cut from develop (e.g. fix/issue-1234).
Testing
When asked to investigate a bug, write a reproducing test FIRST — confirm it fails — before applying any fix, unless told otherwise.
Build & Development Commands
Java Version Requirement
IMPORTANT: This project requires JDK 21 for building. JDK 25 causes Gradle build script failures. Always set JAVA_HOME before running Gradle commands:
export JAVA_HOME=~/.sdkman/candidates/java/21-zuluTesting
IMPORTANT: Always pipe test output to grep for failures so you can immediately focus on what failed:
./gradlew test 2>&1 | grep -E "FAILED|failed"
./gradlew test --tests ClassName 2>&1 | grep -E "FAILED|failed"
./gradlew test --tests ClassName.methodName 2>&1 | grep -E "FAILED|failed"
./gradlew verifyPlugin # Verify plugin (includes tests)Core Architecture
Adding a New LLM Provider
- Create factory class implementing
ChatModelFactoryunderchatmodel/cloud/orchatmodel/local/ - Implement
createChatModel()andcreateStreamingChatModel()methods - Register in
ChatModelFactoryProvider - Add provider to
ModelProviderenum inmodel/enumarations/
LLM routers (OpenAI-compatible gateways such as OpenRouter, Requesty, DemonRoute) skip the factory: add a
Type.ROUTER entry to the ModelProvider enum and one RouterDefinition in RouterRegistry. Use
RouterRegistry.isGeneric(provider) rather than Type.ROUTER in shared code (Cloudflare is Type.ROUTER but not
generic). RouterRegistryTest.everyDefinition_isFullyWired enforces the wiring.
Steps 3 and 4 are easy to miss — a new factory silently does nothing until it is registered in both places.
Important Implementation Details
DEVOXXGENIE.md Files
- Projects can include a
DEVOXXGENIE.mdfile at root - This file is automatically added to the system prompt for better LLM context
- Can be generated via Settings UI or
/initcommand in prompt input - Provides project-specific guidance to the LLM
Common Development Workflows
Debugging MCP Issues
- Enable MCP logging in Settings → MCP
- View logs in MCP Log Tool Window (
MCPLogPanel) - Check
MCPCallbackLoggerfor request/response details - Verify transport configuration (stdio vs HTTP SSE)
Working with RAG
- Ensure Docker is running
- ChromaDB container must be started (docker-java integration)
- Ollama with nomic-embed-text model required
- Use
RAGValidatorServiceto check prerequisites - Index project via
ProjectIndexerService.indexFiles()
RAG + Agent mode interaction:
- When agent mode is off and RAG is activated,
MessageCreationServiceinjects top-K semantic hits passively into the user message as a<SemanticContext>block. - When agent mode is on and RAG is activated, the passive
<SemanticContext>injection is suppressed and asemantic_searchagent tool is registered instead (seeBuiltInToolProviderandSemanticSearchToolExecutor). The LLM decides when to retrieve semantically vs. when to use lexical tools likesearch_files. This avoids the failure mode where two competing context sources cause models to ignore the higher-quality semantic results in favor of invoking grep-style tools.
Release Process
Use the release skill (.claude/skills/release/) — it owns the full sequence. Always ask which version to cut;
never assume the next version number.
<!-- BACKLOG.MD MCP GUIDELINES START --><CRITICAL_INSTRUCTION>
BACKLOG WORKFLOW INSTRUCTIONS
This project uses Backlog.md MCP for all task and project management activities.
CRITICAL GUIDANCE
- If your client supports MCP resources, read
backlog://workflow/overviewto understand when and how to use Backlog for this project. - If your client only supports tools or the above request fails, call
backlog.get_workflow_overview()tool to load the tool-oriented overview (it lists the matching guide tools). - First time working here? Read the overview resource IMMEDIATELY to learn the workflow
- Already familiar? You should have the overview cached ("## Backlog.md Overview (MCP)")
- When to read it: BEFORE creating tasks, or when you're unsure whether to track work
These guides cover:
- Decision framework for when to create tasks
- Search-first workflow to avoid duplicates
- Links to detailed guides for task creation, execution, and finalization
- MCP tools reference
You MUST read the overview resource to understand the complete workflow. The information is NOT summarized here.
</CRITICAL_INSTRUCTION>
<!-- BACKLOG.MD MCP GUIDELINES END --><!-- groma:start -->Groma
This project uses Groma. Before you scan, inspect, or curate architecture, or change files for a Backlog task, run groma agent-instructions and read the guide it names for that job. When it reports a first scan, ask the user whether they want you to curate the architecture. Do not edit Groma-owned architecture files directly.
<!-- groma:end -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

