/framework-code-navigation:code-navigationfrom Framework Code Navigation
Token-saving routing policy for JVM (Java/Kotlin) projects — when searching, locating, navigating, or refactoring code in a project that looks JVM-based, use Serena's symbol tools instead of grep/find/read. Applies whenever finding definitions, callers, references, types, or doing project-wide code search or symbol-based edits. Only relevant on projects with Java/Kotlin sources (pom.xml, build.gradle, build.gradle.kts, or .java/.kt files) and a reachable Serena MCP server — on any other project, this skill intentionally has nothing to say and you should proceed with normal tools.
Ships in Framework Code Navigation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Goal: cut API calls and tokens by navigating code through the language server (Serena) instead of text search and file dumps — but only on projects where that's actually possible. This plugin is installed by choice, by people who work on JVM codebases; it must never get in the way of anyone working on a project Serena doesn't cover.
Check both of the following before relying on Serena for a task. This check is cheap (a couple of tool calls) and only needs to happen once per session, not before every single lookup:
pom.xml, build.gradle,
build.gradle.kts, or .java/.kt source files near the working
directory.get_symbols_overview on a file, or check whether mcp__serena__* tools
are listed at all). A missing MCP connection, a language server that
hasn't indexed the project yet, or a non-JVM project are all valid reasons
this fails.If either check fails, this skill does not apply — proceed with grep/find/read as you normally would, without commenting on Serena or apologizing for not using it. Don't retry repeatedly or trouble the user with connection details; a silent, unremarkable fallback is the correct behavior. Only mention Serena at all if the user asks about it directly or if you were clearly expected to use it (e.g. the user explicitly asked for symbol-based navigation).
mcp__serena__find_symbol (NOT grep "class X" + read the file).mcp__serena__find_referencing_symbols
(NOT grep -r "foo(" across the repo).mcp__serena__get_symbols_overview
(NOT dumping the whole file with read).replace_symbol_body, insert_after_symbol), so only
the relevant slice enters the context.grep returns lots of noise (comments, same-named symbols, strings); the agent then reads several files to find the right one — those are the expensive extra calls. The language server knows definitions and references exactly and resolves into dependencies (including the JavaDoc attached to a symbol).
For Java/Kotlin, Serena wires up the matching language server. If the -sources
jars of the dependencies are present, the symbol lookup also surfaces the JavaDoc
of third-party libraries — on demand, without dumping documentation.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub onelitefeathernet/onelitefeather-claude-marketplace --plugin framework-code-navigation