You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .cursor/rules/100-java-cursor-rules-list.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ Use the following collection of System prompts of Java to improve your Java deve
81
81
| [161-java-profiling-detect](.cursor/rules/161-java-profiling-detect.md) | Profile your development in runtime and collect evidences to be analyzed later. | **Prompt:** `My Java application has performance issues - help me set up comprehensive profiling process using @161-java-profiling-detect and use the location YOUR-DEVELOPMENT/profiler` **Note:** Replace YOUR-DEVELOPMENT with your actual development path. Example: examples/spring-boot-memory-leak-demo/profiler | Non conversational cursor rule. The Cursor rule will generate 2 scripts. One script designed to run your development with the right JVM flags for profiling and the second scripts will ask few questions about what problem do you want to solve/analyze over one particular PID. **Step 1:** execute `./run-with-profiler.sh --help` **Step2:** execute `./run-jmeter.sh --help` **Step 3:** execute `./profiler/scripts/java-profile.sh` |
82
82
| [162-java-profiling-analyze](.cursor/rules/162-java-profiling-analyze.md) | Analyze results from previous step and generate reports with the analysis results.| **Prompt:** `Analyze the results located in YOUR-DEVELOPMENT/profiler and use the cursor rule @162-java-profiling-analyze` **Note:** Replace YOUR-DEVELOPMENT with your actual development path. Example: examples/spring-boot-memory-leak-demo/profiler | Non conversational cursor rule. |
83
83
| - | Code Refactoring from suggestions from analysis | `Can you apply the solutions from @profiling-solutions-yyyymmdd.md in @/info to mitigate bottlenecks` | Make a refactoring with the notes from the analysis |
84
-
| [164-java-profiling-compare](.cursor/rules/164-java-profiling-compare.md) | Compare results comparing results before and after applying changes in the code | **Prompt:** `Review if the problems was solved with last refactoring using the reports located in @/results with the cursor rule 154-java-profiling-compare` **Note:** Put in the context the folder with the results | This cursor rule is applied automatically without any interaction with the Software engineer. |
84
+
| [164-java-profiling-compare](.cursor/rules/164-java-profiling-compare.md) | Compare results comparing results before and after applying changes in the code | **Prompt:** `Review if the problems was solved with last refactoring using the reports located in @/results with the cursor rule @164-java-profiling-compare` **Note:** Put in the context the folder with the results | This cursor rule is applied automatically without any interaction with the Software engineer. |
Copy file name to clipboardExpand all lines: CURSOR-RULES-JAVA.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ Use the following collection of System prompts of Java to improve your Java deve
63
63
|[161-java-profiling-detect](.cursor/rules/161-java-profiling-detect.md)| Profile your development in runtime and collect evidences to be analyzed later. |**Prompt:**`My Java application has performance issues - help me set up comprehensive profiling process using @161-java-profiling-detect and use the location YOUR-DEVELOPMENT/profiler`**Note:** Replace YOUR-DEVELOPMENT with your actual development path. Example: examples/spring-boot-memory-leak-demo/profiler | Non conversational cursor rule. The Cursor rule will generate 2 scripts. One script designed to run your development with the right JVM flags for profiling and the second scripts will ask few questions about what problem do you want to solve/analyze over one particular PID. **Step 1:** execute `./run-with-profiler.sh --help`**Step2:** execute `./run-jmeter.sh --help`**Step 3:** execute `./profiler/scripts/java-profile.sh`|
64
64
|[162-java-profiling-analyze](.cursor/rules/162-java-profiling-analyze.md)| Analyze results from previous step and generate reports with the analysis results.|**Prompt:**`Analyze the results located in YOUR-DEVELOPMENT/profiler and use the cursor rule @162-java-profiling-analyze`**Note:** Replace YOUR-DEVELOPMENT with your actual development path. Example: examples/spring-boot-memory-leak-demo/profiler | Non conversational cursor rule. |
65
65
| - | Code Refactoring from suggestions from analysis |`Can you apply the solutions from @profiling-solutions-yyyymmdd.md in @/info to mitigate bottlenecks`| Make a refactoring with the notes from the analysis |
66
-
|[164-java-profiling-compare](.cursor/rules/164-java-profiling-compare.md)| Compare results comparing results before and after applying changes in the code |**Prompt:**`Review if the problems was solved with last refactoring using the reports located in @/results with the cursor rule 154-java-profiling-compare`**Note:** Put in the context the folder with the results | This cursor rule is applied automatically without any interaction with the Software engineer. |
66
+
|[164-java-profiling-compare](.cursor/rules/164-java-profiling-compare.md)| Compare results comparing results before and after applying changes in the code |**Prompt:**`Review if the problems was solved with last refactoring using the reports located in @/results with the cursor rule @164-java-profiling-compare`**Note:** Put in the context the folder with the results | This cursor rule is applied automatically without any interaction with the Software engineer. |
<p>Using specialized behaviours like <code>@behaviour-progressive-learning</code> in a Creative way in your repositories could increase <code>the collective ownership</code> and spread easily the <code>Code Standards</code>implemented in the code.</p>
<p>After this design change applied into the different system prompts, you can use them in your <code>Data pipelines</code> for different use cases such as <code>automatic coding</code>, <code>code refactoring</code>, <code>continuous profiling</code>, and more.</p>
@@ -176,7 +178,14 @@ <h2>New UML state machine diagrams for better understanding in complex dependenc
176
178
<h2>Profiling improvements</h2>
177
179
<p>In this release, the script <code>profile-java-process.sh</code>, included in <code>@161-java-profiling-detect</code>, was updated to include the latest release (v4.1) of the popular profiling tool <code>Async-profiler</code>. In addition, the script added new <code>JFR</code> options available in <code>Java 25</code> and earlier.</p>
<p>In recent months, I have been inspired by the work of outstanding engineers in this field: <ahref="https://x.com/forked_franz">Francesco Nigro</a>, <ahref="https://x.com/jerrinot">Jaromir Hamala</a>, and <ahref="https://x.com/parttimen3rd">Johannes Bechberger</a>. I highly recommend following them.</p>
181
+
<p>In recent months, I have been inspired by the work of outstanding engineers in this field: <ahref="https://x.com/forked_franz">Francesco Nigro</a>, <ahref="https://x.com/jerrinot">Jaromir Hamala</a>, <ahref="https://x.com/parttimen3rd">Johannes Bechberger</a> & <ahref="https://x.com/brendangregg">Brendan Gregg</a>. I highly recommend following them.</p>
182
+
<p>If you are interested in the Profiling model <code>Detect, Analyze, Refactor & Compare</code> implemented with the following set of System prompts:</p>
183
+
<ul>
184
+
<li><code>@161-java-profiling-detect</code></li>
185
+
<li><code>@162-java-profiling-analyze</code></li>
186
+
<li><code>@164-java-profiling-compare</code></li>
187
+
</ul>
188
+
<p>You could review the course about <ahref="https://jabrena.github.io/cursor-rules-java/courses/profile-memory-leak/index.html">Detecting memory leaks with System prompts</a>.</p>
180
189
<h2>A new website</h2>
181
190
<p>In recent releases, the project published an article summarizing its evolution and shared it across channels like Twitter, Reddit, and LinkedIn. To unify the source of truth, and leveraging <ahref="https://docs.github.com/es/pages">GitHub Pages</a>, the project now has <ahref="https://jabrena.github.io/cursor-rules-java/index.html">a dedicated website</a>.</p>
182
191
<p>The website includes information about releases, technical articles you can apply in your projects, and courses.</p>
Using specialized behaviours like `@behaviour-progressive-learning` in a Creative way in your repositories could increase `the collective ownership` and spread easily the `Code Standards`implemented in the code.
After this design change applied into the different system prompts, you can use them in your `Data pipelines` for different use cases such as `automatic coding`, `code refactoring`, `continuous profiling`, and more.
In recent months, I have been inspired by the work of outstanding engineers in this field: [Francesco Nigro](https://x.com/forked_franz), [Jaromir Hamala](https://x.com/jerrinot), and [Johannes Bechberger](https://x.com/parttimen3rd). I highly recommend following them.
139
+
In recent months, I have been inspired by the work of outstanding engineers in this field: [Francesco Nigro](https://x.com/forked_franz), [Jaromir Hamala](https://x.com/jerrinot), [Johannes Bechberger](https://x.com/parttimen3rd) & [Brendan Gregg](https://x.com/brendangregg). I highly recommend following them.
140
+
141
+
If you are interested in the Profiling model `Detect, Analyze, Refactor & Compare` implemented with the following set of System prompts:
142
+
143
+
- `@161-java-profiling-detect`
144
+
- `@162-java-profiling-analyze`
145
+
- `@164-java-profiling-compare`
146
+
147
+
You could review the course about [Detecting memory leaks with System prompts](https://jabrena.github.io/cursor-rules-java/courses/profile-memory-leak/index.html).
Copy file name to clipboardExpand all lines: system-prompts-generator/src/main/resources/fragments/java-cursor-rules-list-template.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ Use the following collection of System prompts of Java to improve your Java deve
64
64
|[161-java-profiling-detect](.cursor/rules/161-java-profiling-detect.md)| Profile your development in runtime and collect evidences to be analyzed later. |**Prompt:**`My Java application has performance issues - help me set up comprehensive profiling process using @161-java-profiling-detect and use the location YOUR-DEVELOPMENT/profiler`**Note:** Replace YOUR-DEVELOPMENT with your actual development path. Example: examples/spring-boot-memory-leak-demo/profiler | Non conversational cursor rule. The Cursor rule will generate 2 scripts. One script designed to run your development with the right JVM flags for profiling and the second scripts will ask few questions about what problem do you want to solve/analyze over one particular PID. **Step 1:** execute `./run-with-profiler.sh --help`**Step2:** execute `./run-jmeter.sh --help`**Step 3:** execute `./profiler/scripts/java-profile.sh`|
65
65
|[162-java-profiling-analyze](.cursor/rules/162-java-profiling-analyze.md)| Analyze results from previous step and generate reports with the analysis results.|**Prompt:**`Analyze the results located in YOUR-DEVELOPMENT/profiler and use the cursor rule @162-java-profiling-analyze`**Note:** Replace YOUR-DEVELOPMENT with your actual development path. Example: examples/spring-boot-memory-leak-demo/profiler | Non conversational cursor rule. |
66
66
| - | Code Refactoring from suggestions from analysis |`Can you apply the solutions from @profiling-solutions-yyyymmdd.md in @/info to mitigate bottlenecks`| Make a refactoring with the notes from the analysis |
67
-
|[164-java-profiling-compare](.cursor/rules/164-java-profiling-compare.md)| Compare results comparing results before and after applying changes in the code |**Prompt:**`Review if the problems was solved with last refactoring using the reports located in @/results with the cursor rule 154-java-profiling-compare`**Note:** Put in the context the folder with the results | This cursor rule is applied automatically without any interaction with the Software engineer. |
67
+
|[164-java-profiling-compare](.cursor/rules/164-java-profiling-compare.md)| Compare results comparing results before and after applying changes in the code |**Prompt:**`Review if the problems was solved with last refactoring using the reports located in @/results with the cursor rule @164-java-profiling-compare`**Note:** Put in the context the folder with the results | This cursor rule is applied automatically without any interaction with the Software engineer. |
0 commit comments