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: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,22 +57,22 @@ Using the Cursor rules is straightforward: simply `drag and drop` the cursor rul
57
57
|-------------|-------------|--------|-------|
58
58
|[141-java-refactoring-with-modern-features](.cursor/rules/141-java-refactoring-with-modern-features.mdc)| Add Modern Java Features |**Prompt:**`Refactor my code to use modern Java features using the cursor rule @141-java-refactoring-with-modern-features`**Note:** Add a class or package which consider that it could bye improved by the cursor rule. | Non conversational cursor rule. |
59
59
|[142-java-functional-programming](.cursor/rules/142-java-functional-programming.mdc)| Functional Programming |**Prompt:**`Refactor my code to use functional programming using the cursor rule @142-java-functional-programming`**Note:** Add a class or package which consider that it could bye improved by the cursor rule. | Non conversational cursor rule. |
60
-
|[143-java-data-oriented-programming](.cursor/rules/143-java-data-oriented-programming.mdc)| Data Oriented Programming |**Prompt:**`Refactor my code to use data oriented programming using the cursor rule @143-java-data-oriented-programming`**Note:** Add a class or package which consider that it could bye improved by the cursor rule. | Non conversational cursor rule. |
60
+
|[143-java-data-oriented-programming](.cursor/rules/143-java-data-oriented-programming.mdc)| Data Oriented Programming |**Prompt:**`Refactor my code to use data oriented programming using the cursor rule @143-java-data-oriented-programming`**Note:** Add a class or package which consider that it could bye improved by the cursor rule. | Non conversational cursor rule. |
61
61
62
62
### Performance rule (Jmeter)
63
63
64
64
| Activity | Description | Prompt | Notes |
65
65
|----------|------|--------|-------|
66
-
|[151-java-performance-jmeter](.cursor/rules/151-java-performance-jmeter.mdc)| Run a peformance test with Jmeter |`Add JMeter performance testing to this project using @151-java-performance-jmeter.mdc`| You could ask the model to create a JMeter based on a RestController/Resource. Example: `Can you create a Jmeter file based on the restcontroller in the path src/test/resources/jmeter/load-test.jmx?`|
66
+
|[151-java-performance-jmeter](.cursor/rules/151-java-performance-jmeter.mdc)| Run a peformance test with Jmeter |**Prompt:**`Add JMeter performance testing to this project using @151-java-performance-jmeter.mdc`**Note:** You could ask the model to create a JMeter based on a RestController/Resource. Example: `Can you create a Jmeter file based on the restcontroller in the path src/test/resources/jmeter/load-test.jmx?`| Non conversational cursor rule. If you create a Jmeter file with the model, review the generation, sometimes it is necessary to hammer a bit.|
67
67
68
68
### Profiling rules (Async profiler)
69
69
70
70
| Activity | Description | Prompt | Notes |
71
71
|----------|-------------|--------|-------|
72
-
|[161-java-profiling-detect](.cursor/rules/161-java-profiling-detect.mdc)| Measure problems |`My Java application has performance issues - help me set up comprehensive profiling process using @161-java-profiling-detect.mdc and use the location YOUR-DEVELOPMENT/profiler`| Replace YOUR-DEVELOPMENT with your actual development path. Example: examples/spring-boot-memory-leak-demo/profiler |
73
-
|[162-java-profiling-analyze](.cursor/rules/162-java-profiling-analyze.mdc)| Analyze results |`Analyze the results located in YOUR-DEVELOPMENT/profiler and use the cursor rule @162-java-profiling-analyze`| Replace YOUR-DEVELOPMENT with your actual development path. Example: examples/spring-boot-memory-leak-demo/profiler |
72
+
|[161-java-profiling-detect](.cursor/rules/161-java-profiling-detect.mdc)| Measure problems |**Prompt:**`My Java application has performance issues - help me set up comprehensive profiling process using @161-java-profiling-detect.mdc 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. |
73
+
|[162-java-profiling-analyze](.cursor/rules/162-java-profiling-analyze.mdc)| Analyze results from previous step generating reports with the analysis.|**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.|
74
74
| - | Code Refactoring |`Can you apply the solutions from @profiling-solutions-yyyymmdd.md in @/info to mitigate bottlenecks`| Make a refactoring with the notes from the analysis |
75
-
|[164-java-profiling-compare](.cursor/rules/164-java-profiling-compare.mdc)| Analyze results |`Review if the problems was solved with last refactoring using the reports located in @/results with the cursor rule 154-java-profiling-compare.mdc`|Put in the context the folder with the results |
75
+
|[164-java-profiling-compare](.cursor/rules/164-java-profiling-compare.mdc)| Analyze results |**Prompt:**`Review if the problems was solved with last refactoring using the reports located in @/results with the cursor rule 154-java-profiling-compare.mdc`**Note:**Put in the context the folder with the results| Non conversational cursor rule.|
0 commit comments