java-jackknife

Inspect JAR contents and decompile classes to diagnose Java dependency issues.

3|2|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/wesleyegberto/software-engineering-skills --skill java-jackknife
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: java-jackknife
Source: https://github.com/wesleyegberto/software-engineering-skills/tree/main/plugins/java/skills/java-jackknife
Command: npx skills add https://github.com/wesleyegberto/software-engineering-skills --skill java-jackknife

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps Java developers quickly explore dependencies, locate where a type is defined, decompile classes, inspect annotations, and instrument bytecode for debugging and diagnostics.

Core Features & Use Cases

  • Explore dependencies to identify which JAR provides a given class or symbol and read decompiled sources.
  • Diagnose classpath issues, such as ClassNotFoundException or NoSuchMethodError, by mapping types to their providing JARs.
  • Instrument methods to capture arguments, return values, and timing, exporting structured data for troubleshooting.
  • Decompile or inspect bytecode of a class to understand API behavior and usage.

Quick Start

Install the Jackknife Maven plugin in your environment, then run a typical workflow such as inspecting dependencies or instrumenting a method with the jackknife commands.

Frequently Asked Questions about java-jackknife

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

FAQPage Schema
How do I find which JAR provides a specific Java class or symbol?

To find which JAR provides a specific Java class, you can explore project dependencies to map types to their providing JARs and read the decompiled source code. This quickly resolves classpath mapping issues.

Why does my Java project throw ClassNotFoundException or NoSuchMethodError?

ClassNotFoundException or NoSuchMethodError often occurs due to classpath conflicts. Diagnosing classpath issues by mapping types to their providing JARs helps identify missing dependencies or conflicting versions.

Can I decompile Java bytecode to inspect annotations and API behavior?

You can decompile or inspect bytecode of a class to understand API behavior and inspect annotations. This allows you to analyze compiled code without having the original source.

How do I instrument Java methods to capture inputs, outputs, and timing?

You can instrument methods to capture arguments, return values, and timing, exporting structured data for troubleshooting. This diagnostics instrumentation helps analyze runtime behavior.

Does this Java dependency analysis tool work with Maven-based workflows?

This dependency analysis tool supports Maven-based workflows via the Jackknife plugin. Install the plugin in your environment to inspect dependencies or instrument methods.

What is the best way to diagnose Java classpath problems in a Maven project?

The best way to diagnose Java classpath problems is to inspect JAR contents and decompiled classes. Mapping types to their providing JARs helps locate where a type is defined and resolve dependency issues.