Skip to content

Commit acf1f63

Browse files
authored
What's new in Cursor rules for Java 0.11.0? (#355)
* Prepared the article to be reviewed online * Improving README.md
1 parent d2a0885 commit acf1f63

25 files changed

+810
-333
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3434
- Extensive refinements across multiple rules (dependencies, plugins, secure coding, concurrency, exception handling, functional programming, documentation, diagrams) (#309, #341).
3535
- Decoupled system prompts from behaviours and added learning behaviour; reorganized generator templates and inventory (#309).
3636
- All examples use single imports without using wildcard *
37+
- Updated profiling Script to add support for Async-profiler 4.1 https://github.com/async-profiler/async-profiler/releases/tag/v4.1
38+
- Improved JFR support
3739

3840
### Removed
3941

README-DEV.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# Serve generated documentation
1919
jwebserver -p 8000 -d "$(pwd)/docs"
2020

21-
# Serve presentation
21+
# Serve deck about Devoxx BE 2025
2222
jwebserver -p 8000 -d "$(pwd)/documentation/dvbe25/"
2323
```
2424

README.md

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ The [available System prompts for Java](./CURSOR-RULES-JAVA.md) cover aspects li
1212

1313
### Compatibility with Modern IDEs, CLI & Others
1414

15-
The repository was designed to offer support for Cursor, but other tools have evolved and now offer better support for System prompts. The repository executes regular regression testing for IDEs like *Cursor*, *Cursor CLI*, *Claude Code*, *GitHub Copilot* & *JetBrains Junie*.
15+
The repository was designed to support Cursor, but other tools have evolved and now offer better support for system prompts. The repository runs regular regression tests for IDEs and tools such as *Cursor*, *Cursor CLI*, *Claude Code*, *GitHub Copilot*, and *JetBrains Junie*.
1616

17-
⚠️ **Note:** Currently, the best environments to use this repository are: *Cursor*, *Cursor CLI* & *Claude Code*. If you use *JetBrains IntelliJ IDEA*, you could combine it with *Cursor CLI* or *Claude Code*. Further information about the latest review [here](./documentation/reviews/review-20250829.md) (**Last Update:** 2025/08/29).
17+
⚠️ **Note:** Currently, the best environments in which to use this repository are *Cursor*, *Cursor CLI*, and *Claude Code*. If you use *JetBrains IntelliJ IDEA*, you can combine it with *Cursor CLI* or *Claude Code*. Further information is available in the latest review [here](./documentation/reviews/review-20250829.md) (**Last update:** 2025/08/29).
1818

1919
## What is a System prompt?
2020

@@ -26,37 +26,31 @@ A system prompt is a set of instructions given to an AI model that defines how i
2626

2727
The repository provides System prompts that can behave interactively or non-interactively, depending on how the user employs them.
2828

29-
- **System prompts:** `Create a UML class diagram with @170-java-documentation without any question` or `Add Maven Enforcer plugin only from the rule @112-java-maven-plugins without any question`
30-
- **Interactive System Prompts:** Prompts that ask questions and have conditional logic. Examples: `Improve the pom.xml using the cursor rule @112-java-maven-plugins` or `Generate technical documentation & diagrams about the project with the cursor rule @170-java-documentation`
29+
- **System prompts:** `Create a UML class diagram with @170-java-documentation without asking questions` or `Add the Maven Enforcer plugin using the rule @112-java-maven-plugins without asking questions`
30+
- **Interactive System Prompts:** Prompts that ask questions and include conditional logic. Examples: `Improve the pom.xml using the cursor rule @112-java-maven-plugins` or `Generate technical documentation and diagrams about the project with the cursor rule @170-java-documentation`
3131

32-
### Types of customized behaviours for System prompts
32+
### Types of customized behaviours for system prompts
3333

3434
- **Consultative Interactive:** Prompts that suggest alternatives to improve software development. Examples: `Improve the class/classes added in the context applying the system prompt @128-java-generics with the behaviour @behaviour-consultative-interaction` or `Improve the class/classes added in the context applying the system prompt @131-java-unit-testing with the behaviour @behaviour-consultative-interaction`
35-
- **Progressive Learning:** Using the System prompts, you can generate courses about a particular topic in order to understand better the changes generated by Models. Example: `Create a course about @128-java-generics.md using the behavior @behaviour-progressive-learning.md and put the course in @courses`
35+
- **Progressive Learning:** Using the system prompts, you can generate courses about a particular topic to better understand the changes generated by models. Example: `Create a course about @128-java-generics.md using the behavior @behaviour-progressive-learning.md and place the course in @courses`
3636

3737
### Java development workflow
3838

39-
Adding AI tools to the Java development workflow can increase the possibilities of implementing software specifications on time and with quality.
39+
Adding AI tools to the Java development workflow can increase the likelihood of implementing software specifications on time and with quality.
4040

4141
![](./documentation/images/workflow.png)
4242

43-
**Note:** Remember that if you use models and ask questions about recent topics like *Java 25*, it is probable that models will not provide accurate answers.
44-
4543
### Data pipelines workflow
4644

47-
Adding AI tools in your Data Pipeline could offer new opportunties to offer more value. (Examples: Code Refactoring, Continous profiling, Code automation, others...)
45+
Adding AI tools to your data pipeline can provide new opportunities to deliver more value (examples: automatic coding, code refactoring, continuous profiling, and others).
4846

4947
![](./documentation/images/data-pipeline-workflow.png)
5048

5149
## Getting started
5250

53-
New to this repository? Start with our [comprehensive guide](./documentation/GETTING-STARTED.md) for a quick introduction to setting up and using the Cursor rules.
54-
55-
## How to use a System prompt in your development?
56-
57-
Learn [how to integrate System prompts](./documentation/HOW-TO-USE.md) into your development workflow and maximize their effectiveness in your daily coding tasks.
51+
New to this repository? Start with our [comprehensive guide](./documentation/GETTING-STARTED.md) for a quick introduction to setting up and using the Cursor rules, then read about [how to integrate system prompts](./documentation/HOW-TO-USE.md) into your development workflow to maximize their effectiveness in your daily coding tasks. For a full understanding of this project, follow the course [Mastering System Prompts for Java](https://jabrena.github.io/cursor-rules-java/courses/system-prompts-java/index.html).
5852

59-
## How many System prompts include this repository?
53+
## How many system prompts for Java does this project include?
6054

6155
Explore the [complete catalog of available System prompts](./CURSOR-RULES-JAVA.md) to discover the full range of capabilities and find the perfect rules for your specific use cases.
6256

@@ -72,19 +66,19 @@ This framework transforms AI from a general assistant into a specialized consult
7266

7367
### Lack of determinism
7468

75-
From the beginning, you need to know that results provided by interactions with the different `Cursor rules` are not deterministic due to the nature of the models, but this fact should not be considered negative. Software engineers do not always have the same idea to solve a problem, and you can find an analogy in this fact.
69+
From the outset, be aware that the results provided by interactions with the different `Cursor rules` are not deterministic due to the nature of the models, but this fact is possible to be mitigated with `clear goals` and `validation checkpoints`.
7670

7771
### Limits of interactions with models
7872

79-
Models are able to generate code but they cannot run code with your local data. To address this limitation, you can observe that a few prompts provide scripts to bridge the gap on the model side.
73+
Models are able to generate code, but they cannot run code with your local data. To address this limitation, some prompts provide scripts to bridge this gap on the model side.
8074

8175
## Contribute
8276

83-
If you have great ideas, [read the following document](./CONTRIBUTING.md) for contributing.
77+
If you have great ideas, [read the following document](./CONTRIBUTING.md) to contribute.
8478

8579
## Examples
8680

87-
The repository includes [a collection of examples](./examples/) where you can explore the possibilities from this collection of System prompts designed for Java.
81+
The repository includes [a collection of examples](./examples/) where you can explore the possibilities of these system prompts designed for Java.
8882

8983
## Architectural decision records, ADR
9084

docs/2/index.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,34 @@ <h1>Cursor Rules for Java</h1>
105105
<div class="posts-section">
106106
<h2 class="section-title"><i class="fa fa-rss"></i> Latest Posts</h2>
107107
<article class="post-preview">
108+
<h3 class="post-title"><a href="../blog/2025/09/release-0.10.0.html">What&apos;s new in Cursor rules for Java 0.10.0?</a></h3>
109+
110+
<p class="post-meta">
111+
<i class="fa fa-calendar-o"></i>
112+
2025-09-05
113+
&nbsp;
114+
<i class="fa fa-pencil"></i>
115+
Juan Antonio Breña Moral
116+
<span class="blog-tags">
117+
&nbsp;
118+
<i class="fa fa-tags"></i>
119+
<a href="../tags/blog.html">blog</a>
120+
</span>
121+
</p>
122+
123+
<div class="post-entry-container">
124+
<div class="post-entry">
125+
What are Cursor rules for Java?
126+
The project provides a collection of System prompts for Java that help software engineers in their daily programming work.
127+
The available System prompts for Java cover aspects like Build system based on Maven, Design, Coding, Testing, Refactoring &amp; JMH Benchmarking, Performance testing with JMeter, Profiling with Async profiler/JDK tools &amp; Documentation.
128+
129+
What...
130+
<p></p>
131+
<a href="../blog/2025/09/release-0.10.0.html" class="post-read-more">[Read More]</a>
132+
</div>
133+
</div>
134+
</article>
135+
<article class="post-preview">
108136
<h3 class="post-title"><a href="../blog/2025/07/release-0.9.0.html">What&apos;s new in Cursor rules for Java 0.9.0?</a></h3>
109137

110138
<p class="post-meta">

docs/archive.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ <h1>Archive</h1>
9393
<article class="post-preview">
9494
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
9595
<span class="list-group-item"><h4>2025-09</h4></span>
96+
<a href="blog/2025/09/release-0.11.0.html" class="list-group-item">
97+
29 - What&apos;s new in Cursor rules for Java 0.11.0?
98+
</a>
9699
<a href="blog/2025/09/mastering-memory-leak-detection-comprehensive-course.html" class="list-group-item">
97100
17 - From Flamegraphs to Production: Mastering Java Memory Leak Detection Through Systematic Profiling
98101
</a>

0 commit comments

Comments
 (0)