azure/search-m2
Search for Java classes inside Maven dependencies in ~/.m2. Use when the user asks to locate classes or inspect JARs. Cross-reference pom.xml files in the current directory to resolve dependency names/versions.
npx skills add https://github.com/Azure/azure-sdk-for-java --skill search-m2
Use this skill to find which dependency JAR contains a class and to inspect JAR contents in ~/.m2/repository.
pom.xml files in the current directory tree and use them to resolve dependency names and versions.~/.m2/repository~/.m2/repository/<groupId path>/<artifactId>/<version>/<artifactId>-<version>.jar
find . -name pom.xml from the current directory.${foo.version}), resolve the property from the same pom (or parent if obvious).~/.m2/repository/<groupId path>/<artifactId>/ and ask the user which to inspect.jar tf <jar> | rg '\.class$'jar tf <jar> | rg '<ClassName>(\.class)?$'javap -classpath <jar> <fully.qualified.ClassName>rg -g '*.jar' --files ~/.m2/repository | while read -r jar; do
jar tf "$jar" | rg -q 'com/example/MyClass.class' && echo "$jar"
done
ls ~/.m2/repository/<groupId path>/<artifactId>/
mvn -q -DskipTests dependency:tree (only if needed and the user agrees).Take azure/search-m2 from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.