Skip to content

Commit ab0116b

Browse files
committed
fix(skill): Improving Skill description
1 parent 9d8c173 commit ab0116b

101 files changed

Lines changed: 131 additions & 128 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

documentation/GETTING-STARTED-SKILLS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,8 @@ Extract Skills in a directory compatible with your AI Tool like Cursor, Claude C
6565
./mvnw skillsjars:extract -Ddir=.claude/skills
6666
./mvnw skillsjars:extract -Ddir=.github/skills
6767
```
68+
69+
### Using Skill portals
70+
71+
- https://www.awesomeskills.dev/en/skill/jabrena-cursor-rules-java
72+
- https://shyft.ai/skills/cursor-rules-java

skills-generator/src/main/java/info/jab/pml/SkillsGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*/
2626
public final class SkillsGenerator {
2727

28-
private static final String PROJECT_TAG = " Part of the skills-for-java project";
28+
private static final String PROJECT_TAG = " Part of cursor-rules-java project";
2929
private static final String LICENSE_FIELD = "license: Apache-2.0";
3030

3131
private final SkillReferenceGenerator cursorRulesGenerator;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<author>Juan Antonio Breña Moral</author>
77
<version>0.15.0-SNAPSHOT</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 INVENTORY-SKILLS-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 INVENTORY-SKILLS-JAVA.md in the project root. This should trigger for requests such as Create Java system prompts checklist; Generate INVENTORY-SKILLS-JAVA.md; Use @001-skills-inventory.</description>
1010
</metadata>
1111

1212
<title>Create a Checklist with all Java steps to use with system prompts for Java</title>

skills-generator/src/main/resources/skill-indexes/002-skill.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<author>Juan Antonio Breña Moral</author>
77
<version>0.15.0-SNAPSHOT</version>
88
<license>Apache-2.0</license>
9-
<description>Use when you need to generate a checklist document with embedded agents inventory, following the embedded template exactly and producing INVENTORY-AGENTS-JAVA.md in the project root.</description>
9+
<description>Use when you need to generate a checklist document with embedded agents inventory, following the embedded template exactly and producing INVENTORY-AGENTS-JAVA.md in the project root. This should trigger for requests such as Create embedded agents inventory checklist; Generate INVENTORY-AGENTS-JAVA.md; Use @002-agents-inventory.</description>
1010
</metadata>
1111

1212
<title>Create a Checklist with embedded agents inventory for Java</title>

skills-generator/src/main/resources/skill-indexes/003-skill.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<author>Juan Antonio Breña Moral</author>
88
<version>0.15.0-SNAPSHOT</version>
99
<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>
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. This should trigger for requests such as Install embedded agents; Bootstrap .cursor/agents; Bootstrap .claude/agents; Copy robot agents.</description>
1111
</metadata>
1212

1313
<title>Embedded agents installer</title>

skills-generator/src/main/resources/skill-indexes/012-skill.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ Guide the agent to systematically gather information and generate a comprehensiv
7070
<step-content>Close with actionable next steps for story breakdown, planning, and epic tracking.</step-content>
7171
</step>
7272
</steps>
73-
</prompt>
73+
</prompt>

skills-generator/src/main/resources/skill-indexes/013-skill.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<author>Juan Antonio Breña Moral</author>
88
<version>0.15.0-SNAPSHOT</version>
99
<license>Apache-2.0</license>
10-
<description>Guides the creation of detailed agile feature documentation from an existing epic. Use when the user wants to split an epic into feature files, derive features with scope and acceptance criteria, or plan feature documentation for stakeholders or engineering.</description>
10+
<description>Guides the creation of detailed agile feature documentation from an existing epic. Use when the user wants to split an epic into feature files, derive features with scope and acceptance criteria, or plan feature documentation for stakeholders or engineering. This should trigger for requests such as Create features from an epic; Split epic into features; Feature files from epic; Derive features from epic.</description>
1111
</metadata>
1212

1313
<title>Create Agile Features from an Epic</title>

skills-generator/src/main/resources/skill-indexes/014-skill.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<author>Juan Antonio Breña Moral</author>
88
<version>0.15.0-SNAPSHOT</version>
99
<license>Apache-2.0</license>
10-
<description>Guides the creation of agile user stories and Gherkin feature files. Use when the user wants to create a user story, write acceptance criteria, define Gherkin scenarios, or author BDD feature files.</description>
10+
<description>Guides the creation of agile user stories and Gherkin feature files. Use when the user wants to create a user story, write acceptance criteria, define Gherkin scenarios, or author BDD feature files. This should trigger for requests such as Create a user story; Write a user story; I need to write a user story.</description>
1111
</metadata>
1212

1313
<title>Create Agile User Stories and Gherkin Feature Files</title>

skills-generator/src/main/resources/skill-indexes/030-skill.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<author>Juan Antonio Breña Moral</author>
88
<version>0.15.0-SNAPSHOT</version>
99
<license>Apache-2.0</license>
10-
<description>Use when you need to generate Architecture Decision Records (ADRs) for a Java project through an interactive, conversational process that systematically gathers context, stakeholders, options, and outcomes to produce well-structured ADR documents.</description>
10+
<description>Use when you need to generate Architecture Decision Records (ADRs) for a Java project through an interactive, conversational process that systematically gathers context, stakeholders, options, and outcomes to produce well-structured ADR documents. This should trigger for requests such as Generate ADR; Create Architecture Decision Record; Document architecture decision; Architecture Decision Record for Java.</description>
1111
</metadata>
1212

1313
<title>Java ADR Generator with interactive conversational approach</title>

skills-generator/src/main/resources/skill-indexes/031-skill.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<author>Juan Antonio Breña Moral</author>
88
<version>0.15.0-SNAPSHOT</version>
99
<license>Apache-2.0</license>
10-
<description>Facilitates conversational discovery to create Architectural Decision Records (ADRs) for functional requirements covering CLI, REST/HTTP APIs, or both. Use when the user wants to document command-line or HTTP service architecture, capture functional requirements, create ADRs for CLI or API projects, or design interfaces with documented decisions.</description>
10+
<description>Facilitates conversational discovery to create Architectural Decision Records (ADRs) for functional requirements covering CLI, REST/HTTP APIs, or both. Use when the user wants to document command-line or HTTP service architecture, capture functional requirements, create ADRs for CLI or API projects, or design interfaces with documented decisions. This should trigger for requests such as Create ADR for functional requirements; Document functional requirements; Capture functional requirements; Generate functional requirements in an ADR.</description>
1111
</metadata>
1212

1313
<title>Create ADRs for Functional Requirements (CLI and/or REST API)</title>
@@ -30,8 +30,8 @@ Guide stakeholders through a structured conversation to uncover and document tec
3030
<constraint>**MANDATORY**: Run `date` before starting to get accurate timestamps for the ADR</constraint>
3131
<constraint>**MUST**: Read the reference template fresh—do not use cached questions</constraint>
3232
<constraint>**MUST**: Ask one or two questions at a time; never all at once</constraint>
33-
<constraint>**MUST**: Validate summary with user ("Does this accurately capture your requirements?") before proposing ADR creation</constraint>
34-
<constraint>**MUST**: Wait for user to confirm "proceed" before generating the ADR</constraint>
33+
<constraint>**MUST**: Validate summary with user (Does this accurately capture your requirements?) before proposing ADR creation</constraint>
34+
<constraint>**MUST**: Wait for user to confirm proceed before generating the ADR</constraint>
3535
</constraint-list>
3636
</constraints>
3737

@@ -65,7 +65,7 @@ Guide stakeholders through a structured conversation to uncover and document tec
6565
</step>
6666
<step number="3">
6767
<step-title>Generate ADR after explicit confirmation</step-title>
68-
<step-content>Only after user confirms "proceed", generate the ADR document and provide concise next steps.</step-content>
68+
<step-content>Only after user confirms proceed, generate the ADR document and provide concise next steps.</step-content>
6969
</step>
7070
</steps>
7171
</prompt>

0 commit comments

Comments
 (0)