skills/dev-utils-skills/maven-search/SKILL.md
Provides comprehensive guidance for searching and retrieving Maven components from Maven Central Repository (https://repo1.maven.org/maven2/). This skill enables searching by groupId, artifactId, version, and other coordinates, retrieving component metadata (POM files, JARs, sources, Javadoc), querying version history, and analyzing dependencies. Use when the user needs to find, verify, or retrieve Maven dependencies, check component versions, analyze dependency trees, or work with Maven coordinates.
npx skillsauth add teachingai/agent-skills maven-searchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
ALWAYS use this skill when the user mentions:
Trigger phrases include:
CRITICAL: This skill should be triggered when the user needs to search, retrieve, or work with Maven components from Maven Central Repository.
Trigger this skill when you see:
To search for Maven components:
Identify the search type from the user's request:
Load the appropriate example file from the examples/ directory:
examples/search-by-name.md - Search components by name or keywordsexamples/search-by-coordinates.md - Search by groupId and artifactIdexamples/get-version-info.md - Get version information and historyexamples/download-artifact.md - Download JAR, POM, sources, or Javadocexamples/analyze-dependencies.md - Analyze dependency treeexamples/verify-coordinates.md - Verify Maven coordinates validityFollow the specific instructions in that example file for API endpoints, parameters, and best practices
Use Maven Central Repository API:
Search API (https://search.maven.org/solrsearch/select):
q - Search query (e.g., g:com.google.guava AND a:guava)rows - Number of results (default: 20, max: 200)start - Pagination offsetcore - Search core (default: gav)Direct Repository Access (https://repo1.maven.org/maven2/):
{groupId}/{artifactId}/{version}/{artifactId}-{version}.{extension}com.google.guava → com/google/guava)maven-metadata.xml for version information{artifactId}-{version}.pom{artifactId}-{version}.jar{artifactId}-{version}-sources.jar{artifactId}-{version}-javadoc.jarConstruct the appropriate URL:
Search Example:
https://search.maven.org/solrsearch/select?q=g:com.google.guava+AND+a:guava&rows=20&wt=json
Direct Access Example:
https://repo1.maven.org/maven2/com/google/guava/guava/maven-metadata.xml
https://repo1.maven.org/maven2/com/google/guava/guava/33.0.0/guava-33.0.0.pom
https://repo1.maven.org/maven2/com/google/guava/guava/33.0.0/guava-33.0.0.jar
Parse and format the results:
groupId:artifactId:versionValidate coordinates:
Output Format Requirements:
groupId:artifactId:version{groupId}/{artifactId}/{version}/{artifactId}-{version}.{extension}
Example:
com/google/guava/guava/33.0.0/guava-33.0.0.jar
{artifactId}-{version}.pom - Project Object Model file{artifactId}-{version}.jar - Compiled Java classes{artifactId}-{version}-sources.jar - Source code{artifactId}-{version}-javadoc.jar - API documentationmaven-metadata.xml - Version and release informationg:com.google.guavaa:guavav:33.0.0g:com.google.guava AND a:guavaguava (searches in groupId, artifactId, and description)wt=json (default)wt=xmlwt=javabinmaven-metadata.xml for latest version informationgroupId:artifactId:versionUse the Search API with text query to find components by name or keywords.
Example:
GET https://search.maven.org/solrsearch/select?q=guava&rows=20&wt=json
Use the Search API with groupId and artifactId to find specific components.
Example:
GET https://search.maven.org/solrsearch/select?q=g:com.google.guava+AND+a:guava&rows=20&wt=json
Query maven-metadata.xml to get all available versions and latest version.
Example:
GET https://repo1.maven.org/maven2/com/google/guava/guava/maven-metadata.xml
Construct direct download URL for specific artifact.
Example:
GET https://repo1.maven.org/maven2/com/google/guava/guava/33.0.0/guava-33.0.0.jar
Download and parse POM file to extract dependency information.
Example:
GET https://repo1.maven.org/maven2/com/google/guava/guava/33.0.0/guava-33.0.0.pom
English keywords: maven, maven central, maven repository, maven dependency, maven artifact, maven component, groupId, artifactId, version, coordinates, pom, jar, dependency, repository, search, retrieve, download, metadata, transitive dependencies, dependency tree, maven coordinates, maven search
Chinese keywords (中文关键词): Maven, Maven 中央仓库, Maven 仓库, Maven 依赖, Maven 组件, Maven 坐标, groupId, artifactId, version, 版本, 坐标, POM, JAR, 依赖, 仓库, 搜索, 检索, 下载, 元数据, 传递依赖, 依赖树, 查找依赖, 搜索组件, 获取版本, 下载依赖
development
Guidance for Next.js using the official docs at nextjs.org/docs. Use when the user needs Next.js concepts, configuration, routing, data fetching, or API reference details.
tools
Provides comprehensive guidance for Flask framework including routing, templates, forms, database integration, extensions, and deployment. Use when the user asks about Flask, needs to create web applications, implement routes, or build Python web services.
development
Provides comprehensive guidance for FastAPI framework including routing, request validation, dependency injection, async operations, OpenAPI documentation, and database integration. Use when the user asks about FastAPI, needs to create REST APIs, or build high-performance Python web services.
development
Provides comprehensive guidance for Django framework including models, views, templates, forms, admin, REST framework, and deployment. Use when the user asks about Django, needs to create web applications, implement models and views, or build Django REST APIs.