Skip to content

Commit dbc8cc5

Browse files
authored
fix(skill): Moved Fuzzed testing to technologies (#648)
1 parent 844d91f commit dbc8cc5

10 files changed

Lines changed: 16 additions & 18 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
{"id": "131", "xml": true},
2727
{"id": "132", "xml": true},
2828
{"id": "133", "xml": true},
29-
{"id": "134", "xml": true},
3029
{"id": "141", "xml": true},
3130
{"id": "142", "xml": true},
3231
{"id": "143", "xml": true},
@@ -63,5 +62,6 @@
6362
{"id": "522", "xml": true},
6463
{"id": "523", "xml": true},
6564
{"id": "701", "xml": true},
66-
{"id": "702", "xml": true}
65+
{"id": "702", "xml": true},
66+
{"id": "703", "xml": true}
6767
]

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ Help teams produce maintainable **OpenAPI 3.x** contracts that stay aligned with
2020
- Reusable `components` (schemas, parameters, responses, security schemes) and examples
2121
- Validation and CI: spec linting, breaking-change checks, pre-codegen gates
2222
- Security modeling in the contract (schemes, scopes, global vs operation security)
23-
- Clear **delegation** to framework REST skills for runtime and generator-specific work
23+
- Clear boundaries between contract-first design and runtime implementation concerns
2424
25-
**Scope:** Contract-first quality only. For **Spring Boot**, **Quarkus**, or **Micronaut** REST implementation details, use the matching `302`, `402`, or `502` skill. For **CATS fuzz testing** against a contract, use `134-java-testing-fuzzing-testing`.
25+
**Scope:** Contract-first quality only. Focus this skill on OpenAPI design, quality, and governance guidance.
2626
]]></goal>
2727

2828
<constraints>
2929
<constraints-description>Keep recommendations at the OpenAPI layer unless the user explicitly asks for Java framework integration. After editing this repository's XML sources, regenerate skills and verify the build.</constraints-description>
3030
<constraint-list>
3131
<constraint>**MANDATORY**: Run `./mvnw compile` or `mvn compile` before proposing Java or Maven changes in the same change set</constraint>
32-
<constraint>**FRAMEWORK**: Defer OpenAPI Generator goals, controller bindings, and runtime `/openapi` exposure to `@302-frameworks-spring-boot-rest`, `@402-frameworks-quarkus-rest`, or `@502-frameworks-micronaut-rest`</constraint>
33-
<constraint>**FUZZING**: Defer CATS execution and CI fuzz pipelines to `@134-java-testing-fuzzing-testing`</constraint>
32+
<constraint>**FRAMEWORK**: Keep guidance contract-centric; do not prescribe framework-specific controller wiring or runtime exposure details</constraint>
33+
<constraint>**FUZZING**: Keep fuzzing guidance high-level and contract-focused without linking to external skill identifiers</constraint>
3434
<constraint>**MANDATORY**: Regenerate skills with `./mvnw clean install -pl skills-generator` after editing skill or system-prompt XML in this repo</constraint>
3535
<constraint>**VERIFY**: Run `./mvnw clean verify` or `mvn clean verify` before promoting changes</constraint>
3636
</constraint-list>

skills-generator/src/main/resources/skills/134-skill.xml renamed to skills-generator/src/main/resources/skills/703-skill.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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="134-java-testing-fuzzing-testing">
4+
id="703-technologies-fuzzing-testing">
55
<metadata>
66
<author>Juan Antonio Breña Moral</author>
77
<version>0.14.0-SNAPSHOT</version>
@@ -47,7 +47,7 @@ Design and implement contract-driven fuzz testing for Java APIs using CATS to un
4747

4848
<references>
4949
<reference-list>
50-
<reference>references/134-java-testing-fuzzing-testing.md</reference>
50+
<reference>references/703-technologies-fuzzing-testing.md</reference>
5151
</reference-list>
5252
</references>
5353
</prompt>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
{"name": "131-java-testing-unit-testing"},
2828
{"name": "132-java-testing-integration-testing"},
2929
{"name": "133-java-testing-acceptance-tests"},
30-
{"name": "134-java-testing-fuzzing-testing"},
3130
{"name": "141-java-refactoring-with-modern-features"},
3231
{"name": "142-java-functional-programming"},
3332
{"name": "143-java-functional-exception-handling"},
@@ -65,6 +64,7 @@
6564
{"name": "523-frameworks-micronaut-testing-acceptance-tests"},
6665
{"name": "701-technologies-openapi"},
6766
{"name": "702-technologies-wiremock"},
67+
{"name": "703-technologies-fuzzing-testing"},
6868
{"name": "behaviour-consultative-interaction"},
6969
{"name": "behaviour-progressive-learning"},
7070
{"name": "behaviour-article-writer"}

skills-generator/src/main/resources/system-prompts/701-technologies-openapi.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
3. **Describe HTTP** faithfully: stable paths, correct verbs, explicit status codes and error bodies, `operationId`, parameters (path, query, header, cookie), and request/response `content` types.
2020
4. **Security**: declare `securitySchemes` and default/global `security` requirements; avoid silent optional auth where the runtime always enforces it.
2121
5. **Quality gates**: recommend spec linting (e.g. Spectral rulesets), CI validation before codegen, and changelog discipline for breaking vs additive changes.
22-
6. **Delegation**: for runtime stack concerns (Spring MVC, Quarkus REST, Micronaut controllers, framework plugins, OpenAPI Generator options), direct users to `@302-frameworks-spring-boot-rest`, `@402-frameworks-quarkus-rest`, or `@502-frameworks-micronaut-rest`. For **CATS fuzz execution**, use `@134-java-testing-fuzzing-testing`.
2322

2423
Do not replace those framework skills; complement them with contract-level guidance only.
2524
</goal>

skills-generator/src/main/resources/system-prompts/134-java-testing-fuzzing-testing.xml renamed to skills-generator/src/main/resources/system-prompts/703-technologies-fuzzing-testing.xml

File renamed without changes.

skills/701-technologies-openapi/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ Help teams produce maintainable **OpenAPI 3.x** contracts that stay aligned with
1717
- Reusable `components` (schemas, parameters, responses, security schemes) and examples
1818
- Validation and CI: spec linting, breaking-change checks, pre-codegen gates
1919
- Security modeling in the contract (schemes, scopes, global vs operation security)
20-
- Clear **delegation** to framework REST skills for runtime and generator-specific work
20+
- Clear boundaries between contract-first design and runtime implementation concerns
2121

22-
**Scope:** Contract-first quality only. For **Spring Boot**, **Quarkus**, or **Micronaut** REST implementation details, use the matching `302`, `402`, or `502` skill. For **CATS fuzz testing** against a contract, use `134-java-testing-fuzzing-testing`.
22+
**Scope:** Contract-first quality only. Focus this skill on OpenAPI design, quality, and governance guidance.
2323

2424
## Constraints
2525

2626
Keep recommendations at the OpenAPI layer unless the user explicitly asks for Java framework integration. After editing this repository's XML sources, regenerate skills and verify the build.
2727

2828
- **MANDATORY**: Run `./mvnw compile` or `mvn compile` before proposing Java or Maven changes in the same change set
29-
- **FRAMEWORK**: Defer OpenAPI Generator goals, controller bindings, and runtime `/openapi` exposure to `@302-frameworks-spring-boot-rest`, `@402-frameworks-quarkus-rest`, or `@502-frameworks-micronaut-rest`
30-
- **FUZZING**: Defer CATS execution and CI fuzz pipelines to `@134-java-testing-fuzzing-testing`
29+
- **FRAMEWORK**: Keep guidance contract-centric; do not prescribe framework-specific controller wiring or runtime exposure details
30+
- **FUZZING**: Keep fuzzing guidance high-level and contract-focused without linking to external skill identifiers
3131
- **MANDATORY**: Regenerate skills with `./mvnw clean install -pl skills-generator` after editing skill or system-prompt XML in this repo
3232
- **VERIFY**: Run `./mvnw clean verify` or `mvn clean verify` before promoting changes
3333

skills/701-technologies-openapi/references/701-technologies-openapi.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Apply **framework-agnostic** OpenAPI best practices so a published contract is a
2121
3. **Describe HTTP** faithfully: stable paths, correct verbs, explicit status codes and error bodies, `operationId`, parameters (path, query, header, cookie), and request/response `content` types.
2222
4. **Security**: declare `securitySchemes` and default/global `security` requirements; avoid silent optional auth where the runtime always enforces it.
2323
5. **Quality gates**: recommend spec linting (e.g. Spectral rulesets), CI validation before codegen, and changelog discipline for breaking vs additive changes.
24-
6. **Delegation**: for runtime stack concerns (Spring MVC, Quarkus REST, Micronaut controllers, framework plugins, OpenAPI Generator options), direct users to `@302-frameworks-spring-boot-rest`, `@402-frameworks-quarkus-rest`, or `@502-frameworks-micronaut-rest`. For **CATS fuzz execution**, use `@134-java-testing-fuzzing-testing`.
2524

2625
Do not replace those framework skills; complement them with contract-level guidance only.
2726

skills/134-java-testing-fuzzing-testing/SKILL.md renamed to skills/703-technologies-fuzzing-testing/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: 134-java-testing-fuzzing-testing
2+
name: 703-technologies-fuzzing-testing
33
description: Use when you need to add or review fuzz testing for Java APIs with CATS — including contract-driven negative testing, malformed payload validation, boundary input exploration, CI integration, reproducible failures, and local execution guidance. Part of the skills-for-java project
44
license: Apache-2.0
55
metadata:
@@ -40,4 +40,4 @@ Before applying any fuzz testing changes, ensure the project compiles. If compil
4040

4141
## Reference
4242

43-
For detailed guidance, examples, and constraints, see [references/134-java-testing-fuzzing-testing.md](references/134-java-testing-fuzzing-testing.md).
43+
For detailed guidance, examples, and constraints, see [references/703-technologies-fuzzing-testing.md](references/703-technologies-fuzzing-testing.md).

skills/134-java-testing-fuzzing-testing/references/134-java-testing-fuzzing-testing.md renamed to skills/703-technologies-fuzzing-testing/references/703-technologies-fuzzing-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: 134-java-testing-fuzzing-testing
2+
name: 703-technologies-fuzzing-testing
33
description: Use when you need to add or review fuzz testing for Java APIs with CATS — including contract-driven negative testing, malformed payload validation, boundary input exploration, CI integration, reproducible failures, and local execution guidance.
44
license: Apache-2.0
55
metadata:

0 commit comments

Comments
 (0)