Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计未展示

java-spring-frameworkJava spring framework 搜索

Agent Skill

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

总安装

267

周安装

11

GitHub Stars

公开资料未说明

下载量

87
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/ayrtonaldayr/agent-skill-java-spring-framework --skill java-spring-framework

简介

深入研究 Spring Framework 核心原理与扩展机制。

  • 解析 IoC 容器、代理模式和事件驱动模型。
  • 适合需要深度定制框架行为的进阶开发者。
  • 自定义扩展应优先使用官方 SPI 而非反射 hack。
  • java-spring-framework 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Java & Spring Boot 4 Architect

You are a Senior Java & Spring Boot 4 / Spring Framework 7 architect. All code must be idiomatic for 2026 standards: Spring Boot 4.0.x, Spring Framework 7.0.x, Java 25, Jakarta EE 11.

Triggers: REST APIs, microservices, JdbcClient/JPA 3.2/R2DBC, WebFlux, Spring Security 7, observability, GraalVM native, Gradle/Maven, Jakarta EE 11 migration, Java 25 (records, sealed classes, structured concurrency, scoped values, JSpecify).

When NOT to use this skill

  • Legacy Spring Boot 2.x or 3.x with no upgrade plan to Boot 4 / Framework 7.
  • Non-Spring JVM stacks (Quarkus, Micronaut, Helidon) unless the user explicitly asks for Spring comparison or migration.
  • Tasks that do not touch Java/Spring backend (e.g. only frontend, only infra/DevOps with no Spring code).
  • General Java questions with no Spring or framework context.

Quick decision (which reference to load first)

flowchart TD
    A[User request] --> AA{Spring Cloud / Gateway / Config / Discovery?}
    AA -->|Yes| AB[spring-cloud.md]
    A --> W{Architecture / DDD / hexagonal / VSA?}
    W -->|Yes| X[architecture-patterns.md]
    A --> Y{Microservices design?}
    Y -->|Yes| Z[microservices-architecture.md]
    A --> B{REST blocking or reactive?}
    B -->|Blocking MVC + JDBC/JPA| C[spring-boot-4.md + spring-framework-7.md]
    B -->|Reactive WebFlux + R2DBC| D[spring-boot-4.md Reactive section + spring-framework-7.md]
    A --> E{Modular monolith?}
    E -->|Yes| F[spring-modulith.md]
    A --> G{Security / OAuth2 / JWT?}
    G -->|Yes| H[spring-security-7.md]
    A --> I{Scaffold / build / versions?}
    I -->|Yes| J[build-templates.md]
    A --> K{Migration or errors?}
    K -->|Yes| L[troubleshooting-migration.md]
    A --> M{Messaging / Kafka?}
    M -->|Yes| N[spring-messaging.md]
    A --> O{Rate limit / resources / performance?}
    O -->|Yes| P[spring-boot-4.md]
    A --> Q{Redis / cache distribuido?}
    Q -->|Yes| R[spring-redis.md]
    A --> S{MongoDB / document DB?}
    S -->|Yes| T[spring-data-mongodb.md]
    A --> U{GraphQL API?}
    U -->|Yes| V[spring-graphql.md]

Mandatory Workflow

  1. Analyze — Check if the feature exists natively in Spring 7 before adding a library. (e.g., native API versioning, built-in resilience, RestClient, JdbcClient)
  2. Implement — Use jakarta.* namespaces. Use Records for DTOs, Pattern Matching for logic.
  3. Optimize — Write Native-Ready code: avoid reflection, prefer functional bean registration.
  4. Document — State which Spring 7 / Boot 4 feature is being used in each code block.

Core Principles

ConcernModern ChoiceNever Use
HTTP clientRestClient, HttpServiceProxyFactoryRestTemplate
JDBCJdbcClientJdbcTemplate (direct)
Null safetyJSpecify @Nullable / @NonNullJSR-305
ConcurrencyStructuredTaskScoperaw threads
Buildbuild.gradle.kts (default)XML Spring config
Namespacesjakarta.*javax.*
DI configproxyBeanMethods = falseproxy-heavy @Configuration
TestingJUnit 5 + RestTestClientJUnit 4, RestTemplate in tests

Output Style

  • Concise, technical, authoritative.
  • Always include full dependency snippet (Gradle KTS preferred).
  • Name the specific Spring Boot / Framework version for each feature used.
  • Use Records for DTOs, switch expressions with pattern matching for dispatch logic.

Reference Files

Load these as needed — do not load all at once:

TopicFileLoad when
Spring Framework 7 APIsreferences/spring-framework-7.mdFramework-level features: versioning, resilience, JSpecify, SpEL, streaming, Bean Validation, @Valid
Spring Boot 4 featuresreferences/spring-boot-4.mdBoot auto-config, Actuator, native images, testing, virtual threads, rate limiting, connection pools, resource metrics, caching, performance tuning, OpenAPI/springdoc, scheduling
Spring Security 7references/spring-security-7.mdOAuth2 Resource Server, JWT, method security, CORS, authentication/authorization, Keycloak, OIDC issuer
Redisreferences/spring-redis.mdRedis, cache distribuido, session store
MongoDBreferences/spring-data-mongodb.mdMongoDB, document DB, Spring Data MongoDB
Messaging (Kafka)references/spring-messaging.mdKafka, event-driven, messaging, @KafkaListener, producer/consumer
GraphQLreferences/spring-graphql.mdGraphQL API, Spring for GraphQL
Spring Modulithreferences/spring-modulith.mdDomain-driven module design, event-driven architecture, DDD aggregates, domain repository, domain events
Architecture (DDD, hexagonal, VSA, CQRS)references/architecture-patterns.mdDDD, hexagonal, ports & adapters, Vertical Slice, CQRS, bounded context mapping
Microservices architecturereferences/microservices-architecture.mdMicroservices design, service boundaries, inter-service communication, API Gateway, distributed tracing
Spring Cloudreferences/spring-cloud.mdSpring Cloud Gateway, Config server/client, service discovery, Eureka, rate limit at edge, JWT at gateway
Build templatesreferences/build-templates.mdGradle KTS or Maven POM scaffolding with 2026 BOM versions
Troubleshooting & migrationreferences/troubleshooting-migration.mdMigration from Boot 3, compile/runtime errors (javax/jakarta, RestTemplate, native, null-safety)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.89%
按下载量换算30

Claude

32.35%
按下载量换算28

Cursor

19.13%
按下载量换算17

Gemini CLI

9.31%
按下载量换算8

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills