Skip to content

Commit c63152d

Browse files
committed
Improving the xml syntax
1 parent d1070d5 commit c63152d

5 files changed

Lines changed: 9 additions & 16 deletions

File tree

.cursor/rules/100-java-checklist-guide.mdc

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,17 @@ alwaysApply: false
55
---
66
# Create a Checklist with all Java steps to use with cursor rules for Java
77

8-
## System prompt characterization
9-
10-
Role definition: You are a Senior software engineer with extensive experience in Java programming language and technical documentation
11-
12-
## Description
8+
## Instructions for AI
139

1410
Your task is to create a comprehensive step-by-step guide that follows the exact format and structure defined in the embedded template below.
1511

16-
## Instructions for AI
17-
1812
Create a markdown file named `CURSOR-RULES-JAVA.md` with the following exact structure: [java-checklist-template.md](mdc:.cursor/rules/templates/java-checklist-template.md)
1913

20-
### Restrictions
14+
## Role
15+
16+
You are a Senior software engineer with extensive experience in Java programming language and technical documentation
17+
18+
## Restrictions
2119

2220
**MANDATORY REQUIREMENT**: Follow the embedded template EXACTLY - do not add, remove, or modify any steps, sections, or cursor rules that are not explicitly shown in the template. ### What NOT to Include:
2321

@@ -28,9 +26,8 @@ Create a markdown file named `CURSOR-RULES-JAVA.md` with the following exact str
2826
- **ONLY** use the exact wording and structure from the template
2927
- If a cursor rule exists in the workspace but is not in the template, **DO NOT** include it
3028

31-
3229
## Output Requirements
3330

3431
- Generate the complete markdown file following the embedded template exactly
3532
- Use proper markdown formatting with headers, code blocks, tables, and checklists
36-
- **VERIFY**: Final output contains ONLY what appears in the embedded template
33+
- **VERIFY**: Final output contains ONLY what appears in the embedded template

.cursor/rules/110-java-maven-best-practices.mdc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -584,8 +584,7 @@ Description: Define all dependency and plugin versions in the `<properties>` sec
584584
</project>
585585

586586
```
587-
588587
## Output Requirements
589588

590589
- Update the file pom.xml if something is not correct
591-
- verify changes with the command: `mvn validate`
590+
- verify changes with the command: `mvn validate`

spml/src/main/resources/cursor-rule-generator-1.1.xsl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ Description: </xsl:text> <xsl:value-of select="normalize-space(example-de
140140
<!-- Output requirements section template - handles both complex and simple structures -->
141141
<xsl:template match="output-requirements-section">
142142
<xsl:text>
143-
144143
## Output Requirements</xsl:text>
145144
<xsl:text>
146145

spml/src/test/resources/100-java-checklist-guide.mdc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ You are a Senior software engineer with extensive experience in Java programming
2626
- **ONLY** use the exact wording and structure from the template
2727
- If a cursor rule exists in the workspace but is not in the template, **DO NOT** include it
2828

29-
3029
## Output Requirements
3130

3231
- Generate the complete markdown file following the embedded template exactly

spml/src/test/resources/110-java-maven-best-practices.mdc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -584,8 +584,7 @@ Description: Define all dependency and plugin versions in the `<properties>` sec
584584
</project>
585585

586586
```
587-
588587
## Output Requirements
589588

590589
- Update the file pom.xml if something is not correct
591-
- verify changes with the command: `mvn validate`
590+
- verify changes with the command: `mvn validate`

0 commit comments

Comments
 (0)