scalex

Indexes and queries Scala/Java codebases to locate definitions, references, and structure.

93|3|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/nguyenyou/scalex --skill scalex-nguyenyou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scalex
Source: https://github.com/nguyenyou/scalex/tree/main/plugins/scalex/skills/scalex
Command: npx skills add https://github.com/nguyenyou/scalex --skill scalex-nguyenyou

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Find definitions, implementations, usages, imports, and other insights across large Scala/Java codebases with zero build server dependencies.

Core Features & Use Cases

  • Provides fast indexing of top-level declarations in git-tracked Scala and Java sources for quick reference.
  • Supports a rich set of commands (def, impl, refs, imports, doc, body, hierarchy, explain, graph) to discover definitions, usages, and API surfaces, aiding refactoring, code reviews, and onboarding.
  • Ideal for exploring unfamiliar code, validating dependencies, and understanding package surfaces across multi-file projects.

Quick Start

Install the scalex skill, point it at a git repository, and start querying definitions, implementations, and usages with commands like scalex def MyTrait -w /path/to/repo.

Frequently Asked Questions about scalex

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find definitions and usages across a large Scala codebase without a build server?

To find definitions and usages across a large Scala codebase without a build server, you index top-level declarations using Scalameta. This enables quick querying of definitions, references, and imports directly from git-tracked sources.

What is the best way to explore an unfamiliar Java project's API surface and structure?

The best way to explore an unfamiliar Java project's API surface is using static code navigation to extract top-level declarations. JavaParser indexes the structure, enabling you to query definitions, implementations, and hierarchies efficiently.

Can I query method bodies and imports in git-tracked Scala and Java projects?

Yes, you can query method bodies and imports in git-tracked Scala and Java projects. Commands like body, imports, and doc extract specific code insights and structural details directly from indexed source files.

Does static code navigation work for planning refactoring in multi-file Scala projects?

Static code navigation works effectively for planning refactoring in multi-file Scala projects. It indexes top-level declarations and locates references, validating dependencies and understanding package surfaces across the entire project.

Do I need to install dependencies to run code intelligence queries on Scala sources?

No, you do not need to install external build server dependencies to run code intelligence queries on Scala sources. The indexing operates directly on git-tracked repositories using built-in Scalameta and JavaParser extraction.