Skip to content

jabrena/cursor-rules-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

433 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skills & Agents for Java

jabrena%2Fcursor-rules-java | Trendshift

Stargazers over time

CI Builds

Languages: Español · 中文

Website: https://jabrena.github.io/cursor-rules-java/

Support the project: Sponsor to pay tokens

Goal

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 /create-issue · /create-worktree · /explore-design · /create-adr · /create-diagram · /create-plan · /create-spec · /review-alignment /create-feature-branch · /implement /verify · /kill-port
Agents @robot-business-analyst · @robot-architect · @robot-tech-lead @robot-tech-lead · @robot-java-coder · @robot-spring-boot-coder · @robot-quarkus-coder · @robot-micronaut-coder
Skills 014-agile-user-story · 030-architecture-adr-general · 033-architecture-diagrams · 034-architecture-design-exploration · 041-planning-plan-mode · 042-planning-openspec ... 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

Deliverables

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

⚠️ Note: If you continue using the System prompts/rules from this project, please review the article. Current System prompts/rules will be removed in the next release (v0.16.0).

Compatibility

This project is compatible with any tool that supports Commands, Agents, Skills, MCP Servers and AGENTS.md.

Workflows

Review the project workflows guide for prompting, agent-driven engineering, and pipeline workflows.

Limitations

Lack of determinism

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.

Not all models behave in the same way

Some interactive skills require Premium models for interactive use; otherwise they follow a fixed sequence of steps.

Limits of interactions with models

Models can generate code, but they cannot execute it against your local data. To bridge that gap, some Skills include scripts you run locally.

Software engineers must remain in the loop

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.

Access to corporate data

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.

Contribute

See CONTRIBUTING.md for conventions, generator workflows, tests, and how to open a pull request.

Architecture Decision Records (ADR)

  • Review the ADR index for the complete list.

Changelog

Java JEPs from Java 8 onward

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.

Meetups, Conferences, Workshops & Articles

Codemotion / Madrid (2026/04/20 - 11:00 - 12:30)

W-JAX / Munich (2025/11/06 - 10:30 - 11:30)

Devoxx BE / Antwerp (2025/10/07 - 18:20 - 18:50)

Madrid Jug / Madrid (2025/05/06 - 19:00)

Blogs

References

Other developments

Powered by Cursor & Codex with ❤️ from Madrid

About

An opinionated, AI-native development workflow for Java Enterprise — reusable Skills, Agents, Commands, and MCP servers combined with a human-in-the-loop model to modernize real-world SDLC practices.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

 

Contributors

Languages