Token导航 LogoToken导航

Agent Skill · 研究检索

java25-springboot4-reviewer(java25 springboot4 审阅者)

用于辅助 Java 项目开发、面向对象设计、Spring 生态、Maven 或 Gradle 依赖和后端工程实践。它适合让 Agent 分析类结构、设计接口、整理服务分层、生成测试或检查常见代码坏味道。使用时需要结合项目已有架构、包结构和依赖版本,不应只按通用教程改代码;涉及数据库、事务、并发或框架配置时,应先确认运行环境和回归测试范围。

java25-springboot4-reviewer 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 64,698。

总安装 294周安装 12GitHub Stars 31下载 95核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:java25-springboot4-reviewer(java25 springboot4 审阅者)
来源仓库:https://github.com/a-pavithraa/springboot-skills-marketplace
仓库路径:skills/java25-springboot4-reviewer
安装命令:
npx skills add https://github.com/a-pavithraa/springboot-skills-marketplace --skill java25-springboot4-reviewer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/a-pavithraa/springboot-skills-marketplace --skill java25-springboot4-reviewer

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

针对 Java 25 与 Spring Boot 4 版本的代码审阅能力增强。支持 REST API 设计、服务分层规范及依赖兼容性检查。使用时应比对项目实际使用的 Spring Boot 子版本与 JDK 环境。涉及自动配置变更时需谨慎,防止破坏已有功能稳定性。

安装方式:通过 GitHub 仓库安装,注意核对技能与目标环境的匹配性。

来源仓库内路径:skills/java25-springboot4-reviewer

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/a-pavithraa/springboot-skills-marketplace --sk…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

java25-springboot4-reviewer 怎么安装?

在终端执行 npx skills add https://github.com/a-pavithraa/springboot-skills-marketplace --skill java25…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

java25-springboot4-reviewer 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

java25-springboot4-reviewer 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

java25-springboot4-reviewer 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

java25-springboot4-reviewer 用的人多吗?

公开数据是累计安装 294 次,近一周安装 12 次,下载 95 次,GitHub 31 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

java25-springboot4-reviewer 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
java25-springboot4-reviewer

java25 springboot4 审阅者 · 本页

29431需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Java 25 & Spring Boot 4 Reviewer

Version: Based on Java 25 (JDK 25) and Spring Boot 4.0.x (as of January 2026)

Note: Spring Boot 4 and Java 25 are actively evolving. Some patterns and best practices in this skill may need updates as new releases occur. Always consult official documentation for the latest guidance.

Critical Rules

NEVER review without code context. ALWAYS ask for files or diff.

ALWAYS cite file paths and line numbers for findings.

MANDATORY baseline: Java 25 + Spring Boot 4.0.x (latest stable). Flag if build files show otherwise.

ANALYZE workload before architectural recommendations. Don't suggest virtual threads, reactive patterns, or architectural changes without understanding actual concurrency, traffic patterns, and workload characteristics. Pattern matching without analysis leads to inappropriate recommendations.

JSpecify is the null-safety baseline. Avoid org.springframework.lang annotations; use package-level @NullMarked + explicit @Nullable in type usage. Copy nullability annotations when overriding.

Prefer official Spring docs as source of truth. If a pattern in code conflicts with documented guidance, flag it and link to the official rule via the relevant reference files.

Workflow

Step 1: Scope and Constraints

Ask:

  1. Scope - single file, module, or full PR?
  2. Target versions - confirm Java 25 + Spring Boot 4.0.x
  3. Focus areas - security, data, performance, architecture, null-safety, migration, or all
  4. Testing expectations - unit, integration, contract, performance

Step 2: Load References

FocusLoad
Spring Boot 4 patternsreferences/spring-boot-4-patterns.md
Java 25 adoptionreferences/java-25-features.md
Securityreferences/security-checklist.md
Performancereferences/performance-patterns.md
Architecturereferences/architecture-patterns.md
Null-safetyreferences/jspecify-null-safety.md
Spring Data JPAUse the spring-data-jpa skill
MigrationUse the springboot-migration skill

Step 3: Review Passes

Pass A: Build + configuration

  • Verify Java and Spring Boot versions in build files
  • Check starter names (webmvc/aspectj/test-classic)
  • Scan for deprecated annotations and Jackson 3 migration issues

Pass B: API + correctness

  • Controllers/services boundaries
  • Validation and error handling (ProblemDetail)
  • Null-safety contracts in public APIs

Pass C: Package structure

  • Identify the architecture style used (layered, package-by-module, modulith, tomato, DDD+hex)
  • Verify folder/package layout matches the selected pattern
  • Flag cross-module leakage (controllers using repositories, infra types in domain)

Pass D: Data access

  • Repository placement (aggregate roots only)
  • N+1, pagination, projections, transactions

Pass E: Security

  • Authentication/authorization
  • Input validation and secrets handling
  • Sensitive data logging

Pass F: Performance + resilience

  • Caching strategy
  • Virtual threads evaluation (MUST verify 10,000+ concurrent tasks and I/O-bound workload before recommending - see java-25-features.md for threshold explanation)
  • Thread pool sizing matches workload (check actual concurrency, not daily totals)
  • Timeouts, retries, backoff

Step 4: Report Findings

Order by severity and include:

  • Category
  • File + line
  • Impact
  • Fix recommendation

Use this structure:

## Critical
- **[Category]**: Issue
  - **File**: `path/to/File.java:123`
  - **Impact**: What breaks or risks
  - **Fix**: Specific change

## High / Medium / Low
...

Quick Reference: Review Triggers

Migration and Boot 4

  • Old starter names (spring-boot-starter-web → spring-boot-starter-webmvc)
  • Old test annotations (@MockBean → @MockitoBean)
  • Jackson 2 usage when Boot 4 expects Jackson 3

Null-safety (JSpecify)

  • Missing package-info.java with @NullMarked
  • org.springframework.lang annotations still in use
  • @Nullable placed on fields/params instead of type usage
  • Overridden methods missing nullability annotations

Security

  • SQL/NoSQL injection risks
  • Passwords not hashed (BCrypt/Argon2)
  • Missing authz checks (@PreAuthorize)
  • Secrets in code or logs

Performance

  • N+1 queries
  • No pagination / unbounded queries
  • No caching for heavy reads
  • Virtual threads recommended without analyzing workload (MUST verify 10,000+ concurrent tasks, I/O-bound operations, and thread pool exhaustion - see java-25-features.md)
  • Thread pool sizes that don't match actual workload characteristics

Architecture

  • Controllers calling repositories directly
  • Exposing JPA entities in APIs
  • Modulith boundary violations
  • Business logic in controllers
  • Package structure deviates from chosen pattern (layered, package-by-module, modulith, tomato, DDD+hex)

Modern Java 25

  • Old instanceof + cast
  • Verbose DTOs instead of records
  • String concatenation for SQL/JSON
  • Old switch statements

Anti-Patterns

Don'tDoWhy
Review with no filesAsk for files/diffPrevents generic advice
Skip null-safety checksLoad JSpecify guidanceBoot 4 APIs are null-safe
Treat all findings equallyPrioritize by severityFocus on risk
Suggest sweeping rewritesRecommend incremental fixesSafer for PRs

Key Principle

Ground every finding in code, prioritize risk, and align with Java 25 + Spring Boot 4 + JSpecify null-safety.

  • Refactoring guidance

Review Checklists

Quick Security Check (5 minutes)

  • No SQL string concatenation
  • Passwords hashed (BCrypt/Argon2)
  • Sensitive endpoints have @PreAuthorize
  • No hardcoded secrets
  • No sensitive data in logs
  • HTTPS enforced

Quick Performance Check (5 minutes)

  • No lazy loading in loops
  • Pagination used for large queries
  • Read-only transactions marked
  • Connection pool configured
  • No resource leaks (try-with-resources)
  • Thread pool sizing appropriate for workload (analyze actual concurrency before suggesting changes)

Quick Migration Check (5 minutes)

  • Spring Boot 4 starters (webmvc, aspectj)
  • Jackson 3 imports (tools.jackson.*)
  • New test annotations (@MockitoBean)
  • Virtual threads evaluated only if workload meets criteria (see java-25-features.md)

Comprehensive Review (30+ minutes)

Load all reference files and check:

  • Security: All OWASP Top 10 items
  • Performance: N+1, caching, async, virtual threads
  • Architecture: Layering, boundaries, patterns
  • Migration: Java 25 and Spring Boot 4 adoption
  • Best Practices: Clean code, SOLID, DRY

Tips for Effective Reviews

Be Specific

❌ "This code has security issues" ✅ "SQL injection vulnerability at UserRepository.java:45 - use parameterized query"

Prioritize

Focus on:

  1. Critical: Security, data loss, crashes
  2. Important: Performance, architecture violations
  3. Nice-to-have: Code style, minor optimizations

Provide Context

Explain WHY something is a problem:

❌ "Use records" ✅ "Use records to reduce boilerplate and ensure immutability. This DTO has 50 lines of boilerplate that records eliminate."

Show Examples

Include code snippets showing the fix:

// ❌ Before
String query = "SELECT * FROM users WHERE id = " + userId;

// ✅ After
@Query("SELECT u FROM User u WHERE u.id = :userId")
User findByUserId(@Param("userId") Long userId);

Be Constructive

Frame feedback positively:

❌ "This is wrong" ✅ "Consider using pattern matching here to simplify the code and reduce casting"

Common Review Scenarios

Scenario 1: Quick PR Review

Context: User asks to review a pull request

Actions:

  1. Ask for changed files or use Glob to find them
  2. Read changed files
  3. Load java-25-features.md and spring-boot-4-patterns.md
  4. Run Quick Security + Performance checks
  5. Report findings with file:line references

Scenario 2: Security Audit

Context: User requests security review

Actions:

  1. Load security-checklist.md
  2. Glob for controllers, services, security config
  3. Check OWASP Top 10 systematically
  4. Focus on: SQL injection, authentication, authorization, secrets
  5. Provide detailed security report

Scenario 3: Performance Review

Context: User reports slowness or wants optimization

Actions:

  1. Load performance-patterns.md
  2. Glob for repositories, services
  3. Check for: N+1 queries, missing pagination, no caching
  4. Review connection pool and async configuration
  5. Suggest specific optimizations with expected impact

Scenario 4: Architecture Review

Context: User wants to validate architecture or refactor

Actions:

  1. Load architecture-patterns.md
  2. Understand current pattern (Layered? DDD? Hexagonal?)
  3. Check for violations (layer bypassing, broken boundaries)
  4. Validate Spring Modulith modules if used
  5. Suggest architectural improvements aligned with their pattern

Scenario 5: Migration Review

Context: Codebase recently migrated to Spring Boot 4 / Java 25

Actions:

  1. Load java-25-features.md and spring-boot-4-patterns.md
  2. Glob for all Java files
  3. Identify old patterns still in use
  4. Prioritize quick wins (records for DTOs, switch expressions)
  5. Provide migration roadmap for larger changes

When NOT to Use This Skill

  • Kotlin code (this skill is Java-specific)
  • Non-Spring Boot frameworks (Micronaut, Quarkus)
  • Build/config files only (pom.xml, build.gradle) - unless reviewing dependencies
  • Frontend code (React, Angular) - unless Spring MVC templates

Example Usage

User: "Can you review OrderService.java for any issues?"

Assistant:

  1. Reads OrderService.java
  2. Loads java-25-features.md, spring-boot-4-patterns.md, performance-patterns.md, security-checklist.md
  3. Analyzes code against checklists
  4. Reports findings:
## Critical Issues

🚨 **Performance - N+1 Query**
- **File**: `OrderService.java:45`
- **Problem**: Lazy loading `order.getItems()` in a loop causes N+1 queries
- **Solution**: Use `@EntityGraph` or fetch join in repository

🚨 **Security - Missing Authorization**
- **File**: `OrderService.java:30`
- **Problem**: `deleteOrder()` has no authorization check
- **Solution**: Add `@PreAuthorize("hasRole('ADMIN') or #order.userId == authentication.principal.id")`

## Warnings

⚠️ **Migration - Old Jackson Import**
- **File**: `OrderService.java:5`
- **Problem**: Using `com.fasterxml..jackson.*`
- **Recommendation**: Update to `tools.jackson.*`

## Suggestions

💡 **Modern Java - Use Record for DTO**
- **File**: `OrderService.java:78-120`
- **Suggestion**: Replace `OrderDTO` class with record to eliminate 42 lines of boilerplate

User: "Review the entire order module for architecture issues"

Assistant:

  1. Uses Glob to find all files in order/ module
  2. Loads architecture-patterns.md
  3. Checks for layer violations, DDD patterns, module boundaries
  4. Reports architectural findings with recommendations

平台分布

Codex

35.96%
按下载量换算34

Claude

29.13%
按下载量换算28

Cursor

21.71%
按下载量换算21

Gemini CLI

10.84%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills