quarkusio/quarkusdev-skills/java-decompile
Claude Code and agent skill by quarkusio/quarkusdev-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when you need to view the source code of a Java class from project dependencies, understand a library's API implementation, find method signatures, or explore how a dependency works internally. Accepts fully qualified or simple class names.
Install
npx vskill@latest install quarkusio/quarkusdev-skills/java-decompileSKILL.md
Java Class Decompiler
Decompile and view the source code for Java classes from project dependencies.
Overview
This skill decompiles Java classes from Maven dependencies using Vineflower (a modern Java decompiler) via jbang, allowing you to inspect library internals, understand API implementations, and find method signatures without leaving your workflow.
When to Use
- Need to understand how a library method is implemented
- Looking for exact method signatures or parameter types
- Exploring the internals of a dependency
- Debugging issues related to third-party libraries
- Finding which overloads are available for a class
Quick Reference
Input formats:
- Fully qualified:
com.fasterxml.jackson.databind.ObjectMapper - Simple name:
ObjectMapper(will search for matches)
Tools used:
- Vineflower decompiler (via jbang)
- Maven classpath
- Fallback: javap for bytecode disassembly
Requirements:
- jbang installed (https://www.jbang.dev/)
Implementation
Step 1: Determine the Class Name
Parse the user's input (available as $ARGUMENTS in command context):
- If it contains dots (
.), treat as fully qualified name - If it's a simple name, you'll need to search for it first
Step 2: Find the JAR Containing the Class
Convert class name to file path: replace . with /, append .class
Option A: Use Maven classpath file (fast for first search)
Option B: Search Maven local repository directly
Option C: Check local build output (for project classes)
Step 3: Decompile the Class
Primary method: Vineflower via jbang
Vineflower works on JAR files, so extract the specific class or decompile the entire JAR:
Fallback method: javap (if jbang/Vineflower unavailable)
Note: jbang automatically downloads and caches Vineflower on first use.
Step 4: Present Decompiled Source
Show the decompiled code with syntax highlighting. Highlight key elements:
- Public API methods and their signatures
- Constructor parameters
- Important fields
- Annotations
- Package and imports
Step 5: Handle Multiple Matches
If the user provided a simple class name and multiple matches exist:
- List all matching classes with their packages
- Show which JAR each comes from
- Ask which one to decompile
Common Patterns
Searching within a specific JAR:
Finding all classes with a name pattern:
Tips
- Quarkus internal classes may be in
target/classes/rather than.m2 - Vineflower produces more readable output than javap
- jbang automatically manages Vineflower versions and dependencies
- Use
-pflag with javap to show private members - For inner classes, include the
$in the class name - Vineflower decompiles entire JARs - for single classes, extract first for faster results
Platform Notes
This skill works with:
- Claude Code: Direct execution
- Gemini CLI: Use equivalent file/bash tools
- Codex: Use RunBash/ReadFile equivalents
Tool scripts are platform-independent (bash/python).
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/java-decompile/SKILL.md
Popularity
- Repository stars
- 4
- Repository forks
- 2
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Aug 2026, 2 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/quarkusio/quarkusdev-skills/java-decompile)