
maven-search
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.
- Installs
- 48
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/full-stack-skills/java-skills --skill maven-search- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads maven-search automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
When to use this skill
ALWAYS use this skill when the user mentions:
- Searching for Maven dependencies or components
- Finding Maven coordinates (groupId, artifactId, version)
- Checking component versions or version history
- Retrieving Maven artifacts (JAR, POM, sources, Javadoc)
- Verifying Maven dependency coordinates
- Analyzing dependency trees or transitive dependencies
- Working with Maven Central Repository
- Any request related to Maven components, libraries, or dependencies
Trigger phrases include:
- "查找 Maven 依赖" (find Maven dependency), "搜索 Maven 组件" (search Maven component)
- "Maven 坐标" (Maven coordinates), "groupId" (groupId), "artifactId" (artifactId)
- "Maven 版本" (Maven version), "最新版本" (latest version), "版本历史" (version history)
- "Maven Central" (Maven Central), "Maven 仓库" (Maven repository)
- "下载 Maven 依赖" (download Maven dependency), "获取 POM 文件" (get POM file)
- "依赖树" (dependency tree), "传递依赖" (transitive dependencies)
- Any mention of "Maven", "dependency", "artifact", "repository", "coordinates"
How to use this skill
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:
- User says "查找 Maven 依赖" (find Maven dependency), "搜索 Maven 组件" (search Maven component)
- User needs Maven coordinates (groupId, artifactId, version)
- User wants to check component versions or retrieve artifacts
- User mentions Maven Central Repository or Maven dependencies
- User needs to analyze dependencies or verify coordinates
To search for Maven components:
-
Identify the search type from the user's request:
- Search by name → Use Maven Central Search API
- Get specific version → Use direct repository URL
- Check latest version → Query maven-metadata.xml
- Analyze dependencies → Parse POM file
- Download artifact → Use direct download URL
-
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 validity
-
Follow 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):
- Query parameter:
q- Search query (e.g.,g:com.google.guava AND a:guava) - Rows parameter:
rows- Number of results (default: 20, max: 200) - Start parameter:
start- Pagination offset - Core parameter:
core- Search core (default:gav)
Direct Repository Access (https://repo1.maven.org/maven2/):
- Path format:
{groupId}/{artifactId}/{version}/{artifactId}-{version}.{extension} - GroupId path: Replace dots with slashes (e.g.,
com.google.guava→com/google/guava) - Metadata:
maven-metadata.xmlfor version information - POM file:
{artifactId}-{version}.pom - JAR file:
{artifactId}-{version}.jar - Sources:
{artifactId}-{version}-sources.jar - Javadoc:
{artifactId}-{version}-javadoc.jar
- Query parameter:
-
Construct the appropriate URL:
Search Example:
https://search.maven.org/solrsearch/select?q=g:com.google.guava+AND+a:guava&rows=20&wt=jsonDirect 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:
- Extract relevant information (groupId, artifactId, version, description)
- Format coordinates in standard Maven format:
groupId:artifactId:version - Present results in a clear, structured format
- Include download links and metadata when relevant
-
Validate coordinates:
- Verify groupId format (should be reverse domain notation)
- Check artifactId format (should be lowercase, hyphen-separated)
- Validate version format (semantic versioning preferred)
- Confirm artifact exists before providing download links
Output Format Requirements:
- Always provide Maven coordinates in standard format:
groupId:artifactId:version - Include direct download URLs when relevant
- Format search results in a clear, structured table or list
- Provide metadata information (description, repository, last updated) when available
- Include version information and release dates when querying versions
Maven Central Repository Structure
Repository Base URL
- Primary: https://repo1.maven.org/maven2/
- Search API: https://search.maven.org/solrsearch/select
- Alternative mirrors: Available for different regions
Path Structure
{groupId}/{artifactId}/{version}/{artifactId}-{version}.{extension}
Example:
com/google/guava/guava/33.0.0/guava-33.0.0.jar
Available Artifacts
- POM:
{artifactId}-{version}.pom- Project Object Model file - JAR:
{artifactId}-{version}.jar- Compiled Java classes - Sources:
{artifactId}-{version}-sources.jar- Source code - Javadoc:
{artifactId}-{version}-javadoc.jar- API documentation - Metadata:
maven-metadata.xml- Version and release information
Search API Parameters
Query Syntax
- GroupId search:
g:com.google.guava - ArtifactId search:
a:guava - Version search:
v:33.0.0 - Combined search:
g:com.google.guava AND a:guava - Text search:
guava(searches in groupId, artifactId, and description)
Response Format
- JSON:
wt=json(default) - XML:
wt=xml - Java properties:
wt=javabin
Pagination
- rows: Number of results per page (default: 20, max: 200)
- start: Offset for pagination (default: 0)
Best Practices
- Always verify coordinates: Check that groupId, artifactId, and version exist before use
- Use latest stable versions: Prefer RELEASE versions over SNAPSHOT versions
- Check version metadata: Query
maven-metadata.xmlfor latest version information - Validate before download: Verify artifact exists before providing download links
- Include checksums: When available, provide SHA-1 and MD5 checksums for verification
- Format coordinates correctly: Always use standard Maven format
groupId:artifactId:version - Provide context: Include description, repository information, and last updated date when available
Common Tasks
Task 1: Search by Name
Use 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
Task 2: Search by Coordinates
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
Task 3: Get Version Information
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
Task 4: Download Artifact
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
Task 5: Analyze Dependencies
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
Keywords
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, 依赖, 仓库, 搜索, 检索, 下载, 元数据, 传递依赖, 依赖树, 查找依赖, 搜索组件, 获取版本, 下载依赖
Resources
- Maven Central Repository: https://repo1.maven.org/maven2/
- Maven Central Search: https://search.maven.org/
- Maven Central Search API Documentation: https://central.sonatype.com/search-api/
- Maven Coordinates Guide: https://maven.apache.org/guides/mini/guide-naming-conventions.html
FAQ
What does the maven-search skill do?
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.
How do I install maven-search?
Run npx skills add https://github.com/full-stack-skills/java-skills --skill maven-search in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/maven-search/ (personal) or .claude/skills/maven-search/ (project).
Which AI agents can use maven-search?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is maven-search safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains maven-search?
It is published by full-stack-skills in full-stack-skills/java-skills. It has 48 recorded installs.
More from full-stack-skills/java-skills
mybatis-plus-patterns
full-stack-skills/java-skills
MyBatis-Plus 增强 ORM 技能。覆盖 LambdaQueryWrapper vs QueryWrapper选择(始终Lambda)、分页插件(PaginationInnerInterceptor)配置、乐观锁(@Version + OptimisticLockerInnerInterceptor)、逻辑删除(@TableLogic 全局/局部配置)、自动填充(@TableField fill + MetaObjectHandler)、ActiveRecord vs Mapper模式选择、防全表更新(BlockAttackInnerInterceptor)、通用PageQuery抽取。 当用户使用 MyBatis-Plus 进行数据库操作、配置分页乐观锁、选择查询方式时使用。 与 mybatis 技能互补:mybatis 侧重XML/ResultMap/SQL写法,mybatis-plus 侧重增强功能。
java-development-manual
full-stack-skills/java-skills
Java开发手册规约集合,基于阿里巴巴Java开发手册(嵩山版)。 涵盖7大维度:编程规约、异常日志、单元测试、安全规约、MySQL数据库、工程结构、设计规约。 当用户需要:(1) 编写或审查Java代码 (2) 检查命名/代码规范 (3) 处理异常和日志 (4) 编写单元测试 (5) 安全编码 (6) 数据库设计 (7) 工程架构设计时使用此skill。 触发词:Java规范、阿里规约、代码规范、开发手册、编程规约、异常处理、单元测试、安全、MySQL、工程结构、设计模式。
java-code-comments
full-stack-skills/java-skills
Provides comprehensive guidance for adding Java code comments following industry standards and best practices. This skill helps add class-level comments, method-level comments, and field-level comments to Java code. Use when the user wants to add comments to Java code, needs to document Java classes/methods/fields, wants to improve code documentation, or needs to generate JavaDoc comments. This skill covers Controller, Service, ServiceImpl, Mapper, Model, Entity, BO (Business Object), DTO, VO, and other common Java component types. The skill follows a systematic workflow: scan codebase, identify components, create todo list, and add comments in order (class comments → method comments → field comments).
mybatis-patterns
full-stack-skills/java-skills
MyBatis 核心 ORM 技能。覆盖 XML vs 注解 SQL选择、ResultMap复用(extends)、关联查询(association/collection join vs 嵌套select/N+1决策)、分页插件配置、和$的SQL注入防护、动态SQL(if/where/set/foreach/choose)最佳实践、columnPrefix解决同表多次JOIN。 当用户编写 MyBatis Mapper XML、处理关联查询、配置分页、防范SQL注入时使用。
java-conventions
full-stack-skills/java-skills
统一 Java 项目编码规范与注释规范(SLF4J+Lombok 日志、Bean Lombok 注解选择、判空 Objects/Optional、工具类优先级 Spring→Apache Commons→Hutool→Guava、复杂逻辑用设计模式/简单逻辑不拆分、Controller/Service/ServiceImpl/Mapper 注释一致性)。当需要“按 Java 规范重构/Review/补全注释/统一日志/统一工具类使用/补全 JavaDoc”时使用。
junit-mockito-patterns
full-stack-skills/java-skills
JUnit5 + Mockito 测试框架技能。覆盖 JUnit5 @ExtendWith替代@RunWith、Mockito @Mock/@InjectMocks规则、测试隔离原则(FIRST)、@SpringBootTest何时用何时不用(@WebMvcTest/@DataJpaTest切片测试)、BDDMockito given/willReturn风格、ArgumentCaptor参数捕获、verify行为验证、@ParameterizedTest参数化测试。 当用户编写 Java 单元测试/集成测试、Mock外部依赖时需要此技能。
Popular frontend & design skills
setup-matt-pocock-skills
mattpocock/skills
Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
frontend-design
anthropics/skills
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
hyperframes-animation
heygen-com/hyperframes
All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.
prototype
mattpocock/skills
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
hyperframes-core
heygen-com/hyperframes
The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.
vercel-react-best-practices
vercel-labs/agent-skills
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.