Skip to content

Commit e1b0b0a

Browse files
committed
feat(skills): Improve structure of any SKILL.md with a defined Workflow
1 parent 7a9603e commit e1b0b0a

55 files changed

Lines changed: 657 additions & 0 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/MAINTENANCE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ Can you update the current changelog for 0.15.0 comparing git commits in relatio
5353
# Review Skill registries
5454
https://github.com/jabrena/cursor-rules-java
5555
https://tessl.io/registry/skills/submit
56+
npx tessl skill review ./skills/xxx
5657
cd target && npx skills add jabrena/cursor-rules-java --all --agent cursor && cd ..
5758
```
5859

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ Apply Spring Boot Core guidelines for annotations, bean management, configuratio
4949
</trigger-list>
5050
</triggers>
5151

52+
<steps>
53+
<step number="1"><step-title>Read reference and assess project context</step-title><step-content>Read `references/301-frameworks-spring-boot-core.md` and inspect the current project setup before proposing changes.</step-content></step>
54+
<step number="2"><step-title>Gather scope and decide target improvements</step-title><step-content>Identify requested outcomes, constraints, and the minimum safe set of changes to apply.</step-content></step>
55+
<step number="3"><step-title>Apply framework-aligned changes</step-title><step-content>Implement or refactor configuration/code following the reference patterns and project conventions.</step-content></step>
56+
<step number="4"><step-title>Run verification and report results</step-title><step-content>Execute appropriate build/tests and summarize what changed, what was verified, and any follow-up actions.</step-content></step>
57+
</steps>
58+
5259
<references>
5360
<reference-list>
5461
<reference>references/301-frameworks-spring-boot-core.md</reference>

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ Apply REST API design principles for Spring Boot applications.
5353
</trigger-list>
5454
</triggers>
5555

56+
<steps>
57+
<step number="1"><step-title>Read reference and assess project context</step-title><step-content>Read `references/302-frameworks-spring-boot-rest.md` and inspect the current project setup before proposing changes.</step-content></step>
58+
<step number="2"><step-title>Gather scope and decide target improvements</step-title><step-content>Identify requested outcomes, constraints, and the minimum safe set of changes to apply.</step-content></step>
59+
<step number="3"><step-title>Apply framework-aligned changes</step-title><step-content>Implement or refactor configuration/code following the reference patterns and project conventions.</step-content></step>
60+
<step number="4"><step-title>Run verification and report results</step-title><step-content>Execute appropriate build/tests and summarize what changed, what was verified, and any follow-up actions.</step-content></step>
61+
</steps>
62+
5663
<references>
5764
<reference-list>
5865
<reference>references/302-frameworks-spring-boot-rest.md</reference>

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ Apply Spring JDBC guidelines with JdbcClient as the default; use JdbcTemplate /
5151
</trigger-list>
5252
</triggers>
5353

54+
<steps>
55+
<step number="1"><step-title>Read reference and assess project context</step-title><step-content>Read `references/311-frameworks-spring-jdbc.md` and inspect the current project setup before proposing changes.</step-content></step>
56+
<step number="2"><step-title>Gather scope and decide target improvements</step-title><step-content>Identify requested outcomes, constraints, and the minimum safe set of changes to apply.</step-content></step>
57+
<step number="3"><step-title>Apply framework-aligned changes</step-title><step-content>Implement or refactor configuration/code following the reference patterns and project conventions.</step-content></step>
58+
<step number="4"><step-title>Run verification and report results</step-title><step-content>Execute appropriate build/tests and summarize what changed, what was verified, and any follow-up actions.</step-content></step>
59+
</steps>
60+
5461
<references>
5562
<reference-list>
5663
<reference>references/311-frameworks-spring-jdbc.md</reference>

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ Apply Spring Data JDBC guidelines with Java records.
4646
</trigger-list>
4747
</triggers>
4848

49+
<steps>
50+
<step number="1"><step-title>Read reference and assess project context</step-title><step-content>Read `references/312-frameworks-spring-data-jdbc.md` and inspect the current project setup before proposing changes.</step-content></step>
51+
<step number="2"><step-title>Gather scope and decide target improvements</step-title><step-content>Identify requested outcomes, constraints, and the minimum safe set of changes to apply.</step-content></step>
52+
<step number="3"><step-title>Apply framework-aligned changes</step-title><step-content>Implement or refactor configuration/code following the reference patterns and project conventions.</step-content></step>
53+
<step number="4"><step-title>Run verification and report results</step-title><step-content>Execute appropriate build/tests and summarize what changed, what was verified, and any follow-up actions.</step-content></step>
54+
</steps>
55+
4956
<references>
5057
<reference-list>
5158
<reference>references/312-frameworks-spring-data-jdbc.md</reference>

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ Apply Flyway migration guidelines for Spring Boot.
4242
</trigger-list>
4343
</triggers>
4444

45+
<steps>
46+
<step number="1"><step-title>Read reference and assess project context</step-title><step-content>Read `references/313-frameworks-spring-db-migrations-flyway.md` and inspect the current project setup before proposing changes.</step-content></step>
47+
<step number="2"><step-title>Gather scope and decide target improvements</step-title><step-content>Identify requested outcomes, constraints, and the minimum safe set of changes to apply.</step-content></step>
48+
<step number="3"><step-title>Apply framework-aligned changes</step-title><step-content>Implement or refactor configuration/code following the reference patterns and project conventions.</step-content></step>
49+
<step number="4"><step-title>Run verification and report results</step-title><step-content>Execute appropriate build/tests and summarize what changed, what was verified, and any follow-up actions.</step-content></step>
50+
</steps>
51+
4552
<references>
4653
<reference-list>
4754
<reference>references/313-frameworks-spring-db-migrations-flyway.md</reference>

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ Apply Spring Boot unit testing guidelines with Mockito.
4343
</trigger-list>
4444
</triggers>
4545

46+
<steps>
47+
<step number="1"><step-title>Read reference and assess project context</step-title><step-content>Read `references/321-frameworks-spring-boot-testing-unit-tests.md` and inspect the current project setup before proposing changes.</step-content></step>
48+
<step number="2"><step-title>Gather scope and decide target improvements</step-title><step-content>Identify requested outcomes, constraints, and the minimum safe set of changes to apply.</step-content></step>
49+
<step number="3"><step-title>Apply framework-aligned changes</step-title><step-content>Implement or refactor configuration/code following the reference patterns and project conventions.</step-content></step>
50+
<step number="4"><step-title>Run verification and report results</step-title><step-content>Execute appropriate build/tests and summarize what changed, what was verified, and any follow-up actions.</step-content></step>
51+
</steps>
52+
4653
<references>
4754
<reference-list>
4855
<reference>references/321-frameworks-spring-boot-testing-unit-tests.md</reference>

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ Apply Spring Boot integration testing guidelines for Spring Boot 4.0.x.
4646
</trigger-list>
4747
</triggers>
4848

49+
<steps>
50+
<step number="1"><step-title>Read reference and assess project context</step-title><step-content>Read `references/322-frameworks-spring-boot-testing-integration-tests.md` and inspect the current project setup before proposing changes.</step-content></step>
51+
<step number="2"><step-title>Gather scope and decide target improvements</step-title><step-content>Identify requested outcomes, constraints, and the minimum safe set of changes to apply.</step-content></step>
52+
<step number="3"><step-title>Apply framework-aligned changes</step-title><step-content>Implement or refactor configuration/code following the reference patterns and project conventions.</step-content></step>
53+
<step number="4"><step-title>Run verification and report results</step-title><step-content>Execute appropriate build/tests and summarize what changed, what was verified, and any follow-up actions.</step-content></step>
54+
</steps>
55+
4956
<references>
5057
<reference-list>
5158
<reference>references/322-frameworks-spring-boot-testing-integration-tests.md</reference>

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ Implement acceptance tests from Gherkin feature files in Spring Boot projects. G
4949
</trigger-list>
5050
</triggers>
5151

52+
<steps>
53+
<step number="1"><step-title>Read reference and assess project context</step-title><step-content>Read `references/323-frameworks-spring-boot-testing-acceptance-tests.md` and inspect the current project setup before proposing changes.</step-content></step>
54+
<step number="2"><step-title>Gather scope and decide target improvements</step-title><step-content>Identify requested outcomes, constraints, and the minimum safe set of changes to apply.</step-content></step>
55+
<step number="3"><step-title>Apply framework-aligned changes</step-title><step-content>Implement or refactor configuration/code following the reference patterns and project conventions.</step-content></step>
56+
<step number="4"><step-title>Run verification and report results</step-title><step-content>Execute appropriate build/tests and summarize what changed, what was verified, and any follow-up actions.</step-content></step>
57+
</steps>
58+
5259
<references>
5360
<reference-list>
5461
<reference>references/323-frameworks-spring-boot-testing-acceptance-tests.md</reference>

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ Apply Quarkus core guidelines for CDI beans, configuration, profiles, and lifecy
5353
<trigger>Add virtual-thread configuration or tune CDI lifecycle</trigger>
5454
</trigger-list>
5555
</triggers>
56+
<steps>
57+
<step number="1"><step-title>Read reference and assess project context</step-title><step-content>Read `references/401-frameworks-quarkus-core.md` and inspect the current project setup before proposing changes.</step-content></step>
58+
<step number="2"><step-title>Gather scope and decide target improvements</step-title><step-content>Identify requested outcomes, constraints, and the minimum safe set of changes to apply.</step-content></step>
59+
<step number="3"><step-title>Apply framework-aligned changes</step-title><step-content>Implement or refactor configuration/code following the reference patterns and project conventions.</step-content></step>
60+
<step number="4"><step-title>Run verification and report results</step-title><step-content>Execute appropriate build/tests and summarize what changed, what was verified, and any follow-up actions.</step-content></step>
61+
</steps>
5662

5763
<references>
5864
<reference-list>

0 commit comments

Comments
 (0)