Website: https://jabrena.github.io/cursor-rules-java/
Support the project: Sponsor to pay tokens
An opinionated AI-native workflow for evolving modern Java Enterprise SDLC practices through reusable Skills, Agents, Commands & MCP servers.
It helps you answer the Five whys when your team needs to evolve a Java-based product or service:
| QUESTION | ROLE | AREA | SUPPORT |
|---|---|---|---|
| WHAT / WHEN | PO, BA, EA, SA, TL | Agile & Planning | User Stories, GitHub Issues & Jira |
| WHY | EA, SL, TL | Architecture | ADRs & UML / C4 / ER Diagrams |
| HOW | SA, TL, SWE | Spec-Driven | AI Plan mode & OpenSpec |
| HOW | TL, SWE | Java development | Build system based on Maven, Design, Coding, Testing, Observability, Refactoring & JMH Benchmarking, Performance testing with JMeter, Profiling with Async profiler/OpenJDK tools, Documentation, Spring Boot, Quarkus, Micronaut, OpenAPI, WireMock & AGENTS.md |
Once the idea is clear, you can implement it in a structured way:
| Analysis / Design | Implementation | Operation | |
|---|---|---|---|
| Commands | /update-issue-description |
/create-feature-branch · /implement |
/verify · /kill-port |
| Agents | @robot-business-analyst |
@robot-coordinator · @robot-java-coder · @robot-spring-boot-coder · @robot-quarkus-coder · @robot-micronaut-coder |
|
| Skills | 014-agile-user-story · 030-architecture-adr-general · 031-architecture-adr-functional-requirements · 033-architecture-diagrams · 041-planning-plan-mode ... | 110-java-maven-best-practices · 121-java-object-oriented-design · 124-java-secure-coding · 111-java-maven-dependencies · 143-java-functional-exception-handling ... | 151-java-performance-jmeter · 162-java-profiling-analyze · 161-java-profiling-detect · 163-java-profiling-refactor · 164-java-profiling-verify ... |
| MCP Servers | JDBC | JavaDocs · Serena | Graphana |
The project generates a set of deliverables at the end of any iteration.
| Inventory | Installation | Getting Started |
|---|---|---|
| 1. Commands | @004-commands-installation Install Commands in project |
Commands |
| 2. Agents | @005-agents-installation Install Agents in Cursor/Claude |
Agents |
| 3. Skills | npx skills add jabrena/cursor-rules-java --all --agent cursor |
Skills |
System prompts/rules will be removed in the next release (v0.16.0).
This project is compatible with any tool that supports Commands, Agents, Skills, MCP Servers and AGENTS.md.
Review the project workflows guide for prompting, agent-driven engineering, and pipeline workflows.
From the outset, be aware that results from interactions with these Skills and agents are not deterministic because of how the models behave, but you can mitigate that with clear goals and validation checkpoints.
Some interactive skills require Premium models for interactive use; otherwise they follow a fixed sequence of steps.
Models can generate code, but they cannot execute it against your local data. To bridge that gap, some Skills include scripts you run locally.
This project supports software engineering work; it does not replace engineering judgment. A software engineer must review, guide, and validate AI-generated decisions, code, and outcomes before they are used.
Use caution when a problem involves corporate databases or other sensitive organizational data. Before granting an AI-assisted workflow access, assess authorization, privacy, data leakage, retention, and unintended modification risks. Apply least-privilege access, human review, validation, and monitoring. See OWASP GenAI Data Security Risks & Mitigations 2026.
See CONTRIBUTING.md for conventions, generator workflows, tests, and how to open a pull request.
- Review the ADR index for the complete list.
- Review the CHANGELOG for further details.
Java uses JEPs (JDK Enhancement Proposals) to describe new language and platform features. This repository tracks which JEPs could improve the Skills and guidance here.
- Delegating Java tasks to Supervised AI Dev Pipelines
- https://vibekode.it/blog/cursor-ai-developer-cloud-platform/
- https://www.linkedin.com/pulse/september-rest-story-jvm-weekly-vol-146-artur-skowro%C5%84ski-82lif/?trackingId=wbWPSL65TpCCbdg5ksAWjw%3D%3D
- https://virtuslab.com/blog/ai/providing-library-documentation/
- https://github.com/the911fund/skill-of-skills
- https://blog.csdn.net/weixin_42526249/article/details/161176209
- https://juejin.cn/post/7632095808490340392
- https://www.cursor.com/
- https://cursor.com/cli
- https://www.anthropic.com/claude-code
- https://github.com/features/copilot
- https://cursor.com/docs/cli/github-actions
- https://code.claude.com/docs/en/github-actions
- https://agents.md/
- https://agentskills.io/home
- https://microsoft.github.io/language-server-protocol/
- https://openspec.dev/
- https://skills.sh/jabrena/cursor-rules-java
- https://tessl.io/registry/skills/github/jabrena/cursor-rules-java
- https://claudskills.com/author/jabrena/
- https://agent-skills.cc/zh/skills/jabrena-cursor-rules-java
- https://shyft.ai/skills/cursor-rules-java
- https://lobehub.com/skills?q=cursor-rules-java
- https://www.awesomeskills.dev/es/skill/jabrena-cursor-rules-java
- https://github.com/laolaoshiren/claude-code-skills-zh
- https://github.com/LessUp/awesome-cursorrules-zh
- https://github.com/vercel-labs/skills/issues
- https://openjdk.org/jeps/0
- https://jbake.org/docs/latest/
- https://developers.redhat.com/blog/2016/12/09/spring-cloud-for-microservices-compared-to-kubernetes