Skip to content

Commit 79fe95d

Browse files
committed
feat(skills): add inventory skills and AGENTS-JAVA.md output
Made-with: Cursor
1 parent 650ef3a commit 79fe95d

File tree

18 files changed

+419
-45
lines changed

18 files changed

+419
-45
lines changed

AGENTS-JAVA.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Embedded Agents Inventory
2+
3+
## Goal
4+
5+
Provide a quick checklist of the embedded agents available for installation in this repository.
6+
7+
## Embedded agents
8+
9+
| Agent | Primary purpose |
10+
| --- | --- |
11+
| `robot-business-analyst` | Analyze requirements, user stories, and implementation plans. |
12+
| `robot-coordinator` | Coordinate Java enterprise implementation flow across specialized coders. |
13+
| `robot-java-coder` | Implement framework-agnostic Java changes and refactors. |
14+
| `robot-micronaut-coder` | Implement Micronaut-specific code and architecture changes. |
15+
| `robot-quarkus-coder` | Implement Quarkus-specific code and architecture changes. |
16+
| `robot-spring-boot-coder` | Implement Spring Boot-specific code and architecture changes. |
17+
18+
## Installation target options
19+
20+
- `.cursor/agents`
21+
- `.claude/agents`

SKILLS-JAVA.md

Lines changed: 147 additions & 0 deletions
Large diffs are not rendered by default.

skills-generator/src/main/resources/skill-inventory.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[
22
{"id": "001", "xml": true},
33
{"id": "002", "xml": true},
4+
{"id": "003", "xml": true},
45
{"id": "012", "xml": true},
56
{"id": "013", "xml": true},
67
{"id": "014", "xml": true},

skills-generator/src/main/resources/skills/001-skill.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<prompt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:noNamespaceSchemaLocation="https://jabrena.github.io/pml/schemas/0.7.0/pml.xsd"
4-
id="001-skills">
4+
id="001-skills-inventory">
55
<metadata>
66
<author>Juan Antonio Breña Moral</author>
77
<version>0.14.0</version>
88
<license>Apache-2.0</license>
9-
<description>Use when you need to generate a checklist document with Java system prompts, following the embedded template exactly and producing SYSTEM-PROMPTS-JAVA.md in the project root.</description>
9+
<description>Use when you need to generate a checklist document with Java system prompts, following the embedded template exactly and producing SKILLS-JAVA.md in the project root.</description>
1010
</metadata>
1111

1212
<title>Create a Checklist with all Java steps to use with system prompts for Java</title>
@@ -16,7 +16,7 @@ Create a comprehensive step-by-step checklist document for Java system prompts b
1616
**What is covered in this Skill?**
1717
1818
- Exact-template checklist generation
19-
- Output file creation as `SYSTEM-PROMPTS-JAVA.md`
19+
- Output file creation as `SKILLS-JAVA.md`
2020
- Strict adherence to listed steps and cursor rules
2121
]]></goal>
2222

@@ -32,14 +32,14 @@ Create a comprehensive step-by-step checklist document for Java system prompts b
3232
<triggers>
3333
<trigger-list>
3434
<trigger>Create Java system prompts checklist</trigger>
35-
<trigger>Generate SYSTEM-PROMPTS-JAVA.md</trigger>
36-
<trigger>Use @001-skills</trigger>
35+
<trigger>Generate SKILLS-JAVA.md</trigger>
36+
<trigger>Use @001-skills-inventory</trigger>
3737
</trigger-list>
3838
</triggers>
3939

4040
<references>
4141
<reference-list>
42-
<reference>references/001-skills.md</reference>
42+
<reference>references/001-skills-inventory.md</reference>
4343
</reference-list>
4444
</references>
4545
</prompt>
Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,45 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<prompt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:noNamespaceSchemaLocation="https://jabrena.github.io/pml/schemas/0.7.0/pml.xsd"
4-
id="002-agents"
5-
interactive="true">
4+
id="002-agents-inventory">
65
<metadata>
76
<author>Juan Antonio Breña Moral</author>
87
<version>0.14.0</version>
98
<license>Apache-2.0</license>
10-
<description>Use when you need to install the embedded robot agents into either .cursor/agents or .claude/agents, selecting the destination interactively and copying the embedded agent definitions from project assets.</description>
9+
<description>Use when you need to generate a checklist document with embedded agents inventory, following the embedded template exactly and producing AGENTS-JAVA.md in the project root.</description>
1110
</metadata>
1211

13-
<title>Embedded agents installer</title>
12+
<title>Create a Checklist with embedded agents inventory for Java</title>
1413
<goal><![CDATA[
15-
Install a predefined set of embedded agent definitions from repository assets into a user-selected target directory. This is an interactive skill.
14+
Create a comprehensive checklist document for embedded agents inventory by following the embedded template exactly.
1615
1716
**What is covered in this Skill?**
1817
19-
- Interactive target selection (`.cursor/agents` or `.claude/agents`)
20-
- Deterministic copy of the embedded six-agent bundle
21-
- Idempotent re-installation with clear overwrite reporting
18+
- Exact-template checklist generation
19+
- Output file creation as `AGENTS-JAVA.md`
20+
- Strict adherence to listed sections and content
2221
]]></goal>
2322

2423
<constraints>
25-
<constraints-description>This skill installs only the embedded robot agents bundle and must ask for destination before writing files.</constraints-description>
24+
<constraints-description>Follow the template exactly without adding or removing sections, rows, or details.</constraints-description>
2625
<constraint-list>
27-
<constraint>**MUST** ask the user to choose `.cursor/agents` or `.claude/agents` before installing</constraint>
28-
<constraint>**MUST** copy all embedded files from `skills-generator/src/main/resources/system-prompts/assets/agents/`</constraint>
29-
<constraint>**MUST** preserve file names and report overwrite actions</constraint>
26+
<constraint>**DO NOT** create additional rows beyond what the template defines</constraint>
27+
<constraint>**DO NOT** add agent entries not explicitly listed in the template</constraint>
28+
<constraint>**ONLY** use exact wording and structure from the embedded template</constraint>
3029
</constraint-list>
3130
</constraints>
3231

3332
<triggers>
3433
<trigger-list>
35-
<trigger>Install embedded agents</trigger>
36-
<trigger>Bootstrap .cursor/agents</trigger>
37-
<trigger>Bootstrap .claude/agents</trigger>
38-
<trigger>Copy robot agents</trigger>
34+
<trigger>Create embedded agents inventory checklist</trigger>
35+
<trigger>Generate AGENTS-JAVA.md</trigger>
36+
<trigger>Use @002-agents-inventory</trigger>
3937
</trigger-list>
4038
</triggers>
4139

4240
<references>
4341
<reference-list>
44-
<reference>references/002-agents.md</reference>
42+
<reference>references/002-agents-inventory.md</reference>
4543
</reference-list>
4644
</references>
4745
</prompt>
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<prompt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://jabrena.github.io/pml/schemas/0.7.0/pml.xsd"
4+
id="003-agents-installation"
5+
interactive="true">
6+
<metadata>
7+
<author>Juan Antonio Breña Moral</author>
8+
<version>0.14.0</version>
9+
<license>Apache-2.0</license>
10+
<description>Use when you need to install the embedded robot agents into either .cursor/agents or .claude/agents, selecting the destination interactively and copying the embedded agent definitions from project assets.</description>
11+
</metadata>
12+
13+
<title>Embedded agents installer</title>
14+
<goal><![CDATA[
15+
Install a predefined set of embedded agent definitions from repository assets into a user-selected target directory. This is an interactive skill.
16+
17+
**What is covered in this Skill?**
18+
19+
- Interactive target selection (`.cursor/agents` or `.claude/agents`)
20+
- Deterministic copy of the embedded six-agent bundle
21+
- Idempotent re-installation with clear overwrite reporting
22+
]]></goal>
23+
24+
<constraints>
25+
<constraints-description>This skill installs only the embedded robot agents bundle and must ask for destination before writing files.</constraints-description>
26+
<constraint-list>
27+
<constraint>**MUST** ask the user to choose `.cursor/agents` or `.claude/agents` before installing</constraint>
28+
<constraint>**MUST** copy all embedded files from `skills-generator/src/main/resources/system-prompts/assets/agents/`</constraint>
29+
<constraint>**MUST** preserve file names and report overwrite actions</constraint>
30+
</constraint-list>
31+
</constraints>
32+
33+
<triggers>
34+
<trigger-list>
35+
<trigger>Install embedded agents</trigger>
36+
<trigger>Bootstrap .cursor/agents</trigger>
37+
<trigger>Bootstrap .claude/agents</trigger>
38+
<trigger>Copy robot agents</trigger>
39+
</trigger-list>
40+
</triggers>
41+
42+
<references>
43+
<reference-list>
44+
<reference>references/003-agents-installation.md</reference>
45+
</reference-list>
46+
</references>
47+
</prompt>

skills-generator/src/main/resources/system-prompt-inventory.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[
2-
{"name": "001-skills"},
3-
{"name": "002-agents"},
2+
{"name": "001-skills-inventory"},
3+
{"name": "002-agents-inventory"},
4+
{"name": "003-agents-installation"},
45
{"name": "012-agile-epic"},
56
{"name": "013-agile-feature"},
67
{"name": "014-agile-user-story"},

skills-generator/src/main/resources/system-prompts/001-skills.xml renamed to skills-generator/src/main/resources/system-prompts/001-skills-inventory.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
<version>0.14.0</version>
77
<license>Apache-2.0</license>
88
<title>Create a Checklist with all Java steps to use with system prompts for Java</title>
9-
<description>Use when you need to generate a checklist document with Java system prompts, following the embedded template exactly and producing SYSTEM-PROMPTS-JAVA.md in the project root.</description>
9+
<description>Use when you need to generate a checklist document with Java system prompts, following the embedded template exactly and producing SKILLS-JAVA.md in the project root.</description>
1010
</metadata>
1111

1212
<role>You are a Senior software engineer with extensive experience in Java software development</role>
1313

1414
<goal> Your task is to create a comprehensive step-by-step guide that follows the exact format
1515
and structure defined in the embedded template below. Create a markdown file named
16-
`SYSTEM-PROMPTS-JAVA.md` with the following content:
16+
`SKILLS-JAVA.md` with the following content:
1717

1818
```markdown
1919
<xi:include href="assets/java-system-prompts-java-list-template.md" parse="text" />
@@ -39,10 +39,10 @@
3939
<output-format>
4040
<output-format-list>
4141
<output-format-item>**File Creation**: Generate the complete markdown file named
42-
`SYSTEM-PROMPTS-JAVA.md` in the project root directory</output-format-item>
42+
`SKILLS-JAVA.md` in the project root directory</output-format-item>
4343
<output-format-item>**Template Adherence**: Follow the embedded template structure and
4444
content exactly - no additions, modifications, or omissions</output-format-item>
45-
<output-format-item>**File Handling**: If `SYSTEM-PROMPTS-JAVA.md` already exists,
45+
<output-format-item>**File Handling**: If `SKILLS-JAVA.md` already exists,
4646
overwrite it completely with the new generated content</output-format-item>
4747
</output-format-list>
4848
</output-format>
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<prompt xmlns:xi="http://www.w3.org/2001/XInclude">
3+
4+
<metadata>
5+
<author>Juan Antonio Breña Moral</author>
6+
<version>0.14.0</version>
7+
<license>Apache-2.0</license>
8+
<title>Create a Checklist with embedded agents inventory for Java</title>
9+
<description>Use when you need to generate a checklist document with embedded agents inventory, following the embedded template exactly and producing AGENTS-JAVA.md in the project root.</description>
10+
</metadata>
11+
12+
<role>You are a Senior software engineer with extensive experience in Java software development</role>
13+
14+
<goal> Your task is to create a comprehensive checklist that follows the exact format
15+
and structure defined in the embedded template below. Create a markdown file named
16+
`AGENTS-JAVA.md` with the following content:
17+
18+
```markdown
19+
<xi:include href="assets/java-agents-inventory-template.md" parse="text" />
20+
```
21+
</goal>
22+
23+
<constraints>
24+
<constraints-description>**MANDATORY REQUIREMENT**: Follow the embedded template EXACTLY -
25+
do not add, remove, or modify any sections, rows, or agent entries not explicitly shown in the template.</constraints-description>
26+
<constraint-list>
27+
<constraint>**DO NOT** create additional rows beyond what's shown in the template</constraint>
28+
<constraint>**DO NOT** add agent entries that are not explicitly listed in the embedded template</constraint>
29+
<constraint>**DO NOT** expand or elaborate on sections beyond what the template shows</constraint>
30+
<constraint>**ONLY** use the exact wording and structure from the template</constraint>
31+
</constraint-list>
32+
</constraints>
33+
34+
<output-format>
35+
<output-format-list>
36+
<output-format-item>**File Creation**: Generate the complete markdown file named
37+
`AGENTS-JAVA.md` in the project root directory</output-format-item>
38+
<output-format-item>**Template Adherence**: Follow the embedded template structure and
39+
content exactly - no additions, modifications, or omissions</output-format-item>
40+
<output-format-item>**File Handling**: If `AGENTS-JAVA.md` already exists,
41+
overwrite it completely with the new generated content</output-format-item>
42+
</output-format-list>
43+
</output-format>
44+
</prompt>

skills-generator/src/main/resources/system-prompts/002-agents.xml renamed to skills-generator/src/main/resources/system-prompts/003-agents-installation.xml

File renamed without changes.

0 commit comments

Comments
 (0)