Skip to content

Commit 45f4d44

Browse files
committed
WIP
1 parent d2a0885 commit 45f4d44

21 files changed

+647
-313
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

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>
Lines changed: 200 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,200 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="utf-8" />
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
8+
<title>What&apos;s new in Cursor rules for Java 0.11.0? - Cursor Rules for Java</title>
9+
<meta name="author" content="" />
10+
<meta name="description" content="">
11+
<link rel="alternate" type="application/atom+xml" href="../../../feed.xml" title="Cursor Rules for Java"/>
12+
13+
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" />
14+
<link rel="stylesheet" href="../../../css/bootstrap.min.css">
15+
<link rel="stylesheet" href="../../../css/bootstrap-social.css" />
16+
<link rel="stylesheet" href="../../../css/main.css" />
17+
18+
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" />
19+
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" />
20+
21+
<link rel="stylesheet" href="../../../css/asciidoctor.css">
22+
<link rel="stylesheet" href="../../../css/prettify.css">
23+
<link rel="shortcut icon" href="../../../favicon.ico">
24+
</head>
25+
26+
<body>
27+
<nav class="navbar navbar-default navbar-fixed-top navbar-custom">
28+
<div class="container-fluid">
29+
30+
<div class="navbar-header">
31+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navbar">
32+
<span class="sr-only">Toggle navigation</span>
33+
<span class="icon-bar"></span>
34+
<span class="icon-bar"></span>
35+
<span class="icon-bar"></span>
36+
</button>
37+
<a class="navbar-brand" href="../../../index.html">Cursor Rules for Java</a>
38+
</div>
39+
40+
<div class="collapse navbar-collapse" id="main-navbar">
41+
<ul class="nav navbar-nav navbar-right">
42+
<li class="navlinks-container">
43+
<a class="navlinks-parent" href="javascript:void(0)">Courses</a>
44+
<div class="navlinks-children">
45+
<a href="../../../courses/system-prompts-java/index.html">System prompts for Java</a>
46+
<a href="../../../courses/java-generics/index.html">Java Generics</a>
47+
<a href="../../../courses/profile-memory-leak/index.html">Memory Leak Profiling</a>
48+
</div>
49+
</li>
50+
<li><a href="../../../archive.html">Archive</a></li>
51+
<li><a href="../../../about.html">About</a></li>
52+
</ul>
53+
</div>
54+
55+
56+
57+
</div>
58+
</nav>
59+
60+
61+
62+
<header class="header-section">
63+
64+
65+
<div class="intro-header no-img">
66+
<div class="container">
67+
<div class="row">
68+
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
69+
<div class="post-heading">
70+
<h1>What's new in Cursor rules for Java 0.11.0?</h1>
71+
<span class="post-meta">
72+
<i class="fa fa-calendar-o"></i>
73+
2025-09-29
74+
&nbsp;
75+
<i class="fa fa-pencil"></i>
76+
Juan Antonio Breña Moral
77+
</span>
78+
<span class="blog-tags">
79+
&nbsp;
80+
<i class="fa fa-tags"></i>
81+
<a href="../../../tags/blog.html">blog</a>
82+
</span>
83+
</div>
84+
</div>
85+
</div>
86+
</div>
87+
</div>
88+
</header>
89+
90+
91+
<div class="container">
92+
<div class="row">
93+
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
94+
<article role="main" class="blog-post">
95+
<h2>What are Cursor rules for Java?</h2>
96+
<p>The project provides a collection of System prompts for Java Enterprise development that help software engineers in their daily programming work. The <a href="https://github.com/jabrena/cursor-rules-java/blob/main/CURSOR-RULES-JAVA.md">available System prompts for Java</a> cover aspects like <code>Build system based on Maven</code>, <code>Design</code>, <code>Coding</code>, <code>Testing</code>, <code>Refactoring &amp; JMH Benchmarking</code>, <code>Performance testing with JMeter</code>, <code>Profiling with Async profiler/JDK tools</code> &amp; <code>Documentation</code> &amp; <code>Diagrams</code>.</p>
97+
<h2>What is new in this release?</h2>
98+
<p>In this release, the project has released several features:</p>
99+
<ul>
100+
<li>Improvements in System prompts</li>
101+
<li>Decoupled specifialized behaviours like <code>behaviour-consultative-interaction</code> from System prompts</li>
102+
<li>Added specialized behaviours to combine with Pure System prompts</li>
103+
<li>Added support for <code>UML State machine diagrams</code> in <code>@170-java-documentation</code></li>
104+
<li>Improvements in the project</li>
105+
<li>Added Website based on JBake</li>
106+
<li>Added Initial support for AGENTS.md</li>
107+
<li>Improvements about Support</li>
108+
<li>Added a course about How to use <code>System prompts for Java</code></li>
109+
</ul>
110+
<p>Let's explain one by one the different features released</p>
111+
<h2> Why decouple Pure System prompts from Specialized behaviours?</h2>
112+
<p>During the previous months, the System prompts helped Sofware engineers using the <code>consultative-interaction</code> technique in order to use the System prompts in a way that the execution show a set of alternatives and the software engineer take the decision to update the code in a dynamic way.</p>
113+
<p>With this idea, we had until <code>v0.10.0</code> this syntax:</p>
114+
<pre><code>Interactive User prompt: Review my code to show several alternatives to apply Java Generics with the cursor rule @128-java-generics
115+
User Prompt: Apply Java Generics in the class with @128-java-generics without any question
116+
</code></pre>
117+
<p><a href="https://github.com/jabrena/cursor-rules-java/blob/0.10.0/CURSOR-RULES-JAVA.md">https://github.com/jabrena/cursor-rules-java/blob/0.10.0/CURSOR-RULES-JAVA.md</a></p>
118+
<p>But from <code>v0.11.0</code>, you have a better and clean syntax:</p>
119+
<pre><code>User Prompt with Consultative Interactive Behaviour: Improve the class/classes added in the context applying the system prompt @128-java-generics with the behaviour @behaviour-consultative-interaction
120+
User Prompt with Training behaviour: Create a course about @128-java-generics.md using the behavior @behaviour-progressive-learning.md and put the course here
121+
User Prompt: Improve the class/classes added in the context applying the system prompt @128-java-generics
122+
</code></pre>
123+
<p><a href="https://github.com/jabrena/cursor-rules-java/blob/0.11.0/CURSOR-RULES-JAVA.md">https://github.com/jabrena/cursor-rules-java/blob/0.11.0/CURSOR-RULES-JAVA.md</a></p>
124+
<p><img src="/cursor-rules-java/images/workflow.png" alt="" /></p>
125+
<p>, but what happen if you System prompts in <code>Data pipelines</code>?</p>
126+
<p><img src="/cursor-rules-java/images/data-pipeline-workflow.png" alt="" /></p>
127+
<h2>Do you still have doubts about the project?</h2>
128+
<p>If you feel stuck using this project or you have any doubts, you could attend the following talks at Devoxx BE in October:</p>
129+
<ul>
130+
<li><a href="https://devoxx.be/app/talk/4715/the-power-of-cursor-rules-in-java-enterprise-development">https://devoxx.be/app/talk/4715/the-power-of-cursor-rules-in-java-enterprise-development</a></li>
131+
<li><a href="https://devoxx.be/app/talk/4708/101-cursor-ai-learning-to-use-for-java-enterprise-projects/">https://devoxx.be/app/talk/4708/101-cursor-ai-learning-to-use-for-java-enterprise-projects/</a></li>
132+
</ul>
133+
<p><a href="https://devoxx.be/"><img src="/cursor-rules-java/images/devoxx-logo.png" alt="" /></a></p>
134+
135+
</article>
136+
</div>
137+
</div>
138+
</div>
139+
140+
<footer>
141+
<div class="container beautiful-jekyll-footer">
142+
<div class="row">
143+
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
144+
<ul class="list-inline text-center footer-links">
145+
<li>
146+
<a href="https://twitter.com/juanantoniobm" title="Twitter">
147+
<span class="fa-stack fa-lg">
148+
<i class="fa fa-circle fa-stack-2x"></i>
149+
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
150+
</span>
151+
</a>
152+
</li>
153+
<li>
154+
<a href="https://github.com/jabrena/cursor-rules-java" title="GitHub">
155+
<span class="fa-stack fa-lg">
156+
<i class="fa fa-circle fa-stack-2x"></i>
157+
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
158+
</span>
159+
</a>
160+
</li>
161+
<li>
162+
<a href="../../../feed.xml" title="RSS">
163+
<span class="fa-stack fa-lg">
164+
<i class="fa fa-circle fa-stack-2x"></i>
165+
<i class="fa fa-rss fa-stack-1x fa-inverse"></i>
166+
</span>
167+
</a>
168+
</li>
169+
</ul>
170+
<p class="copyright text-muted">
171+
&copy; Juan Antonio Breña Moral, 2025 |
172+
Baked with <a href="http://jbake.org">JBake v2.7.0</a>
173+
</p>
174+
<p class="theme-by text-muted">
175+
Theme by <a href="https://github.com/Yamane/beautiful-jbake/" target="_blank">beautiful-jbake</a>
176+
adapted from <a href="http://deanattali.com/beautiful-jekyll/" target="_blank">beautiful-jekyll</a>
177+
</p>
178+
</div>
179+
</div>
180+
</div>
181+
</footer>
182+
183+
<script src="../../../js/jquery-1.11.2.min.js"></script>
184+
<script src="../../../js/bootstrap.min.js"></script>
185+
<script src="../../../js/prettify.js"></script>
186+
<script src="../../../js/run_prettify.js"></script>
187+
<script src="../../../js/main.js"></script>
188+
189+
<!-- Google tag (gtag.js) -->
190+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-13CV90H4J4"></script>
191+
<script>
192+
window.dataLayer = window.dataLayer || [];
193+
function gtag(){dataLayer.push(arguments);}
194+
gtag('js', new Date());
195+
196+
gtag('config', 'G-13CV90H4J4');
197+
</script>
198+
199+
</body>
200+
</html>

docs/feed.xml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,18 @@
22
<feed xmlns='http://www.w3.org/2005/Atom' xml:lang='en'>
33
<id>https://jabrena.github.io/cursor-rules-java/</id>
44
<title>Cursor Rules for Java</title>
5-
<updated>2025-09-18T19:06:54+0200</updated>
5+
<updated>2025-09-27T15:15:34+0200</updated>
66
<link rel="alternate" type="text/html" href="https://jabrena.github.io/cursor-rules-java/" />
77
<link rel='self' type='application/atom+xml' href='https://jabrena.github.io/cursor-rules-java//feed.xml' />
8+
<entry>
9+
<id>https://jabrena.github.io/cursor-rules-java//blog/2025/09/release-0.11.0.html</id>
10+
<title>What&apos;s new in Cursor rules for Java 0.11.0?</title>
11+
<link></link>
12+
<link rel="alternate" type="text/html" href="https://jabrena.github.io/cursor-rules-java//blog/2025/09/release-0.11.0.html" />
13+
<updated>2025-09-29T00:00:00+0200</updated>
14+
<summary>What are Cursor rules for Java?
15+
The project provides a collection of System prompts for Java Enterprise development that help software engineers in their daily programming work. The available System prompts for Java cover aspects like Build system based on Maven, Design, Coding, Testing, Refactoring &amp;amp; JMH Benchmarking, Performance testing with JMeter, Profiling with Async profiler/JDK tools &amp;am...</summary>
16+
</entry>
817
<entry>
918
<id>https://jabrena.github.io/cursor-rules-java//blog/2025/09/mastering-memory-leak-detection-comprehensive-course.html</id>
1019
<title>From Flamegraphs to Production: Mastering Java Memory Leak Detection Through Systematic Profiling</title>
185 KB
Loading

docs/index.html

Lines changed: 25 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,31 @@ <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.11.0.html">What&apos;s new in Cursor rules for Java 0.11.0?</a></h3>
109+
110+
<p class="post-meta">
111+
<i class="fa fa-calendar-o"></i>
112+
2025-09-29
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 Enterprise development that help software engineers in their daily programming work. 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 &am...
127+
<p></p>
128+
<a href="blog/2025/09/release-0.11.0.html" class="post-read-more">[Read More]</a>
129+
</div>
130+
</div>
131+
</article>
132+
<article class="post-preview">
108133
<h3 class="post-title"><a href="blog/2025/09/mastering-memory-leak-detection-comprehensive-course.html">From Flamegraphs to Production: Mastering Java Memory Leak Detection Through Systematic Profiling</a></h3>
109134

110135
<p class="post-meta">
@@ -235,34 +260,6 @@ <h3 class="post-title"><a href="blog/2025/09/jfr-modern-java-profiling.html">Bey
235260
</div>
236261
</div>
237262
</article>
238-
<article class="post-preview">
239-
<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>
240-
241-
<p class="post-meta">
242-
<i class="fa fa-calendar-o"></i>
243-
2025-09-05
244-
&nbsp;
245-
<i class="fa fa-pencil"></i>
246-
Juan Antonio Breña Moral
247-
<span class="blog-tags">
248-
&nbsp;
249-
<i class="fa fa-tags"></i>
250-
<a href="tags/blog.html">blog</a>
251-
</span>
252-
</p>
253-
254-
<div class="post-entry-container">
255-
<div class="post-entry">
256-
What are Cursor rules for Java?
257-
The project provides a collection of System prompts for Java that help software engineers in their daily programming work.
258-
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.
259-
260-
What...
261-
<p></p>
262-
<a href="blog/2025/09/release-0.10.0.html" class="post-read-more">[Read More]</a>
263-
</div>
264-
</div>
265-
</article>
266263
</div>
267264

268265
</div>

0 commit comments

Comments
 (0)