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/112-java-maven-documentation.mdc
+14-39Lines changed: 14 additions & 39 deletions
Original file line number
Diff line number
Diff line change
@@ -5,52 +5,27 @@ alwaysApply: false
5
5
---
6
6
# Create README-DEV.md with information about how to use the Maven project
7
7
8
-
## System prompt characterization
8
+
## Role
9
9
10
-
Role definition: You are a Senior software engineer with extensive experience in Java software development
10
+
You are a Senior software engineer with extensive experience in Java software development
11
11
12
-
## Description
12
+
## Instructions for AI
13
13
14
14
When creating a README-DEV.md file for a Maven project, include ONLY the following sections with the specified Maven goals. Do NOT add any additional sections, explanations, or content beyond what is explicitly listed below.
15
15
16
-
## STRICT Structure for README-DEV.md (Template):
16
+
Create a markdown file named `README-DEV.md` with the following exact structure: [java-maven-documentation-template.md](mdc:.cursor/rules/templates/java-maven-documentation-template.md)
17
17
18
-
**IMPORTANT: Include ONLY the content specified below.**
18
+
## Restrictions
19
19
20
-
---
21
-
22
-
# Essential Maven Goals:
23
-
24
-
```bash
25
-
# Analyze dependencies
26
-
./mvnw dependency:tree
27
-
./mvnw dependency:analyze
28
-
./mvnw dependency:resolve
29
-
30
-
./mvnw clean validate -U
31
-
./mvnw buildplan:list-plugin
32
-
./mvnw buildplan:list-phase
33
-
./mvnw help:all-profiles
34
-
./mvnw help:active-profiles
35
-
./mvnw license:third-party-report
36
-
37
-
# Clean the project
38
-
./mvnw clean
39
-
40
-
# Clean and package in one command
41
-
./mvnw clean package
42
-
43
-
# Run integration tests
44
-
./mvnw verify
20
+
**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:
45
21
46
-
# Check for dependency updates
47
-
./mvnw versions:display-property-updates
48
-
./mvnw versions:display-dependency-updates
49
-
./mvnw versions:display-plugin-updates
22
+
- **DO NOT** create additional steps beyond what's shown in the template
23
+
- **DO NOT** expand or elaborate on sections beyond what the template shows
24
+
- **ONLY** use the exact wording and structure from the template
25
+
- If a cursor rule exists in the workspace but is not in the template, **DO NOT** include it
50
26
51
-
# Generate project reports
52
-
./mvnw site
53
-
jwebserver -p 8005 -d "$(pwd)/target/site/"
54
-
```
27
+
## Output Requirements
55
28
56
-
**END OF TEMPLATE - DO NOT ADD ANYTHING BEYOND THIS POINT**
29
+
- Generate the complete markdown file following the embedded template exactly
30
+
- Use proper markdown formatting with headers, code blocks, tables, and checklists
31
+
- **VERIFY**: Final output contains ONLY what appears in the embedded template
<description>Create README-DEV.md with information about how to use the Maven project</description>
7
-
<globs>pom.xml</globs>
8
-
<always-apply>false</always-apply>
7
+
<cursor-ai>
8
+
<description>Create README-DEV.md with information about how to use the Maven project</description>
9
+
<globs>pom.xml</globs>
10
+
<always-apply>false</always-apply>
11
+
</cursor-ai>
9
12
<tags>
10
13
<tag>maven</tag>
11
14
<tag>java</tag>
12
15
<tag>documentation</tag>
13
16
</tags>
14
17
<version>0.8.0</version>
15
-
</metadata>
16
-
17
-
<header>
18
18
<title>Create README-DEV.md with information about how to use the Maven project</title>
19
-
</header>
19
+
</metadata>
20
20
21
-
<system-characterization>
22
-
<role-definition>You are a Senior software engineer with extensive experience in Java software development</role-definition>
23
-
</system-characterization>
21
+
<role>You are a Senior software engineer with extensive experience in Java software development</role>
24
22
25
-
<description>
23
+
<goal>
26
24
When creating a README-DEV.md file for a Maven project, include ONLY the following sections with the specified Maven goals. Do NOT add any additional sections, explanations, or content beyond what is explicitly listed below.
27
-
</description>
28
-
29
-
<content-sections>
30
-
<template-sectiontype="configuration">
31
-
<template-header>
32
-
<template-title>STRICT Structure for README-DEV.md (Template)</template-title>
33
-
</template-header>
34
-
<template-description>
35
-
**IMPORTANT: Include ONLY the content specified below.**
36
-
</template-description>
37
-
<template-content>
38
-
<code-blocklanguage="markdown">
39
-
# Essential Maven Goals:
40
-
41
-
```bash
42
-
# Analyze dependencies
43
-
./mvnw dependency:tree
44
-
./mvnw dependency:analyze
45
-
./mvnw dependency:resolve
46
-
47
-
./mvnw clean validate -U
48
-
./mvnw buildplan:list-plugin
49
-
./mvnw buildplan:list-phase
50
-
./mvnw help:all-profiles
51
-
./mvnw help:active-profiles
52
-
./mvnw license:third-party-report
53
-
54
-
# Clean the project
55
-
./mvnw clean
56
-
57
-
# Clean and package in one command
58
-
./mvnw clean package
59
-
60
-
# Run integration tests
61
-
./mvnw verify
62
-
63
-
# Check for dependency updates
64
-
./mvnw versions:display-property-updates
65
-
./mvnw versions:display-dependency-updates
66
-
./mvnw versions:display-plugin-updates
67
-
68
-
# Generate project reports
69
-
./mvnw site
70
-
jwebserver -p 8005 -d "$(pwd)/target/site/"
71
-
```
72
25
73
-
**END OF TEMPLATE - DO NOT ADD ANYTHING BEYOND THIS POINT**
74
-
</code-block>
75
-
</template-content>
76
-
</template-section>
77
-
</content-sections>
78
-
</system-prompt>
26
+
Create a markdown file named `README-DEV.md` with the following exact structure: [java-maven-documentation-template.md](mdc:.cursor/rules/templates/java-maven-documentation-template.md)
27
+
</goal>
28
+
29
+
<restrictions>
30
+
<restrictions-description>**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:</restrictions-description>
31
+
<restriction-list>
32
+
<restriction>**DO NOT** create additional steps beyond what's shown in the template</restriction>
33
+
<restriction>**DO NOT** expand or elaborate on sections beyond what the template shows</restriction>
34
+
<restriction>**ONLY** use the exact wording and structure from the template</restriction>
35
+
<restriction>If a cursor rule exists in the workspace but is not in the template, **DO NOT** include it</restriction>
36
+
</restriction-list>
37
+
</restrictions>
38
+
39
+
<output-requirements-section>
40
+
<output-requirements-list>
41
+
<output-requirements-item>Generate the complete markdown file following the embedded template exactly</output-requirements-item>
42
+
<output-requirements-item>Use proper markdown formatting with headers, code blocks, tables, and checklists</output-requirements-item>
43
+
<output-requirements-item>**VERIFY**: Final output contains ONLY what appears in the embedded template</output-requirements-item>
Copy file name to clipboardExpand all lines: spml/src/test/resources/112-java-maven-documentation.mdc
+14-39Lines changed: 14 additions & 39 deletions
Original file line number
Diff line number
Diff line change
@@ -5,52 +5,27 @@ alwaysApply: false
5
5
---
6
6
# Create README-DEV.md with information about how to use the Maven project
7
7
8
-
## System prompt characterization
8
+
## Role
9
9
10
-
Role definition: You are a Senior software engineer with extensive experience in Java software development
10
+
You are a Senior software engineer with extensive experience in Java software development
11
11
12
-
## Description
12
+
## Instructions for AI
13
13
14
14
When creating a README-DEV.md file for a Maven project, include ONLY the following sections with the specified Maven goals. Do NOT add any additional sections, explanations, or content beyond what is explicitly listed below.
15
15
16
-
## STRICT Structure for README-DEV.md (Template):
16
+
Create a markdown file named `README-DEV.md` with the following exact structure: [java-maven-documentation-template.md](mdc:.cursor/rules/templates/java-maven-documentation-template.md)
17
17
18
-
**IMPORTANT: Include ONLY the content specified below.**
18
+
## Restrictions
19
19
20
-
---
21
-
22
-
# Essential Maven Goals:
23
-
24
-
```bash
25
-
# Analyze dependencies
26
-
./mvnw dependency:tree
27
-
./mvnw dependency:analyze
28
-
./mvnw dependency:resolve
29
-
30
-
./mvnw clean validate -U
31
-
./mvnw buildplan:list-plugin
32
-
./mvnw buildplan:list-phase
33
-
./mvnw help:all-profiles
34
-
./mvnw help:active-profiles
35
-
./mvnw license:third-party-report
36
-
37
-
# Clean the project
38
-
./mvnw clean
39
-
40
-
# Clean and package in one command
41
-
./mvnw clean package
42
-
43
-
# Run integration tests
44
-
./mvnw verify
20
+
**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:
45
21
46
-
# Check for dependency updates
47
-
./mvnw versions:display-property-updates
48
-
./mvnw versions:display-dependency-updates
49
-
./mvnw versions:display-plugin-updates
22
+
- **DO NOT** create additional steps beyond what's shown in the template
23
+
- **DO NOT** expand or elaborate on sections beyond what the template shows
24
+
- **ONLY** use the exact wording and structure from the template
25
+
- If a cursor rule exists in the workspace but is not in the template, **DO NOT** include it
50
26
51
-
# Generate project reports
52
-
./mvnw site
53
-
jwebserver -p 8005 -d "$(pwd)/target/site/"
54
-
```
27
+
## Output Requirements
55
28
56
-
**END OF TEMPLATE - DO NOT ADD ANYTHING BEYOND THIS POINT**
29
+
- Generate the complete markdown file following the embedded template exactly
30
+
- Use proper markdown formatting with headers, code blocks, tables, and checklists
31
+
- **VERIFY**: Final output contains ONLY what appears in the embedded template
0 commit comments