← スキル一覧に戻る
Version Checking (
Security Scanning (

maven
by danielscholl-osdu
⭐ 0🍴 0📅 2026年1月9日
SKILL.md
name: maven description: Maven dependency version checking and security vulnerability scanning. Use for checking Maven artifact versions, finding updates, scanning for CVEs with Trivy, and analyzing POM files. allowed-tools:
- Bash
- Read
- Grep
- Glob
Maven Skill
IMPORTANT: Intent Detection
Parse user input to determine intent:
| User Input | Intent | Action |
|---|---|---|
help, how to use, usage, format | Help | Respond with usage info below |
check <dependency> or version check | Check Version | Run check.py check |
batch or multiple dependencies | Batch Check | Run check.py batch |
list or available versions | List Versions | Run check.py list |
scan or security/vulnerabilities | Security Scan | Run scan.py scan |
analyze or POM analysis | Analyze POM | Run scan.py analyze |
Version Checking (/maven check)
Check Maven artifact versions and find available updates.
Usage
/maven check spring-core 5.3.0
/maven check org.springframework:spring-core 5.3.10
/maven batch '[ {"dependency": "spring-core", "version": "5.3.0"} ]'
/maven list spring-core
Examples
| Command | What It Does |
|---|---|
/maven check spring-core 5.3.0 | Check if version exists and find updates |
/maven check org.springframework:spring-core 5.3.10 --json | JSON output for parsing |
/maven batch --file deps.json | Check multiple dependencies from file |
/maven list org.apache.commons:commons-lang3 | List all available versions |
Options
| Option | Description |
|---|---|
--dependency | Maven coordinate (groupId:artifactId) |
--version | Version to check |
--packaging | Package type (jar, pom, war). Default: jar |
--json | Output as JSON |
Security Scanning (/maven scan)
Scan Maven projects for security vulnerabilities using Trivy.
Usage
/maven scan /path/to/project
/maven scan /path/to/pom.xml --severity high,critical
/maven analyze /path/to/pom.xml
Examples
| Command | What It Does |
|---|---|
/maven scan . | Scan current directory for vulnerabilities |
/maven scan --path /project --severity critical | Only show critical vulnerabilities |
/maven analyze pom.xml | Parse POM and show dependencies |
/maven analyze pom.xml --check-versions | Show dependencies with update info |
Options
| Option | Description |
|---|---|
--path | Path to project directory or pom.xml |
--severity | Filter by severity: critical, high, medium, low |
--json | Output as JSON |
--check-versions | Also check for version updates (analyze only) |
Prerequisites
Security scanning requires Trivy to be installed:
# macOS
brew install trivy
# Linux
sudo apt-get install trivy
AI Execution (Internal)
Version Check
uv run .claude/skills/maven/scripts/check.py check \
--dependency "org.springframework:spring-core" \
--version "5.3.0" \
[--packaging jar] \
[--json]
Batch Check
uv run .claude/skills/maven/scripts/check.py batch \
--dependencies '[{"dependency": "org.springframework:spring-core", "version": "5.3.0"}]' \
[--json]
List Versions
uv run .claude/skills/maven/scripts/check.py list \
--dependency "org.springframework:spring-core" \
[--json]
Security Scan
uv run .claude/skills/maven/scripts/scan.py scan \
--path "/path/to/project" \
[--severity "critical,high"] \
[--json]
POM Analysis
uv run .claude/skills/maven/scripts/scan.py analyze \
--path "/path/to/pom.xml" \
[--check-versions] \
[--json]
Output Presentation
Present the script output directly to the user. Do NOT summarize unless requested.
Command Quick Reference
| Command | Description |
|---|---|
check | Check single dependency version and updates |
batch | Check multiple dependencies at once |
list | List all available versions for a dependency |
scan | Scan project for security vulnerabilities |
analyze | Parse and analyze POM file structure |
Reference Files
- reference/commands.md - Full CLI command reference
- reference/troubleshooting.md - Error solutions
- scripts/check.py - Version checking script
- scripts/scan.py - Security scanning script
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です