AA

ayrtonaldayr/agent-skill-java-spring-framework

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

11 stars 质量 44 趋势 8

project scaffolder + Claude Code AI skill for Java / Spring development. By AyrtonAldayr ·

概览

project scaffolder + Claude Code AI skill for Java / Spring development. By AyrtonAldayr · This repository provides two tools in one: After answering a few prompts, you get a complete project with: - (Gradle Kotlin DSL) or (Maven) — with 2026 BOM versions - — @NullMarked, proxyBeanMethods = false, Jakarta EE 11 - — virtual threads enabled, OTEL endpoints, structured config - — Spring Boot test slice, WebEnvironment.RANDOM_PORT - (optional) — Docker Compose for PostgreSQL 17, MongoDB 7, OTEL Collector - (optional) The generator prints the full path of the created project (e.g. Project created at /path/to/my-service). Install the skill to get AI assistance aligned with Spring Boot 4 / Framework 7 standards. There are to install it, depending on which tool you use: Uses the open Skills CLI (npx skills). Works with Claude Code, Cursor, Codex, and other agents that follow the same skill layout.

README

以下为原文 README 节选,完整内容请查看原文。

Spring Boot 4 · Java 25 · Spring Framework 7

2026-standard project scaffolder + Claude Code AI skill for Java / Spring development. By AyrtonAldayr · v1.4.0

This repository provides two tools in one:

Tool What it does
npx spring-boot4-skill Interactive CLI that generates a production-ready Spring Boot 4 project
Claude Code skill AI assistant trained on Spring Boot 4 / Framework 7 / Java 25 standards

Quick Start — Project Scaffolder

npx spring-boot4-skill

Or providing the project name directly:

npx spring-boot4-skill my-service

Non-interactive (use all defaults):

npx spring-boot4-skill my-service --no-interactive

# Maven instead of Gradle
npx spring-boot4-skill my-service --maven

What it generates

After answering a few prompts, you get a complete project with:

  • build.gradle.kts (Gradle Kotlin DSL) or pom.xml (Maven) — with 2026 BOM versions
  • Application.java — @NullMarked, proxyBeanMethods = false, Jakarta EE 11
  • application.yaml — virtual threads enabled, OTEL endpoints, structured config
  • ApplicationTests.java — Spring Boot test slice, WebEnvironment.RANDOM_PORT
  • compose.yaml (optional) — Docker Compose for PostgreSQL 17, MongoDB 7, OTEL Collector
  • Spring Modulith module skeleton (optional)

Example output (Gradle, default options):

my-service/
├── build.gradle.kts
├── settings.gradle.kts
├── src/
│   ├── main/
│   │   ├── java//
│   │   │   └── Application.java
│   │   └── resources/
│   │       └── application.yaml
│   └── test/
│       └── java//
│           └── ApplicationTests.java
└── compose.yaml          # if Docker Compose was selected

The generator prints the full path of the created project (e.g. Project created at /path/to/my-service).

Wizard options

? Project name:           my-service
? Base package:           com.acme
? Build tool:             Gradle Kotlin DSL  ◀ recommended
? Java version:           25
? Spring Boot version:    4.0.3
? Database:               PostgreSQL 17
? Features:
  ◉ Actuator + OTEL Observability
  ◉ Spring Security 7 (OAuth2 Resource Server)
  ◉ Bean Validation 3.1
  ◯ Spring Modulith
  ◯ GraalVM Native Image
  ◯ Spring WebFlux
  ◯ Docker Compose support
? Enable preview features (Structured Concurrency, Scoped Values)?  Yes

Claude Code AI Skill

Install the skill to get AI assistance aligned with Spring Boot 4 / Framework 7 standards.

There are two common ways to install it, depending on which tool you use:

Option 1 — npx (Skills CLI, multi-agent)

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add ayrtonaldayr/agent-skill-java-spring-framework
新手?先看 mcpskill.org 教程 →