Skip to content

Guide · Agent skill

How to use the Java Architect agent skill (java-architect)

Updated · written with AI from the project's own documentation and checked against our catalogue data

The java-architect skill is a set of instructions and reference notes that tells an AI coding agent to work like a senior Java architect on Spring Boot 3.x projects running Java 21. It is for Java developers building or maintaining Spring Boot microservices, or debugging slow JPA queries and failing Spring Security filter chains. After this guide you will know how to install the skill, how to ask for help with a natural request, and what to check before trusting the generated code.

Java ArchitectJeffallan/claude-skills · MIT

Quick start

  1. 1Download the ZIP. Download the java-architect ZIP from this page.
  2. 2Unzip into a skills folder. Unzip into ~/.claude/skills/ for personal use, or into your project's .claude/skills/ folder.
  3. 3Or upload in the Claude apps. In the Claude apps, go to Settings → Capabilities → Skills and upload the skill.
  4. 4Check your environment. Confirm Java 21 and Maven or Gradle are installed and that your project is a Spring Boot 3.x app.
  5. 5Make a natural request. Describe the Spring task in plain language, naming the module or endpoint involved.
  6. 6Review the build results. Check that the agent ran ./mvnw verify or ./gradlew check and that the tests passed.
  7. 7Review security code. Have a qualified engineer check any generated security configuration before production use.

What does the java-architect skill make the agent do?

An agent skill is a folder with a SKILL.md file that the agent reads when a task matches the skill's description. This one is triggered by work on enterprise Java applications with Spring Boot 3.x, microservices, or reactive programming. Once loaded, it shapes the agent's output toward reactive WebFlux endpoints, tuned JPA queries (for example avoiding N+1 fetches), Spring Security with OAuth2/JWT, and tests with JUnit 5 and Testcontainers aiming for 85%+ coverage.

The skill also includes reference notes the agent loads on demand for Spring Boot setup, reactive code, data access, security, and testing.

  • Project structure and modern pom.xml guidance for Spring Boot 3.2
  • WebFlux controllers that return Mono and Flux
  • JPA entity design, JOIN FETCH queries, and projections
  • OAuth2/JWT resource server configuration with a SecurityFilterChain
  • JUnit 5, Testcontainers and Mockito test patterns

How do you install the java-architect skill?

Download the ZIP for this skill from this page and unzip it. You can install it in one of two places: your personal skills folder, or a single project's skills folder.

For a personal install, unzip into ~/.claude/skills/. For a project-only install, unzip into the project's .claude/skills/ folder. You can also upload the skill in the Claude apps under Settings → Capabilities → Skills.

  • Personal: ~/.claude/skills/
  • Project only: .claude/skills/ inside your project
  • Claude apps: Settings → Capabilities → Skills, then upload

How do you trigger the skill with a natural request?

You do not need a special command. Describe a Java or Spring task in plain language and mention Spring Boot, JPA, WebFlux, Spring Security, or microservices. The skill's description matches requests like these, so the agent is more likely to load it.

Be specific about the project. The skill works best when the agent can see your pom.xml or build.gradle and the module you want changed.

  • "Add a WebFlux endpoint that returns an order by ID in our Spring Boot 3 service."
  • "This JPA query on orders is slow. Find the N+1 problem and fix it."
  • "Configure OAuth2 JWT resource server security for our API and keep /actuator/health public."
  • "Why is my Spring Security filter chain rejecting valid tokens?"

What do you need before using it?

The skill expects a Java 21 environment with Maven or Gradle, an existing Spring Boot 3.x project, and an agent that can run shell commands. Its workflow depends on running the build: ./mvnw verify -pl <module> for data-layer checks, ./mvnw verify for security and full checks, or ./gradlew check for Gradle projects.

The skill's workflow asks the agent to check JaCoCo coverage at target/site/jacoco/index.html when coverage is below 85%.

  • Java 21 and Maven or Gradle
  • A Spring Boot 3.x project
  • An agent that can run shell commands
./mvnw verify

What are the safety notes for scripts and network use?

The skill runs scripts, so it can execute build commands in your project. It does not use the network, according to its listing. Review what the agent runs before approving it, especially in shared or production repositories.

The generated security configuration is a starting point, not a finished decision. The example disables CSRF and uses stateless JWT sessions. A qualified engineer should review these choices before production use.

  • Runs scripts: yes. Uses network: no.
  • Check generated SecurityFilterChain code, especially CSRF and session settings.
  • Never hardcode secrets; the skill's own rules say to externalize configuration.

What does a typical session look like?

Start with a clear request and let the agent analyze the project first. The skill's workflow begins with architecture analysis, then domain design, implementation, data layer, security, and quality checks. For a JPA problem, expect the agent to inspect the entity and repository, propose a JOIN FETCH or projection query, and then run the module build to confirm the query.

If tests fail, the skill tells the agent to review Hibernate SQL logs for data-layer issues, and to check SecurityFilterChain bean order and token validation config for security issues. Re-run the build after each fix.

What tips help you get better results?

Give the agent your Spring Boot version and module layout. Keep requests to one concern, such as one endpoint or one slow query. Ask for tests along with the code, since the skill's output format includes test classes and an explanation of architectural decisions.

  • Name the module with -pl so the agent runs a focused build.
  • Ask for the JpaRepository query and a test together.
  • Ask the agent to explain why it chose a fetch strategy or security setting.

What people use it for

  • Adding a reactive WebFlux endpoint to an existing Spring Boot 3 microservice
  • Fixing an N+1 fetch problem with a JOIN FETCH query in a JPA repository
  • Adding OAuth2/JWT resource server security to an API
  • Debugging a failing Spring Security filter chain or token validation
  • Writing JUnit 5 and Testcontainers tests to reach the 85% coverage target

Frequently asked questions

Is the java-architect skill free?

The skill is published under the MIT licence, as stated on this page. Check the licence file in the repository for the full terms before redistributing it.

What do I need to run the java-architect skill?

You need Java 21, Maven or Gradle, a Spring Boot 3.x project, and an agent that can run shell commands. The skill's workflow relies on running ./mvnw verify or ./gradlew check.

Where do I install a Claude skill?

Unzip the skill into ~/.claude/skills/ for personal use or into a project's .claude/skills/ folder. You can also upload it in the Claude apps under Settings → Capabilities → Skills.

Can I use java-architect for non-Java projects?

No. The guidance is specific to Spring and the JVM, so it is not suited to non-Java projects.

Does java-architect send my code over the network?

The listing says it does not use the network, but it does run scripts. Review the commands the agent executes before approving them.

Why does the agent suggest disabling CSRF?

The example security configuration disables CSRF and uses stateless sessions for JWT. Those choices must be checked by a qualified engineer before production, since the skill itself warns against unreviewed production security decisions.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Use java-architect if you build or maintain Spring Boot 3.x services on Java 21 and can run Maven or Gradle builds in your project. Pick something else if your project is not Java, you cannot run the build, or you need security decisions made without a qualified engineer reviewing the output.

Download the skill