diff --git a/.cursor/rules/000-system-prompt-list.md b/.cursor/rules/000-system-prompt-list.md index 26fa6330..d7259831 100644 --- a/.cursor/rules/000-system-prompt-list.md +++ b/.cursor/rules/000-system-prompt-list.md @@ -2,7 +2,7 @@ name: 000-system-prompt-list metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Create a Checklist with all Java steps to use with system prompts for Java @@ -53,6 +53,7 @@ Use the following collection of System prompts of Java to improve your Java deve | [111-java-maven-dependencies](.cursor/rules/111-java-maven-dependencies.md) | Add Maven dependencies for improved code quality | **Interactive User Prompt:** `Add essential Maven dependencies for code quality using @111-java-maven-dependencies` **User Prompt:** `Add VAVR dependency with the help of@111-java-maven-dependencies and not make any question` (Example)**Note:** Add in the context the `pom.xml` which you want to enhance with quality dependencies. | It is possible to apply the System prompt in an interactive and non interactive way. Using the interactive approach, the Software engineer will interact with the cursor rule to selectively add JSpecify, Error Prone, NullAway and VAVR dependencies based on project needs. | | [112-java-maven-plugins](.cursor/rules/112-java-maven-plugins.md) | Update your `pom.xml` with Maven Dependencies & Plugins | **Interactive User Prompt:** `Improve the pom.xml using the cursor rule @112-java-maven-plugins` **User Prompt:** `Add Maven Enforcer plugin only from the rule @112-java-maven-plugins without any question` (Example) **Note:** Add in the context the `pom.xml` which you want to generate the documentation. | It is possible to apply the System prompt in an interactive and non interactive way. Using the interactive approach, the Software engineer will interact with the cursor rule to update the `pom.xml`. | | [113-java-maven-documentation](.cursor/rules/113-java-maven-documentation.md) | Create a Maven Documentation with the file `README-DEV.md` | **User Prompt:** `Generate developer documentation with essential Maven commands using @113-java-maven-documentation` **Note:** Add in the context the `pom.xml` which you want to generate the documentation. | This cursor rule is applied automatically without any interaction with the Software engineer. | +| [114-java-maven-search](.cursor/rules/114-java-maven-search.md) | Search Maven Central, resolve coordinates, version metadata, and direct artifact URLs | **User Prompt:** `Find the latest version of com.google.guava:guava using @114-java-maven-search` **Note:** Use for dependency lookup, POM/JAR URLs, `maven-metadata.xml`, or Search API queries — not for editing `pom.xml` (use `@111` / `@112` for that). | Non-interactive. Use MCP Maven tools when available for live Central queries. | ## Design rules diff --git a/.cursor/rules/012-agile-epic.md b/.cursor/rules/012-agile-epic.md index ab42757d..4d809eb8 100644 --- a/.cursor/rules/012-agile-epic.md +++ b/.cursor/rules/012-agile-epic.md @@ -4,7 +4,7 @@ description: Use when the user wants to create an agile epic, define large bodie license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Create Agile Epics diff --git a/.cursor/rules/013-agile-feature.md b/.cursor/rules/013-agile-feature.md index 96f1afbf..abdfb1ce 100644 --- a/.cursor/rules/013-agile-feature.md +++ b/.cursor/rules/013-agile-feature.md @@ -4,7 +4,7 @@ description: Use when the user wants to derive detailed feature documentation fr license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Create Agile Features from an Epic diff --git a/.cursor/rules/014-agile-user-story.md b/.cursor/rules/014-agile-user-story.md index 8f4102b7..b64cad30 100644 --- a/.cursor/rules/014-agile-user-story.md +++ b/.cursor/rules/014-agile-user-story.md @@ -4,7 +4,7 @@ description: Use when the user wants to create a user story, write acceptance cr license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Create Agile User Stories and Gherkin Feature Files diff --git a/.cursor/rules/030-architecture-adr-general.md b/.cursor/rules/030-architecture-adr-general.md index 095979e6..d982d6f8 100644 --- a/.cursor/rules/030-architecture-adr-general.md +++ b/.cursor/rules/030-architecture-adr-general.md @@ -4,7 +4,7 @@ description: Use when you need to generate Architecture Decision Records (ADRs) license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java ADR Generator with interactive conversational approach diff --git a/.cursor/rules/031-architecture-adr-functional-requirements.md b/.cursor/rules/031-architecture-adr-functional-requirements.md index 4fd4532a..91ae96e8 100644 --- a/.cursor/rules/031-architecture-adr-functional-requirements.md +++ b/.cursor/rules/031-architecture-adr-functional-requirements.md @@ -4,7 +4,7 @@ description: Use when the user wants to document CLI and/or REST API architectur license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Create ADRs for Functional Requirements (CLI and/or REST API) diff --git a/.cursor/rules/032-architecture-adr-non-functional-requirements.md b/.cursor/rules/032-architecture-adr-non-functional-requirements.md index f4312a2f..8efd24e2 100644 --- a/.cursor/rules/032-architecture-adr-non-functional-requirements.md +++ b/.cursor/rules/032-architecture-adr-non-functional-requirements.md @@ -4,7 +4,7 @@ description: Use when the user wants to document quality attributes, NFR decisio license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Create ADRs for Non-Functional Requirements diff --git a/.cursor/rules/033-architecture-diagrams.md b/.cursor/rules/033-architecture-diagrams.md index 538a618e..d8d9d504 100644 --- a/.cursor/rules/033-architecture-diagrams.md +++ b/.cursor/rules/033-architecture-diagrams.md @@ -4,7 +4,7 @@ description: Use when you need to generate Java project diagrams — including U license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Diagrams Generator with modular step-based configuration diff --git a/.cursor/rules/040-planning-plan-mode.md b/.cursor/rules/040-planning-plan-mode.md index 0f1f617c..491519bd 100644 --- a/.cursor/rules/040-planning-plan-mode.md +++ b/.cursor/rules/040-planning-plan-mode.md @@ -4,7 +4,7 @@ description: Use when creating a plan using Plan model and enhancing structured license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Design Plan Creation for Cursor Plan Mode diff --git a/.cursor/rules/110-java-maven-best-practices.md b/.cursor/rules/110-java-maven-best-practices.md index fa9aeea9..8438ec37 100644 --- a/.cursor/rules/110-java-maven-best-practices.md +++ b/.cursor/rules/110-java-maven-best-practices.md @@ -4,7 +4,7 @@ description: Use when you need to improve your Maven pom.xml using best practice license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Maven Best Practices diff --git a/.cursor/rules/111-java-maven-dependencies.md b/.cursor/rules/111-java-maven-dependencies.md index 4160ba92..b9cac0fc 100644 --- a/.cursor/rules/111-java-maven-dependencies.md +++ b/.cursor/rules/111-java-maven-dependencies.md @@ -4,7 +4,7 @@ description: Use when you need to think to add maven dependencies to your projec license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Add Maven dependencies for improved code quality diff --git a/.cursor/rules/112-java-maven-plugins.md b/.cursor/rules/112-java-maven-plugins.md index f722e2d7..6c763c0b 100644 --- a/.cursor/rules/112-java-maven-plugins.md +++ b/.cursor/rules/112-java-maven-plugins.md @@ -4,7 +4,7 @@ description: Use when you need to add or configure Maven plugins in your pom.xml license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Maven Plugins: pom.xml Configuration Best Practices diff --git a/.cursor/rules/113-java-maven-documentation.md b/.cursor/rules/113-java-maven-documentation.md index c9102791..054eea2a 100644 --- a/.cursor/rules/113-java-maven-documentation.md +++ b/.cursor/rules/113-java-maven-documentation.md @@ -4,7 +4,7 @@ description: Use when you need to create a DEVELOPER.md file for a Maven project license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Create DEVELOPER.md for the Maven projects diff --git a/.cursor/rules/114-java-maven-search.md b/.cursor/rules/114-java-maven-search.md new file mode 100644 index 00000000..f86c71d6 --- /dev/null +++ b/.cursor/rules/114-java-maven-search.md @@ -0,0 +1,222 @@ +--- +name: 114-java-maven-search +description: Provides guidance for (1) Maven Central search and coordinates via the Search API and repository URLs, and (2) project-local checks for newer dependency, plugin, and property versions using the Versions Maven Plugin. Use when the user needs to find or verify artifacts, browse versions, inspect POMs, or see what updates apply to their own pom.xml. +license: Apache-2.0 +metadata: + author: Juan Antonio Breña Moral + version: 0.14.0-SNAPSHOT +--- +# Maven Central search and coordinates + +## Role + +You are a Senior software engineer with extensive experience in Java software development, Maven repositories, and dependency resolution + +## Goal + +Guide two related workflows: + +1. **Maven Central search** — Use the public **Search API** and **direct repository URLs** to discover coordinates, read `maven-metadata.xml`, download POMs and JARs, reason about dependencies from POMs, and present `groupId:artifactId:version` with verifiable links. + +2. **Project update reports** — When the user wants to see **newer versions of dependencies, build plugins, or `${property}`-driven versions** already declared in their project, ensure the **Versions Maven Plugin** (`org.codehaus.mojo:versions-maven-plugin`) is present in the POM, then run the appropriate `versions:display-*` goals (see Step 2). + +**Apply Central-search guidance when the user mentions:** searching for Maven dependencies or components; finding or verifying coordinates; version history or latest versions on Central; downloading JAR, POM, sources, or Javadoc; Maven Central or repository URLs; dependency trees or transitive dependencies; or keywords such as groupId, artifactId, repository, artifact (including Chinese phrases about Maven 依赖, 坐标, 版本, 中央仓库, 传递依赖, 依赖树). + +**Apply Versions-plugin guidance when the user mentions:** outdated dependencies in *their* project, available updates, `display-dependency-updates`, plugin updates, or property version bumps for their `pom.xml`. + + +## Constraints + +Prefer authoritative sources: Maven Central Search API responses, `maven-metadata.xml`, and POM files from `repo1.maven.org`. Do not invent coordinates; confirm existence via API or HTTP before asserting availability. + +- **VERIFY**: Confirm coordinates exist (Search API or successful metadata/POM fetch) before recommending them for production use +- **STABLE VERSIONS**: Prefer non-SNAPSHOT release versions unless the user explicitly needs snapshots +- **FORMAT**: Present Maven coordinates as `groupId:artifactId:version` and URL-encode query parameters in Search API calls +- **INTEGRITY**: When providing direct downloads, mention that checksum files (`.sha1`, `.md5`, `.asc`) live alongside artifacts when the user needs verification + +## Steps + +### Step 1: Recognize the task and branch (Central search vs. project updates) + +Classify the request before choosing a tool: + +| Intent | Approach | +|--------|----------| +| Find libraries by name or keyword | Maven Central Search API — text query | +| Resolve exact GAV or G:A | Search API with `g:` / `a:` / `v:` or combined `AND` | +| Latest or all versions for a fixed G:A | `maven-metadata.xml` under the artifact directory | +| Inspect dependencies | Fetch and parse the POM for that version | +| Download binary, sources, or Javadoc | Direct URL under `.../{version}/` | +| **See newer versions for dependencies, plugins, or `${property}` placeholders already in *this* project’s POM** | **Step 2** — Versions Maven Plugin (`versions:display-*` goals) | + +**Branching** + +- If the user wants **Maven Central search** (discover artifacts, coordinates, metadata, downloads, or transitive insight from a published POM), **skip Step 2** and continue from Step 3 onward. +- If the user wants **update information for their own `pom.xml`** (what newer versions exist for declared deps/plugins/properties), **use Step 2** first. You may still use Steps 3+ afterward to look up unfamiliar GAVs on Central. + +**Search API base:** `https://search.maven.org/solrsearch/select` + +**Repository base:** `https://repo1.maven.org/maven2/` + +**Path rule:** groupId segments become directories (`org.springframework.boot` → `org/springframework/boot`); artifactId is its own path segment; version is the next segment; files are named `{artifactId}-{version}.{ext}`. + +### Step 2: Project updates: verify Versions Maven Plugin, then run display goals + +Use this step when the user asks what can be updated **in their project** (dependencies, build plugins, or versions driven +by Maven properties)—not when they only want to **search Maven Central** for a library by name. + +**1. Verify the plugin is declared** + +Inspect the project's effective POM sources (root and parent chain) +for **`org.codehaus.mojo:versions-maven-plugin`** under `` or ``. + +**2. If it is missing, add it** + +Add a `` entry with `groupId` `org.codehaus.mojo`, `artifactId` `versions-maven-plugin`, +and a **`version`** set to a **current release** from Maven Central (do not invent a version—resolve it +via Search API/metadata or the plugin's documentation). A minimal declaration: + +```xml + + org.codehaus.mojo + versions-maven-plugin + + +``` + +Prefer `pluginManagement` in the parent POM for multi-module builds; otherwise place under `` in the module that owns the build. + +**3. Run these goals from the project root** (use the Maven Wrapper when present): + +```bash +./mvnw versions:display-property-updates +./mvnw versions:display-dependency-updates +./mvnw versions:display-plugin-updates +``` + +Use `mvn` instead of `./mvnw` only when the project has no wrapper. Interpretation: + +- **`display-property-updates`** — suggests newer values for version **properties** referenced in the POM (e.g. `${foo.version}`). +- **`display-dependency-updates`** — suggests newer versions for **dependencies** (respecting scopes and management rules). +- **`display-plugin-updates`** — suggests newer versions for **build plugins** (including reporting plugins where applicable). + +These commands complement Central search: they answer “what is newer **for this build**,” while Steps 3-9 +help **discover and verify** arbitrary artifacts on Central. + +**Reference:** https://www.mojohaus.org/versions/versions-maven-plugin/### Step 3: Query the Maven Central Search API + +Use HTTP GET with query parameters: + +- **`q`** — Solr query. Examples: `g:org.springframework.boot AND a:spring-boot`, `spring-boot` (broad text), `v:4.0.5` +- **`rows`** — Page size (default 20, max 200) +- **`start`** — Offset for pagination +- **`wt`** — `json` (typical) or `xml` +- **`core`** — Often `gav` (default for GAV-oriented search) + +**Example — search by coordinates:** + +```text +https://search.maven.org/solrsearch/select?q=g:org.springframework.boot+AND+a:spring-boot&rows=20&wt=json +``` + +**Example — search by keyword:** + +```text +https://search.maven.org/solrsearch/select?q=spring-boot&rows=20&wt=json +``` + +Parse the JSON `response.docs[]` for `g`, `a`, `latestVersion` (or per-doc version fields as returned), +and any description fields present. For official Search API documentation and evolution, +see Sonatype Central Search API docs: https://central.sonatype.com/search-api/### Step 4: Read version history with maven-metadata.xml + +For a known `groupId` and `artifactId`, version lists and `latest` / `release` hints are published at: + +```text +https://repo1.maven.org/maven2/{groupPath}/{artifactId}/maven-metadata.xml +``` + +**Example:** + +```text +https://repo1.maven.org/maven2/org/springframework/boot/spring-boot/maven-metadata.xml +``` + +Use this when the user asks for “all versions”, “latest release”, or to compare version lines. +Parent POMs may also publish metadata one level up when applicable to that layout. +### Step 5: Build direct artifact URLs + +Pattern: + +```text +https://repo1.maven.org/maven2/{groupPath}/{artifactId}/{version}/{artifactId}-{version}.{extension} +``` + +**Common extensions:** + +| File | Extension | +|------|-----------| +| POM | `.pom` | +| Main JAR | `.jar` | +| Sources | `-sources.jar` | +| Javadoc | `-javadoc.jar` | + +**Example:** + +```text +https://repo1.maven.org/maven2/org/springframework/boot/spring-boot/4.0.5/spring-boot-4.0.5.pom +https://repo1.maven.org/maven2/org/springframework/boot/spring-boot/4.0.5/spring-boot-4.0.5.jar +https://repo1.maven.org/maven2/org/springframework/boot/spring-boot/4.0.5/spring-boot-4.0.5-sources.jar +https://repo1.maven.org/maven2/org/springframework/boot/spring-boot/4.0.5/spring-boot-4.0.5-javadoc.jar +``` + +Optional: checksums alongside artifacts (e.g. `.jar.sha1`, `.pom.sha1`) for verification. + +### Step 6: Analyze dependencies from a POM + +To reason about **direct** and **transitive** dependencies: + +1. Download the resolved POM for the chosen GAV (Step 5). +2. Read ``, ``, and parent `` (may imply import BOMs or inherited dependencyManagement). +3. Explain that the **full transitive tree** for a project is best obtained with Maven (`mvn dependency:tree`) or Gradle equivalent on the **consumer** project — a single POM on Central does not replace resolver mediation, exclusions, or profiles. + +Call out ``, `true`, and `` when they affect what appears on the classpath. +### Step 7: Validate and present results + +**Validation habits:** + +- **groupId** — Usually reverse-DNS style (e.g. `com.example`); avoid guessing unpublished groups. +- **artifactId** — Lowercase with hyphens is conventional; must match directory and file prefix. +- **version** — Prefer stable releases; treat `SNAPSHOT` as moving targets tied to snapshot repositories. + +**Output expectations:** + +- Always give coordinates as **`groupId:artifactId:version`** when a full GAV is known. +- For search hits, tabulate `groupId`, `artifactId`, `version` (or `latestVersion` from API), plus short description if available. +- Include clickable HTTPS links to Search UI (`https://search.maven.org/`) or direct `repo1.maven.org` paths when useful. +- Mention naming conventions reference: https://maven.apache.org/guides/mini/guide-naming-conventions.html + +If the user’s environment supports **MCP or tooling** for Maven Central (e.g. dependency intelligence servers), prefer those tools for live lookups when available, in addition to the URLs above. +### Step 8: Quick task recipes + +**Task A — Search by name:** `q=` on the Search API. + +**Task B — Search by G and A:** `q=g: AND a:`. + +**Task C — Version list / latest:** GET `maven-metadata.xml` for that G:A path. + +**Task D — Download artifact:** Construct URL from Step 5 after confirming the version exists. + +**Task E — Dependency insight:** GET the POM, list direct dependencies; recommend `mvn dependency:tree` on the user’s project for the resolved graph. + +**Task F — Project update report (own POM):** Ensure `versions-maven-plugin` is present (Step 2), then run `./mvnw versions:display-property-updates`, `./mvnw versions:display-dependency-updates`, and `./mvnw versions:display-plugin-updates`. +### Step 9: Keywords and resources + +**English keywords:** maven, maven central, maven repository, dependency, artifact, coordinates, groupId, artifactId, version, POM, JAR, transitive dependencies, dependency tree, search, metadata, versions-maven-plugin, display-dependency-updates, display-plugin-updates, display-property-updates, outdated dependencies. + +**Resources:** + +- Central repository: https://repo1.maven.org/maven2/ +- Search UI: https://search.maven.org/ +- Search API (Sonatype): https://central.sonatype.com/search-api/ +- Naming conventions: https://maven.apache.org/guides/mini/guide-naming-conventions.html +- Versions Maven Plugin: https://www.mojohaus.org/versions/versions-maven-plugin/ \ No newline at end of file diff --git a/.cursor/rules/121-java-object-oriented-design.md b/.cursor/rules/121-java-object-oriented-design.md index 74c5ec49..271e9379 100644 --- a/.cursor/rules/121-java-object-oriented-design.md +++ b/.cursor/rules/121-java-object-oriented-design.md @@ -4,7 +4,7 @@ description: Use when you need to review, improve, or refactor Java code for obj license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Object-Oriented Design Guidelines diff --git a/.cursor/rules/122-java-type-design.md b/.cursor/rules/122-java-type-design.md index 2d7f99d2..0816fda1 100644 --- a/.cursor/rules/122-java-type-design.md +++ b/.cursor/rules/122-java-type-design.md @@ -4,7 +4,7 @@ description: Use when you need to review, improve, or refactor Java code for typ license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Type Design Thinking in Java diff --git a/.cursor/rules/123-java-exception-handling.md b/.cursor/rules/123-java-exception-handling.md index 2ad0172a..95bf95a5 100644 --- a/.cursor/rules/123-java-exception-handling.md +++ b/.cursor/rules/123-java-exception-handling.md @@ -4,7 +4,7 @@ description: Use when you need to apply Java exception handling best practices license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Exception Handling Guidelines diff --git a/.cursor/rules/124-java-secure-coding.md b/.cursor/rules/124-java-secure-coding.md index 308d626a..857998c5 100644 --- a/.cursor/rules/124-java-secure-coding.md +++ b/.cursor/rules/124-java-secure-coding.md @@ -4,7 +4,7 @@ description: Use when you need to apply Java secure coding best practices — in license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Secure coding guidelines diff --git a/.cursor/rules/125-java-concurrency.md b/.cursor/rules/125-java-concurrency.md index 3f6cb8ba..cdcc2204 100644 --- a/.cursor/rules/125-java-concurrency.md +++ b/.cursor/rules/125-java-concurrency.md @@ -4,7 +4,7 @@ description: Use when you need to apply Java concurrency best practices — incl license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java rules for Concurrency objects diff --git a/.cursor/rules/128-java-generics.md b/.cursor/rules/128-java-generics.md index dff42b37..51d913ae 100644 --- a/.cursor/rules/128-java-generics.md +++ b/.cursor/rules/128-java-generics.md @@ -4,7 +4,7 @@ description: Use when you need to review, improve, or refactor Java code for gen license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Generics Best Practices diff --git a/.cursor/rules/130-java-testing-strategies.md b/.cursor/rules/130-java-testing-strategies.md index 94ab0393..bd64bcd6 100644 --- a/.cursor/rules/130-java-testing-strategies.md +++ b/.cursor/rules/130-java-testing-strategies.md @@ -4,7 +4,7 @@ description: Use when you need to apply testing strategies for Java code — inc license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java testing strategies diff --git a/.cursor/rules/131-java-testing-unit-testing.md b/.cursor/rules/131-java-testing-unit-testing.md index 3144abc6..0ac3ecf9 100644 --- a/.cursor/rules/131-java-testing-unit-testing.md +++ b/.cursor/rules/131-java-testing-unit-testing.md @@ -4,7 +4,7 @@ description: Use when you need to review, improve, or write Java unit tests for license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Unit testing guidelines diff --git a/.cursor/rules/132-java-testing-integration-testing.md b/.cursor/rules/132-java-testing-integration-testing.md index f033b44c..e9e0bb83 100644 --- a/.cursor/rules/132-java-testing-integration-testing.md +++ b/.cursor/rules/132-java-testing-integration-testing.md @@ -4,7 +4,7 @@ description: Use when you need to set up, review, or improve Java integration te license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Integration testing guidelines diff --git a/.cursor/rules/133-java-testing-acceptance-tests.md b/.cursor/rules/133-java-testing-acceptance-tests.md index c04e6d4d..16098aba 100644 --- a/.cursor/rules/133-java-testing-acceptance-tests.md +++ b/.cursor/rules/133-java-testing-acceptance-tests.md @@ -4,7 +4,7 @@ description: Use when you need to implement acceptance tests from a Gherkin .fea license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java acceptance tests from Gherkin diff --git a/.cursor/rules/141-java-refactoring-with-modern-features.md b/.cursor/rules/141-java-refactoring-with-modern-features.md index 414f92ef..e231e087 100644 --- a/.cursor/rules/141-java-refactoring-with-modern-features.md +++ b/.cursor/rules/141-java-refactoring-with-modern-features.md @@ -4,7 +4,7 @@ description: Use when you need to refactor Java code to adopt modern Java featur license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Modern Java Development Guidelines (Java 8+) diff --git a/.cursor/rules/142-java-functional-programming.md b/.cursor/rules/142-java-functional-programming.md index 660148dc..9e1b272f 100644 --- a/.cursor/rules/142-java-functional-programming.md +++ b/.cursor/rules/142-java-functional-programming.md @@ -4,7 +4,7 @@ description: Use when you need to apply functional programming principles in Jav license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Functional Programming rules diff --git a/.cursor/rules/143-java-functional-exception-handling.md b/.cursor/rules/143-java-functional-exception-handling.md index 22957643..6952075b 100644 --- a/.cursor/rules/143-java-functional-exception-handling.md +++ b/.cursor/rules/143-java-functional-exception-handling.md @@ -4,7 +4,7 @@ description: Use when you need to apply functional exception handling best pract license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Functional Exception handling Best Practices diff --git a/.cursor/rules/144-java-data-oriented-programming.md b/.cursor/rules/144-java-data-oriented-programming.md index 08e23ba8..bd5f66be 100644 --- a/.cursor/rules/144-java-data-oriented-programming.md +++ b/.cursor/rules/144-java-data-oriented-programming.md @@ -4,7 +4,7 @@ description: Use when you need to apply data-oriented programming best practices license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Data-Oriented Programming Best Practices diff --git a/.cursor/rules/151-java-performance-jmeter.md b/.cursor/rules/151-java-performance-jmeter.md index 2a26509f..f9f1a2e3 100644 --- a/.cursor/rules/151-java-performance-jmeter.md +++ b/.cursor/rules/151-java-performance-jmeter.md @@ -4,7 +4,7 @@ description: Use when you need to set up JMeter performance testing for a Java p license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Run performance tests based on JMeter diff --git a/.cursor/rules/161-java-profiling-detect.md b/.cursor/rules/161-java-profiling-detect.md index 979dd9ea..7e74c3b2 100644 --- a/.cursor/rules/161-java-profiling-detect.md +++ b/.cursor/rules/161-java-profiling-detect.md @@ -4,7 +4,7 @@ description: Use when you need to set up Java application profiling to detect an license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Profiling Workflow / Step 1 / Collect data to measure potential issues diff --git a/.cursor/rules/162-java-profiling-analyze.md b/.cursor/rules/162-java-profiling-analyze.md index b57ec92b..9558da18 100644 --- a/.cursor/rules/162-java-profiling-analyze.md +++ b/.cursor/rules/162-java-profiling-analyze.md @@ -4,7 +4,7 @@ description: Use when you need to analyze Java profiling data collected during t license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Profiling Workflow / Step 2 / Analyze profiling data diff --git a/.cursor/rules/163-java-profiling-refactor.md b/.cursor/rules/163-java-profiling-refactor.md index 6ef1f439..978d562f 100644 --- a/.cursor/rules/163-java-profiling-refactor.md +++ b/.cursor/rules/163-java-profiling-refactor.md @@ -4,7 +4,7 @@ description: Use when you need to refactor Java code based on profiling analysis license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Profiling Workflow / Step 3 / Refactor code to fix issues diff --git a/.cursor/rules/164-java-profiling-verify.md b/.cursor/rules/164-java-profiling-verify.md index 4a69292d..a61a4399 100644 --- a/.cursor/rules/164-java-profiling-verify.md +++ b/.cursor/rules/164-java-profiling-verify.md @@ -4,7 +4,7 @@ description: Use when you need to verify Java performance optimizations by compa license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Profiling Workflow / Step 4 / Verify results diff --git a/.cursor/rules/170-java-documentation.md b/.cursor/rules/170-java-documentation.md index d6b722ba..171c614b 100644 --- a/.cursor/rules/170-java-documentation.md +++ b/.cursor/rules/170-java-documentation.md @@ -4,7 +4,7 @@ description: Use when you need to generate or improve Java project documentation license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Documentation Generator with modular step-based configuration diff --git a/.cursor/rules/180-java-observability-logging.md b/.cursor/rules/180-java-observability-logging.md index f522caf6..01a2d3cb 100644 --- a/.cursor/rules/180-java-observability-logging.md +++ b/.cursor/rules/180-java-observability-logging.md @@ -4,7 +4,7 @@ description: Use when you need to implement or improve Java logging and observab license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Logging Best Practices diff --git a/.cursor/rules/200-agents-md.md b/.cursor/rules/200-agents-md.md index 9814550c..c546bbde 100644 --- a/.cursor/rules/200-agents-md.md +++ b/.cursor/rules/200-agents-md.md @@ -4,7 +4,7 @@ description: Use when you need to generate an AGENTS.md file for a Java reposito license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # AGENTS.md Generator for Java repositories diff --git a/.cursor/rules/301-frameworks-spring-boot-core.md b/.cursor/rules/301-frameworks-spring-boot-core.md index 14914773..1ba42882 100644 --- a/.cursor/rules/301-frameworks-spring-boot-core.md +++ b/.cursor/rules/301-frameworks-spring-boot-core.md @@ -4,7 +4,7 @@ description: Use when you need to review, improve, or build Spring Boot 4.0.x ap license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring Boot Core Guidelines diff --git a/.cursor/rules/302-frameworks-spring-boot-rest.md b/.cursor/rules/302-frameworks-spring-boot-rest.md index 533b5395..2c16734d 100644 --- a/.cursor/rules/302-frameworks-spring-boot-rest.md +++ b/.cursor/rules/302-frameworks-spring-boot-rest.md @@ -4,7 +4,7 @@ description: Use when you need to design, review, or improve REST APIs with Spri license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java REST API Design Principles diff --git a/.cursor/rules/311-frameworks-spring-jdbc.md b/.cursor/rules/311-frameworks-spring-jdbc.md index 36cf278c..ec2c52c6 100644 --- a/.cursor/rules/311-frameworks-spring-jdbc.md +++ b/.cursor/rules/311-frameworks-spring-jdbc.md @@ -4,7 +4,7 @@ description: Use when you need to write or review programmatic JDBC with Spring license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring JDBC — JdbcClient (Spring Framework 6.1+) diff --git a/.cursor/rules/312-frameworks-spring-data-jdbc.md b/.cursor/rules/312-frameworks-spring-data-jdbc.md index 1bcfa9cd..8e06a688 100644 --- a/.cursor/rules/312-frameworks-spring-data-jdbc.md +++ b/.cursor/rules/312-frameworks-spring-data-jdbc.md @@ -4,7 +4,7 @@ description: Use when you need to use Spring Data JDBC with Java records — inc license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring Data JDBC with Records diff --git a/.cursor/rules/313-frameworks-spring-db-migrations-flyway.md b/.cursor/rules/313-frameworks-spring-db-migrations-flyway.md index a720f44f..fdc26eea 100644 --- a/.cursor/rules/313-frameworks-spring-db-migrations-flyway.md +++ b/.cursor/rules/313-frameworks-spring-db-migrations-flyway.md @@ -4,7 +4,7 @@ description: Use when you need to add or review Flyway database migrations in a license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring — Database migrations (Flyway) diff --git a/.cursor/rules/321-frameworks-spring-boot-testing-unit-tests.md b/.cursor/rules/321-frameworks-spring-boot-testing-unit-tests.md index 8a2560d6..e30fc0cd 100644 --- a/.cursor/rules/321-frameworks-spring-boot-testing-unit-tests.md +++ b/.cursor/rules/321-frameworks-spring-boot-testing-unit-tests.md @@ -4,7 +4,7 @@ description: Use when you need to write unit tests for Spring Boot applications license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring Boot Unit Testing with Mockito diff --git a/.cursor/rules/322-frameworks-spring-boot-testing-integration-tests.md b/.cursor/rules/322-frameworks-spring-boot-testing-integration-tests.md index 8c006dcf..2ab50db0 100644 --- a/.cursor/rules/322-frameworks-spring-boot-testing-integration-tests.md +++ b/.cursor/rules/322-frameworks-spring-boot-testing-integration-tests.md @@ -4,7 +4,7 @@ description: Use when you need to write or improve integration tests — includi license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring Boot Integration Testing diff --git a/.cursor/rules/323-frameworks-spring-boot-testing-acceptance-tests.md b/.cursor/rules/323-frameworks-spring-boot-testing-acceptance-tests.md index a0e4e7c5..5372c28f 100644 --- a/.cursor/rules/323-frameworks-spring-boot-testing-acceptance-tests.md +++ b/.cursor/rules/323-frameworks-spring-boot-testing-acceptance-tests.md @@ -4,7 +4,7 @@ description: Use when you need to implement acceptance tests from a Gherkin .fea license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring Boot acceptance tests from Gherkin diff --git a/.cursor/rules/401-frameworks-quarkus-core.md b/.cursor/rules/401-frameworks-quarkus-core.md index f4586448..9b035ba1 100644 --- a/.cursor/rules/401-frameworks-quarkus-core.md +++ b/.cursor/rules/401-frameworks-quarkus-core.md @@ -4,7 +4,7 @@ description: Use when you need to review, improve, or build Quarkus applications license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus Core Guidelines diff --git a/.cursor/rules/402-frameworks-quarkus-rest.md b/.cursor/rules/402-frameworks-quarkus-rest.md index 19b03d8f..4788a9ac 100644 --- a/.cursor/rules/402-frameworks-quarkus-rest.md +++ b/.cursor/rules/402-frameworks-quarkus-rest.md @@ -4,7 +4,7 @@ description: Use when you need to design, review, or improve REST APIs with Quar license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus REST API Guidelines diff --git a/.cursor/rules/411-frameworks-quarkus-jdbc.md b/.cursor/rules/411-frameworks-quarkus-jdbc.md index 930d52c4..8e422caa 100644 --- a/.cursor/rules/411-frameworks-quarkus-jdbc.md +++ b/.cursor/rules/411-frameworks-quarkus-jdbc.md @@ -4,7 +4,7 @@ description: Use when you need to write or review programmatic JDBC in Quarkus license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus JDBC — programmatic SQL diff --git a/.cursor/rules/412-frameworks-quarkus-panache.md b/.cursor/rules/412-frameworks-quarkus-panache.md index 3af223dd..ce8e6b9d 100644 --- a/.cursor/rules/412-frameworks-quarkus-panache.md +++ b/.cursor/rules/412-frameworks-quarkus-panache.md @@ -4,7 +4,7 @@ description: Use when you need data access with Quarkus Hibernate ORM Panache license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Hibernate ORM with Panache diff --git a/.cursor/rules/413-frameworks-quarkus-db-migrations-flyway.md b/.cursor/rules/413-frameworks-quarkus-db-migrations-flyway.md index b0ccaa95..e1e4b6f8 100644 --- a/.cursor/rules/413-frameworks-quarkus-db-migrations-flyway.md +++ b/.cursor/rules/413-frameworks-quarkus-db-migrations-flyway.md @@ -4,7 +4,7 @@ description: Use when you need to add or review Flyway database migrations in a license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus — Database migrations (Flyway) diff --git a/.cursor/rules/421-frameworks-quarkus-testing-unit-tests.md b/.cursor/rules/421-frameworks-quarkus-testing-unit-tests.md index 5c4cacbf..aaa01193 100644 --- a/.cursor/rules/421-frameworks-quarkus-testing-unit-tests.md +++ b/.cursor/rules/421-frameworks-quarkus-testing-unit-tests.md @@ -4,7 +4,7 @@ description: Use when you need to write fast unit tests for Quarkus applications license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus Unit Testing diff --git a/.cursor/rules/422-frameworks-quarkus-testing-integration-tests.md b/.cursor/rules/422-frameworks-quarkus-testing-integration-tests.md index 459cd8b3..9d7c51f3 100644 --- a/.cursor/rules/422-frameworks-quarkus-testing-integration-tests.md +++ b/.cursor/rules/422-frameworks-quarkus-testing-integration-tests.md @@ -4,7 +4,7 @@ description: Use when you need to write or improve integration tests for Quarkus license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus Integration Testing diff --git a/.cursor/rules/423-frameworks-quarkus-testing-acceptance-tests.md b/.cursor/rules/423-frameworks-quarkus-testing-acceptance-tests.md index 4e6a8cc6..7a381257 100644 --- a/.cursor/rules/423-frameworks-quarkus-testing-acceptance-tests.md +++ b/.cursor/rules/423-frameworks-quarkus-testing-acceptance-tests.md @@ -4,7 +4,7 @@ description: Use when you need to implement acceptance tests from a Gherkin .fea license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus acceptance tests from Gherkin diff --git a/.cursor/rules/501-frameworks-micronaut-core.md b/.cursor/rules/501-frameworks-micronaut-core.md index 61afe584..369205e9 100644 --- a/.cursor/rules/501-frameworks-micronaut-core.md +++ b/.cursor/rules/501-frameworks-micronaut-core.md @@ -4,7 +4,7 @@ description: Use when you need to review, improve, or build Micronaut applicatio license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut Core Guidelines diff --git a/.cursor/rules/502-frameworks-micronaut-rest.md b/.cursor/rules/502-frameworks-micronaut-rest.md index 9e6695cb..3ca54faa 100644 --- a/.cursor/rules/502-frameworks-micronaut-rest.md +++ b/.cursor/rules/502-frameworks-micronaut-rest.md @@ -4,7 +4,7 @@ description: Use when you need to design, review, or improve REST APIs with Micr license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut REST API Guidelines diff --git a/.cursor/rules/511-frameworks-micronaut-jdbc.md b/.cursor/rules/511-frameworks-micronaut-jdbc.md index 921c9526..398d6d4d 100644 --- a/.cursor/rules/511-frameworks-micronaut-jdbc.md +++ b/.cursor/rules/511-frameworks-micronaut-jdbc.md @@ -4,7 +4,7 @@ description: Use when you need to write or review programmatic JDBC in Micronaut license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut JDBC — programmatic SQL diff --git a/.cursor/rules/512-frameworks-micronaut-data.md b/.cursor/rules/512-frameworks-micronaut-data.md index d60c0a63..f57db8a3 100644 --- a/.cursor/rules/512-frameworks-micronaut-data.md +++ b/.cursor/rules/512-frameworks-micronaut-data.md @@ -4,7 +4,7 @@ description: Use when you need data access with Micronaut Data — including JDB license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut Data Guidelines diff --git a/.cursor/rules/513-frameworks-micronaut-db-migrations-flyway.md b/.cursor/rules/513-frameworks-micronaut-db-migrations-flyway.md index 3ecbdf1b..30a8d885 100644 --- a/.cursor/rules/513-frameworks-micronaut-db-migrations-flyway.md +++ b/.cursor/rules/513-frameworks-micronaut-db-migrations-flyway.md @@ -4,7 +4,7 @@ description: Use when you need to add or review Flyway database migrations in a license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut — Database migrations (Flyway) diff --git a/.cursor/rules/521-frameworks-micronaut-testing-unit-tests.md b/.cursor/rules/521-frameworks-micronaut-testing-unit-tests.md index d29dd0ef..72bfcf31 100644 --- a/.cursor/rules/521-frameworks-micronaut-testing-unit-tests.md +++ b/.cursor/rules/521-frameworks-micronaut-testing-unit-tests.md @@ -4,7 +4,7 @@ description: Use when you need to write unit tests for Micronaut applications license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut Unit Testing diff --git a/.cursor/rules/522-frameworks-micronaut-testing-integration-tests.md b/.cursor/rules/522-frameworks-micronaut-testing-integration-tests.md index 64325d56..e444129b 100644 --- a/.cursor/rules/522-frameworks-micronaut-testing-integration-tests.md +++ b/.cursor/rules/522-frameworks-micronaut-testing-integration-tests.md @@ -4,7 +4,7 @@ description: Use when you need to write or improve integration tests for Microna license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut Integration Testing diff --git a/.cursor/rules/523-frameworks-micronaut-testing-acceptance-tests.md b/.cursor/rules/523-frameworks-micronaut-testing-acceptance-tests.md index eb1ecd06..38e12d2b 100644 --- a/.cursor/rules/523-frameworks-micronaut-testing-acceptance-tests.md +++ b/.cursor/rules/523-frameworks-micronaut-testing-acceptance-tests.md @@ -4,7 +4,7 @@ description: Use when you need to implement acceptance tests from a Gherkin .fea license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut acceptance tests from Gherkin diff --git a/.cursor/rules/behaviour-article-writer.md b/.cursor/rules/behaviour-article-writer.md index ba5323d6..6055757e 100644 --- a/.cursor/rules/behaviour-article-writer.md +++ b/.cursor/rules/behaviour-article-writer.md @@ -2,7 +2,7 @@ name: behaviour-article-writer metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Behaviour Article Writer diff --git a/.cursor/rules/behaviour-consultative-interaction.md b/.cursor/rules/behaviour-consultative-interaction.md index d5e7630b..2432acf3 100644 --- a/.cursor/rules/behaviour-consultative-interaction.md +++ b/.cursor/rules/behaviour-consultative-interaction.md @@ -2,7 +2,7 @@ name: behaviour-consultative-interaction metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Behaviour Consultative Interaction Technique diff --git a/.cursor/rules/behaviour-progressive-learning.md b/.cursor/rules/behaviour-progressive-learning.md index c32cbaef..01fab529 100644 --- a/.cursor/rules/behaviour-progressive-learning.md +++ b/.cursor/rules/behaviour-progressive-learning.md @@ -2,7 +2,7 @@ name: behaviour-progressive-learning metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Behaviour Progressive Learning diff --git a/SYSTEM-PROMPTS-JAVA.md b/SYSTEM-PROMPTS-JAVA.md index 111778bb..755abc13 100644 --- a/SYSTEM-PROMPTS-JAVA.md +++ b/SYSTEM-PROMPTS-JAVA.md @@ -34,6 +34,7 @@ Use the following collection of System prompts of Java to improve your Java deve | [111-java-maven-dependencies](.cursor/rules/111-java-maven-dependencies.md) | Add Maven dependencies for improved code quality | **Interactive User Prompt:** `Add essential Maven dependencies for code quality using @111-java-maven-dependencies` **User Prompt:** `Add VAVR dependency with the help of@111-java-maven-dependencies and not make any question` (Example)**Note:** Add in the context the `pom.xml` which you want to enhance with quality dependencies. | It is possible to apply the System prompt in an interactive and non interactive way. Using the interactive approach, the Software engineer will interact with the cursor rule to selectively add JSpecify, Error Prone, NullAway and VAVR dependencies based on project needs. | | [112-java-maven-plugins](.cursor/rules/112-java-maven-plugins.md) | Update your `pom.xml` with Maven Dependencies & Plugins | **Interactive User Prompt:** `Improve the pom.xml using the cursor rule @112-java-maven-plugins` **User Prompt:** `Add Maven Enforcer plugin only from the rule @112-java-maven-plugins without any question` (Example) **Note:** Add in the context the `pom.xml` which you want to generate the documentation. | It is possible to apply the System prompt in an interactive and non interactive way. Using the interactive approach, the Software engineer will interact with the cursor rule to update the `pom.xml`. | | [113-java-maven-documentation](.cursor/rules/113-java-maven-documentation.md) | Create a Maven Documentation with the file `README-DEV.md` | **User Prompt:** `Generate developer documentation with essential Maven commands using @113-java-maven-documentation` **Note:** Add in the context the `pom.xml` which you want to generate the documentation. | This cursor rule is applied automatically without any interaction with the Software engineer. | +| [114-java-maven-search](.cursor/rules/114-java-maven-search.md) | Search Maven Central, resolve coordinates, version metadata, and direct artifact URLs | **User Prompt:** `Find the latest version of com.google.guava:guava using @114-java-maven-search` **Note:** Use for dependency lookup, POM/JAR URLs, `maven-metadata.xml`, or Search API queries — not for editing `pom.xml` (use `@111` / `@112` for that). | Non-interactive. Use MCP Maven tools when available for live Central queries. | ## Design rules @@ -97,7 +98,7 @@ Use the following collection of System prompts of Java to improve your Java deve | Cursor Rule | Description | Prompt | Notes | |----|----|----|----| | [301-frameworks-spring-boot-core](.cursor/rules/301-frameworks-spring-boot-core.md) | Apply Spring Boot core guidelines — @SpringBootApplication, component annotations, bean definition, @ConfigurationProperties, profiles, constructor injection | **User Prompt:** `Improve the Spring Boot application in context using @301-frameworks-spring-boot-core` **Note:** Add in the context the application classes or project. | Core Spring Boot best practices. | -| [302-frameworks-spring-boot-rest](.cursor/rules/302-frameworks-spring-boot-rest.md) | Design and improve REST APIs with Spring Boot — HTTP methods, URIs, status codes, DTOs, versioning, error handling, API documentation | **User Prompt:** `Review and improve the REST API in context using @302-frameworks-spring-boot-rest` **Note:** Add in the context the controllers or API classes. | REST API design principles. | +| [302-frameworks-spring-boot-rest](.cursor/rules/302-frameworks-spring-boot-rest.md) | Design and improve REST APIs with Spring Boot — HTTP methods, URIs, status codes, DTOs, versioning, error handling, OpenAPI as contract (API-first) | **User Prompt:** `Review and improve the REST API in context using @302-frameworks-spring-boot-rest` **Note:** Add in the context the controllers or API classes. | REST API design principles. | | [311-frameworks-spring-jdbc](.cursor/rules/311-frameworks-spring-jdbc.md) | Programmatic JDBC with Spring — JdbcClient (Spring Framework 6.1+), JdbcTemplate for batch/streaming APIs, parameterized SQL, RowMapper, batch updates, transactions | **User Prompt:** `Review or improve JDBC data access using @311-frameworks-spring-jdbc` **Note:** Add in the context repository/DAO classes or SQL usage. | Use for ad-hoc SQL and JDBC; for repository-style aggregates prefer `@312-frameworks-spring-data-jdbc`. | | [312-frameworks-spring-data-jdbc](.cursor/rules/312-frameworks-spring-data-jdbc.md) | Apply Spring Data JDBC with Java records — entity design, repository pattern, immutable updates, aggregate relationships, custom queries | **User Prompt:** `Improve the data access layer in context using @312-frameworks-spring-data-jdbc` **Note:** Add in the context the entities, repositories, or project. | Spring Data JDBC with records. | | [313-frameworks-spring-db-migrations-flyway](.cursor/rules/313-frameworks-spring-db-migrations-flyway.md) | Flyway database migrations with Spring Boot — `db/migration` scripts, `spring.flyway.*`, baseline/validate, Java migrations | **User Prompt:** `Add or review Flyway migrations in context using @313-frameworks-spring-db-migrations-flyway` **Note:** Add `pom.xml`, `application.properties`, or migration SQL. | Pairs with `@311` / `@312` for JDBC and Spring Data JDBC. | @@ -110,7 +111,7 @@ Use the following collection of System prompts of Java to improve your Java deve | Cursor Rule | Description | Prompt | Notes | |----|----|----|----| | [401-frameworks-quarkus-core](.cursor/rules/401-frameworks-quarkus-core.md) | Apply Quarkus core guidelines — CDI beans, @ApplicationScoped, @ConfigMapping, profiles, lifecycle, extension-friendly structure | **User Prompt:** `Improve the Quarkus application in context using @401-frameworks-quarkus-core` **Note:** Add in the context the application classes or project. | Core Quarkus and CDI best practices. | -| [402-frameworks-quarkus-rest](.cursor/rules/402-frameworks-quarkus-rest.md) | Design and improve REST APIs with Quarkus REST (JAX-RS) — resources, HTTP semantics, DTOs, validation, error mapping, OpenAPI | **User Prompt:** `Review and improve the REST API in context using @402-frameworks-quarkus-rest` **Note:** Add in the context the resource classes or project. | REST on Quarkus REST / JAX-RS. | +| [402-frameworks-quarkus-rest](.cursor/rules/402-frameworks-quarkus-rest.md) | Design and improve REST APIs with Quarkus REST (JAX-RS) — resources, HTTP semantics, DTOs, validation, error mapping, OpenAPI as contract (API-first), SmallRye optional | **User Prompt:** `Review and improve the REST API in context using @402-frameworks-quarkus-rest` **Note:** Add in the context the resource classes or project. | REST on Quarkus REST / JAX-RS. | | [411-frameworks-quarkus-jdbc](.cursor/rules/411-frameworks-quarkus-jdbc.md) | Programmatic JDBC with Quarkus — Agroal datasource, JdbcTemplate or java.sql with named parameters, transactions, records | **User Prompt:** `Review or improve JDBC data access using @411-frameworks-quarkus-jdbc` **Note:** Add in the context repository or SQL usage. | Explicit SQL; no ORM. | | [412-frameworks-quarkus-panache](.cursor/rules/412-frameworks-quarkus-panache.md) | Data access with Hibernate ORM Panache — repositories, active record, queries, transactions; keep persistence simple (no Spring Data JPA) | **User Prompt:** `Improve the data access layer in context using @412-frameworks-quarkus-panache` **Note:** Add entities, repositories, or project. | Panache for relational data; pair with `@411` for raw SQL. | | [413-frameworks-quarkus-db-migrations-flyway](.cursor/rules/413-frameworks-quarkus-db-migrations-flyway.md) | Flyway database migrations with Quarkus — `quarkus-flyway`, `db/migration`, `quarkus.flyway.*`, migrate-at-start | **User Prompt:** `Add or review Flyway migrations in context using @413-frameworks-quarkus-db-migrations-flyway` **Note:** Add `pom.xml`, `application.properties`, or migration SQL. | Pairs with `@411` / `@412` for JDBC and Panache. | @@ -123,7 +124,7 @@ Use the following collection of System prompts of Java to improve your Java deve | Cursor Rule | Description | Prompt | Notes | |----|----|----|----| | [501-frameworks-micronaut-core](.cursor/rules/501-frameworks-micronaut-core.md) | Apply Micronaut core guidelines — Micronaut.run, @Singleton/@Factory, @ConfigurationProperties, @Requires, scheduling, graceful shutdown | **User Prompt:** `Improve the Micronaut application in context using @501-frameworks-micronaut-core` **Note:** Add in the context the application classes or project. | Core Micronaut and DI best practices. | -| [502-frameworks-micronaut-rest](.cursor/rules/502-frameworks-micronaut-rest.md) | Design and improve REST APIs with Micronaut — @Controller, HTTP semantics, DTOs, validation, errors, OpenAPI | **User Prompt:** `Review and improve the REST API in context using @502-frameworks-micronaut-rest` **Note:** Add in the context the controllers or project. | REST on Micronaut HTTP. | +| [502-frameworks-micronaut-rest](.cursor/rules/502-frameworks-micronaut-rest.md) | Design and improve REST APIs with Micronaut — @Controller, HTTP semantics, DTOs, validation, errors, OpenAPI as contract (API-first) | **User Prompt:** `Review and improve the REST API in context using @502-frameworks-micronaut-rest` **Note:** Add in the context the controllers or project. | REST on Micronaut HTTP. | | [511-frameworks-micronaut-jdbc](.cursor/rules/511-frameworks-micronaut-jdbc.md) | Programmatic JDBC with Micronaut — pooled DataSource, PreparedStatement, text blocks, @Transactional, records, domain exceptions | **User Prompt:** `Review or improve JDBC data access using @511-frameworks-micronaut-jdbc` **Note:** Add in the context repository or SQL usage. | Explicit SQL; pair with `@512` for generated repositories. | | [512-frameworks-micronaut-data](.cursor/rules/512-frameworks-micronaut-data.md) | Micronaut Data — @MappedEntity, repositories, @Query, transactions, pagination, Testcontainers tests | **User Prompt:** `Improve the data access layer in context using @512-frameworks-micronaut-data` **Note:** Add entities, repositories, or project. | Repository-style access; use `@511` for raw JDBC. | | [513-frameworks-micronaut-db-migrations-flyway](.cursor/rules/513-frameworks-micronaut-db-migrations-flyway.md) | Flyway database migrations with Micronaut — `micronaut-flyway`, `db/migration`, `flyway.datasources.*` | **User Prompt:** `Add or review Flyway migrations in context using @513-frameworks-micronaut-db-migrations-flyway` **Note:** Add `pom.xml`, `application.yml`, or migration SQL. | Pairs with `@511` / `@512` for JDBC and Micronaut Data. | diff --git a/documentation/MAINTENANCE.md b/documentation/MAINTENANCE.md index 92f09898..2df22e23 100644 --- a/documentation/MAINTENANCE.md +++ b/documentation/MAINTENANCE.md @@ -41,13 +41,15 @@ npx skills add jabrena/cursor-rules-java --all --agent cursor Can you update the current changelog for 0.13.0 comparing git commits in relation to 0.12.0 tag. Use @https://keepachangelog.com/en/1.1.0/ rules # Maven command to update the maven version to next minor version -./mvnw versions:set -DnewVersion=0.13.0 +./mvnw versions:set -DnewVersion=0.14.0-SNAPSHOT ./mvnw versions:commit # Prompt to update the project to a new version -Update xml files from @resources/ and update the version to 0.13.0 removing Snapshot. Update @pom.xml with the new version 0.13.0 Generate system prompts again with ./mvnw clean install -pl system-prompts-generator +Update xml files from @resources/ and update the version to 0.14.0-SNAPSHOT removing Snapshot. +Update @pom.xml with the new version 0.14.0-SNAPSHOT Generate system prompts again with ./mvnw clean install -pl system-prompts-generator -Update md files from @resources/ and update the version to 0.13.0 removing Snapshot. Update @pom.xml with the new version 0.13.0 Generate system prompts again with ./mvnw clean install -pl skils-generator -am +Update md files from @resources/ and update the version to 0.13.0 removing Snapshot. +Update @pom.xml with the new version 0.14.0-SNAPSHOT Generate system prompts again with ./mvnw clean install -pl skils-generator -am ## Note: Refactor a bit more to include all pom.xml diff --git a/examples/quarkus-demo/pom.xml b/examples/quarkus-demo/pom.xml index f386dc9b..08694b4a 100644 --- a/examples/quarkus-demo/pom.xml +++ b/examples/quarkus-demo/pom.xml @@ -12,7 +12,7 @@ UTF-8 quarkus-bom io.quarkus.platform - 3.24.1 + 3.34.2 true 3.5.3 diff --git a/pom.xml b/pom.xml index 087762e9..30ed49c6 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ info.jab cursor-rules-java - 0.13.0 + 0.14.0-SNAPSHOT pom cursor-rules-java The project provides a curated collection of System prompts and Skills for modern diff --git a/site-generator/pom.xml b/site-generator/pom.xml index 486186f7..0df8df88 100644 --- a/site-generator/pom.xml +++ b/site-generator/pom.xml @@ -8,7 +8,7 @@ info.jab cursor-rules-java - 0.13.0 + 0.14.0-SNAPSHOT cursor-rules-java-site diff --git a/skills-generator/pom.xml b/skills-generator/pom.xml index 8ea048e5..0c0a8caf 100644 --- a/skills-generator/pom.xml +++ b/skills-generator/pom.xml @@ -7,7 +7,7 @@ info.jab cursor-rules-java - 0.13.0 + 0.14.0-SNAPSHOT info.jab.pml diff --git a/skills-generator/src/main/resources/skill-inventory.json b/skills-generator/src/main/resources/skill-inventory.json index 1dd54a74..11bac90f 100644 --- a/skills-generator/src/main/resources/skill-inventory.json +++ b/skills-generator/src/main/resources/skill-inventory.json @@ -11,6 +11,7 @@ {"id": "111", "xml": true}, {"id": "112", "xml": true}, {"id": "113", "xml": true}, + {"id": "114", "xml": true}, {"id": "121", "xml": true}, {"id": "122", "xml": true}, {"id": "123", "xml": true}, diff --git a/skills-generator/src/main/resources/skills/012-skill.xml b/skills-generator/src/main/resources/skills/012-skill.xml index fbaa6912..0d8c2f27 100644 --- a/skills-generator/src/main/resources/skills/012-skill.xml +++ b/skills-generator/src/main/resources/skills/012-skill.xml @@ -5,7 +5,7 @@ interactive="true"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Guides the creation of agile epics with comprehensive definition including business value, success criteria, and breakdown into user stories. Use when the user wants to create an agile epic, define large bodies of work, break down features into user stories, or document strategic initiatives. diff --git a/skills-generator/src/main/resources/skills/013-skill.xml b/skills-generator/src/main/resources/skills/013-skill.xml index 2a897808..9e0d45b5 100644 --- a/skills-generator/src/main/resources/skills/013-skill.xml +++ b/skills-generator/src/main/resources/skills/013-skill.xml @@ -5,7 +5,7 @@ interactive="true"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 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. diff --git a/skills-generator/src/main/resources/skills/014-skill.xml b/skills-generator/src/main/resources/skills/014-skill.xml index 7e4d5bee..65418421 100644 --- a/skills-generator/src/main/resources/skills/014-skill.xml +++ b/skills-generator/src/main/resources/skills/014-skill.xml @@ -5,7 +5,7 @@ interactive="true"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 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. diff --git a/skills-generator/src/main/resources/skills/030-skill.xml b/skills-generator/src/main/resources/skills/030-skill.xml index 2dd85d4a..e822b1a7 100644 --- a/skills-generator/src/main/resources/skills/030-skill.xml +++ b/skills-generator/src/main/resources/skills/030-skill.xml @@ -5,7 +5,7 @@ interactive="true"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 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. diff --git a/skills-generator/src/main/resources/skills/031-skill.xml b/skills-generator/src/main/resources/skills/031-skill.xml index 9451d6fe..409c5037 100644 --- a/skills-generator/src/main/resources/skills/031-skill.xml +++ b/skills-generator/src/main/resources/skills/031-skill.xml @@ -5,7 +5,7 @@ interactive="true"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 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. diff --git a/skills-generator/src/main/resources/skills/032-skill.xml b/skills-generator/src/main/resources/skills/032-skill.xml index 81a40993..85983455 100644 --- a/skills-generator/src/main/resources/skills/032-skill.xml +++ b/skills-generator/src/main/resources/skills/032-skill.xml @@ -5,7 +5,7 @@ interactive="true"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Facilitates conversational discovery to create Architectural Decision Records (ADRs) for non-functional requirements using the ISO/IEC 25010:2023 quality model. Use when the user wants to document quality attributes, NFR decisions, security/performance/scalability architecture, or design systems with measurable quality criteria. diff --git a/skills-generator/src/main/resources/skills/033-skill.xml b/skills-generator/src/main/resources/skills/033-skill.xml index 8544173c..a7f10eb5 100644 --- a/skills-generator/src/main/resources/skills/033-skill.xml +++ b/skills-generator/src/main/resources/skills/033-skill.xml @@ -5,7 +5,7 @@ interactive="true"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to generate Java project diagrams — including UML sequence diagrams, UML class diagrams, C4 model diagrams, UML state machine diagrams, and ER (Entity Relationship) diagrams — through a modular, step-based interactive process that adapts to your specific visualization needs. diff --git a/skills-generator/src/main/resources/skills/040-skill.xml b/skills-generator/src/main/resources/skills/040-skill.xml index ed905cb7..1b8b98aa 100644 --- a/skills-generator/src/main/resources/skills/040-skill.xml +++ b/skills-generator/src/main/resources/skills/040-skill.xml @@ -5,7 +5,7 @@ interactive="true"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when creating a plan using Plan model and enhancing structured design plans in Cursor Plan mode for Java implementations. Use when the user wants to create a plan, design an implementation, structure a development plan, or use plan mode for outside-in TDD, feature implementation, or refactoring work. diff --git a/skills-generator/src/main/resources/skills/110-skill.xml b/skills-generator/src/main/resources/skills/110-skill.xml index fc222fe0..9c6a8362 100644 --- a/skills-generator/src/main/resources/skills/110-skill.xml +++ b/skills-generator/src/main/resources/skills/110-skill.xml @@ -4,7 +4,7 @@ id="110-java-maven-best-practices"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to review, improve, or troubleshoot a Maven pom.xml file — including dependency management with BOMs, plugin configuration, version centralization, multi-module project structure, build profiles, or any situation where you want to align your Maven setup with industry best practices. diff --git a/skills-generator/src/main/resources/skills/111-skill.xml b/skills-generator/src/main/resources/skills/111-skill.xml index 6100549a..cd6b3366 100644 --- a/skills-generator/src/main/resources/skills/111-skill.xml +++ b/skills-generator/src/main/resources/skills/111-skill.xml @@ -5,7 +5,7 @@ interactive="true"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to add or evaluate Maven dependencies that improve code quality — including nullness annotations (JSpecify), static analysis (Error Prone + NullAway), functional programming (VAVR), or architecture testing (ArchUnit) — and want a consultative, question-driven approach that adds only what you actually need. diff --git a/skills-generator/src/main/resources/skills/112-skill.xml b/skills-generator/src/main/resources/skills/112-skill.xml index 5ba56651..48156b15 100644 --- a/skills-generator/src/main/resources/skills/112-skill.xml +++ b/skills-generator/src/main/resources/skills/112-skill.xml @@ -5,7 +5,7 @@ interactive="true"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to add or configure Maven plugins in your pom.xml — including quality tools (enforcer, surefire, failsafe, jacoco, pitest, spotbugs, pmd), security scanning (OWASP), code formatting (Spotless), version management, container image build (Jib), build information tracking, and benchmarking (JMH) — through a consultative, modular step-by-step approach that only adds what you actually need. diff --git a/skills-generator/src/main/resources/skills/113-skill.xml b/skills-generator/src/main/resources/skills/113-skill.xml index dd2606f8..62943e64 100644 --- a/skills-generator/src/main/resources/skills/113-skill.xml +++ b/skills-generator/src/main/resources/skills/113-skill.xml @@ -4,7 +4,7 @@ id="113-java-maven-documentation"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to create a DEVELOPER.md file for a Maven project — combining a fixed base template with dynamic sections derived from the project pom.xml, including a Plugin Goals Reference, Maven Profiles table, and Submodules table for multi-module projects. diff --git a/skills-generator/src/main/resources/skills/114-skill.xml b/skills-generator/src/main/resources/skills/114-skill.xml new file mode 100644 index 00000000..3c99c7d7 --- /dev/null +++ b/skills-generator/src/main/resources/skills/114-skill.xml @@ -0,0 +1,55 @@ + + + + Juan Antonio Breña Moral + 0.14.0-SNAPSHOT + Apache-2.0 + Covers Maven Central search (Search API, maven-metadata.xml, artifact URLs) and project-local update reports via versions-maven-plugin (display-property-updates, display-dependency-updates, display-plugin-updates). Use when finding or verifying coordinates, browsing Central, or checking what newer versions apply to the user’s pom.xml. + + + Maven Central search and coordinates + + + + Verify coordinates against the Search API or repository responses before asserting availability. Prefer release versions unless snapshots are explicitly required. + + **VERIFY**: Do not invent GAVs — confirm via Search API or successful GET of metadata/POM + **FORMAT**: Always express full coordinates as `groupId:artifactId:version` when a version is fixed + **BEFORE APPLYING**: Read the reference for step-by-step workflows, query syntax, and URL patterns + + + + + + Search Maven Central + Find Maven dependency + Maven coordinates + groupId artifactId version + Latest version Maven + maven-metadata.xml + Download JAR from Maven Central + Download javadocs + Dependency tree transitive + display-dependency-updates + display-plugin-updates + Outdated Maven dependencies + + + + + + references/114-java-maven-search.md + + + diff --git a/skills-generator/src/main/resources/skills/121-skill.xml b/skills-generator/src/main/resources/skills/121-skill.xml index fe407ee9..f744695c 100644 --- a/skills-generator/src/main/resources/skills/121-skill.xml +++ b/skills-generator/src/main/resources/skills/121-skill.xml @@ -4,7 +4,7 @@ id="121-java-object-oriented-design"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to review, improve, or refactor Java code for object-oriented design quality — including applying SOLID, DRY, and YAGNI principles, improving class and interface design, fixing OOP concept misuse (encapsulation, inheritance, polymorphism), identifying and resolving code smells (God Class, Feature Envy, Data Clumps), or improving object creation patterns, method design, and exception handling. diff --git a/skills-generator/src/main/resources/skills/122-skill.xml b/skills-generator/src/main/resources/skills/122-skill.xml index 53f7951c..42f69b2f 100644 --- a/skills-generator/src/main/resources/skills/122-skill.xml +++ b/skills-generator/src/main/resources/skills/122-skill.xml @@ -4,7 +4,7 @@ id="122-java-type-design"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to review, improve, or refactor Java code for type design quality — including establishing clear type hierarchies, applying consistent naming conventions, eliminating primitive obsession with domain-specific value objects, leveraging generic type parameters, creating type-safe wrappers, designing fluent interfaces, ensuring precision-appropriate numeric types (BigDecimal for financial calculations), and improving type contrast through interfaces and method signature alignment. diff --git a/skills-generator/src/main/resources/skills/123-skill.xml b/skills-generator/src/main/resources/skills/123-skill.xml index a44f2e4c..175ae114 100644 --- a/skills-generator/src/main/resources/skills/123-skill.xml +++ b/skills-generator/src/main/resources/skills/123-skill.xml @@ -4,7 +4,7 @@ id="123-java-exception-handling"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to apply Java exception handling best practices — including using specific exception types, managing resources with try-with-resources, securing exception messages, preserving error context via exception chaining, validating inputs early with fail-fast principles, handling thread interruption correctly, documenting exceptions with @throws, enforcing logging policy, translating exceptions at API boundaries, managing retries and idempotency, enforcing timeouts, attaching suppressed exceptions, and propagating failures in async/reactive code. diff --git a/skills-generator/src/main/resources/skills/124-skill.xml b/skills-generator/src/main/resources/skills/124-skill.xml index a19b80d0..6c51c2b4 100644 --- a/skills-generator/src/main/resources/skills/124-skill.xml +++ b/skills-generator/src/main/resources/skills/124-skill.xml @@ -4,7 +4,7 @@ id="124-java-secure-coding"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to apply Java secure coding best practices — including validating untrusted inputs, defending against injection attacks with parameterized queries, minimizing attack surface via least privilege, applying strong cryptographic algorithms, handling exceptions securely without exposing sensitive data, managing secrets at runtime, avoiding unsafe deserialization, and encoding output to prevent XSS. diff --git a/skills-generator/src/main/resources/skills/125-skill.xml b/skills-generator/src/main/resources/skills/125-skill.xml index 04a59b0f..710a91e3 100644 --- a/skills-generator/src/main/resources/skills/125-skill.xml +++ b/skills-generator/src/main/resources/skills/125-skill.xml @@ -4,7 +4,7 @@ id="125-java-concurrency"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to apply Java concurrency best practices — including thread safety fundamentals, ExecutorService thread pool management, concurrent design patterns like Producer-Consumer, asynchronous programming with CompletableFuture, immutability and safe publication, deadlock avoidance, virtual threads, scoped values, backpressure, cancellation discipline, and observability for concurrent systems. diff --git a/skills-generator/src/main/resources/skills/128-skill.xml b/skills-generator/src/main/resources/skills/128-skill.xml index dd54da18..673a4663 100644 --- a/skills-generator/src/main/resources/skills/128-skill.xml +++ b/skills-generator/src/main/resources/skills/128-skill.xml @@ -4,7 +4,7 @@ id="128-java-generics"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to review, improve, or refactor Java code for generics quality — including avoiding raw types, applying the PECS (Producer Extends Consumer Super) principle for wildcards, using bounded type parameters, designing effective generic methods, leveraging the diamond operator, understanding type erasure implications, handling generic inheritance correctly, preventing heap pollution with @SafeVarargs, and integrating generics with modern Java features like Records, sealed types, and pattern matching. diff --git a/skills-generator/src/main/resources/skills/130-skill.xml b/skills-generator/src/main/resources/skills/130-skill.xml index 1836e168..097d2eca 100644 --- a/skills-generator/src/main/resources/skills/130-skill.xml +++ b/skills-generator/src/main/resources/skills/130-skill.xml @@ -4,7 +4,7 @@ id="130-java-testing-strategies"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to apply testing strategies for Java code — RIGHT-BICEP to guide test creation, A-TRIP for test quality characteristics, or CORRECT for verifying boundary conditions. diff --git a/skills-generator/src/main/resources/skills/131-skill.xml b/skills-generator/src/main/resources/skills/131-skill.xml index e7104f16..3f8939dd 100644 --- a/skills-generator/src/main/resources/skills/131-skill.xml +++ b/skills-generator/src/main/resources/skills/131-skill.xml @@ -4,7 +4,7 @@ id="131-java-testing-unit-testing"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to review, improve, or write Java unit tests — including migrating from JUnit 4 to JUnit 5, adopting AssertJ for fluent assertions, structuring tests with Given-When-Then, ensuring test independence, applying parameterized tests, mocking dependencies with Mockito, verifying boundary conditions (RIGHT-BICEP, CORRECT, A-TRIP), leveraging JSpecify null-safety annotations, or eliminating testing anti-patterns such as reflection-based tests or shared mutable state. diff --git a/skills-generator/src/main/resources/skills/132-skill.xml b/skills-generator/src/main/resources/skills/132-skill.xml index 448cdb88..13075712 100644 --- a/skills-generator/src/main/resources/skills/132-skill.xml +++ b/skills-generator/src/main/resources/skills/132-skill.xml @@ -4,7 +4,7 @@ id="132-java-testing-integration-testing"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to set up, review, or improve Java integration tests — including generating a BaseIntegrationTest.java with WireMock for HTTP stubs, detecting HTTP client infrastructure from import signals, injecting service coordinates dynamically via System.setProperty(), creating WireMock JSON mapping files with bodyFileName, isolating stubs per test method, verifying HTTP interactions, or eliminating anti-patterns such as Mockito-mocked HTTP clients or globally registered WireMock stubs. diff --git a/skills-generator/src/main/resources/skills/133-skill.xml b/skills-generator/src/main/resources/skills/133-skill.xml index 04981b27..eacddc7a 100644 --- a/skills-generator/src/main/resources/skills/133-skill.xml +++ b/skills-generator/src/main/resources/skills/133-skill.xml @@ -4,7 +4,7 @@ id="133-java-testing-acceptance-tests"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to implement acceptance tests from a Gherkin .feature file for framework-agnostic Java (no Spring Boot, Quarkus, Micronaut) — finding @acceptance scenarios, happy path with RestAssured, Testcontainers for DB/Kafka, WireMock for external REST. Requires .feature file in context. diff --git a/skills-generator/src/main/resources/skills/141-skill.xml b/skills-generator/src/main/resources/skills/141-skill.xml index 041bcb9e..48d996ec 100644 --- a/skills-generator/src/main/resources/skills/141-skill.xml +++ b/skills-generator/src/main/resources/skills/141-skill.xml @@ -4,7 +4,7 @@ id="141-java-refactoring-with-modern-features"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to refactor Java code to adopt modern Java features (Java 8+) — including migrating anonymous classes to lambdas, replacing Iterator loops with Stream API, adopting Optional for null safety, switching from legacy Date/Calendar to java.time, using collection factory methods, applying text blocks, var inference, or leveraging Java 25 features like flexible constructor bodies and module import declarations. diff --git a/skills-generator/src/main/resources/skills/142-skill.xml b/skills-generator/src/main/resources/skills/142-skill.xml index a0f32190..36de66cd 100644 --- a/skills-generator/src/main/resources/skills/142-skill.xml +++ b/skills-generator/src/main/resources/skills/142-skill.xml @@ -4,7 +4,7 @@ id="142-java-functional-programming"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to apply functional programming principles in Java — including writing immutable objects and Records, pure functions, functional interfaces, lambda expressions, Stream API pipelines, Optional for null safety, function composition, higher-order functions, pattern matching for instanceof and switch, sealed classes/interfaces for controlled hierarchies, Stream Gatherers for custom operations, currying/partial application, effect boundary separation, and concurrent-safe functional patterns. diff --git a/skills-generator/src/main/resources/skills/143-skill.xml b/skills-generator/src/main/resources/skills/143-skill.xml index 5469cdda..08620606 100644 --- a/skills-generator/src/main/resources/skills/143-skill.xml +++ b/skills-generator/src/main/resources/skills/143-skill.xml @@ -4,7 +4,7 @@ id="143-java-functional-exception-handling"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to apply functional exception handling best practices in Java — including replacing exception overuse with Optional and VAVR Either types, designing error type hierarchies using sealed classes and enums, implementing monadic error composition pipelines, establishing functional control flow patterns, and reserving exceptions only for truly exceptional system-level failures. diff --git a/skills-generator/src/main/resources/skills/144-skill.xml b/skills-generator/src/main/resources/skills/144-skill.xml index 77ef5cf3..c00b09a7 100644 --- a/skills-generator/src/main/resources/skills/144-skill.xml +++ b/skills-generator/src/main/resources/skills/144-skill.xml @@ -4,7 +4,7 @@ id="144-java-data-oriented-programming"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to apply data-oriented programming best practices in Java — including separating code (behavior) from data structures using records, designing immutable data with pure transformation functions, keeping data flat and denormalized with ID-based references, starting with generic data structures converting to specific types when needed, ensuring data integrity through pure validation functions, and creating flexible generic data access layers. diff --git a/skills-generator/src/main/resources/skills/151-skill.xml b/skills-generator/src/main/resources/skills/151-skill.xml index e46e09ed..4335d8df 100644 --- a/skills-generator/src/main/resources/skills/151-skill.xml +++ b/skills-generator/src/main/resources/skills/151-skill.xml @@ -4,7 +4,7 @@ id="151-java-performance-jmeter"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to set up JMeter performance testing for a Java project — including creating the run-jmeter.sh script from the exact template, configuring load tests with loops, threads, and ramp-up, or running performance tests from the project root with custom or default settings. diff --git a/skills-generator/src/main/resources/skills/161-skill.xml b/skills-generator/src/main/resources/skills/161-skill.xml index 908d664a..902b1dc0 100644 --- a/skills-generator/src/main/resources/skills/161-skill.xml +++ b/skills-generator/src/main/resources/skills/161-skill.xml @@ -4,7 +4,7 @@ id="161-java-profiling-detect"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to set up Java application profiling to detect and measure performance issues — including automated async-profiler v4.0 setup, problem-driven profiling (CPU, memory, threading, GC, I/O), interactive profiling scripts, JFR integration with Java 25 (JEP 518, JEP 520), or collecting profiling data with flamegraphs and JFR recordings. diff --git a/skills-generator/src/main/resources/skills/162-skill.xml b/skills-generator/src/main/resources/skills/162-skill.xml index d5401e65..fffef345 100644 --- a/skills-generator/src/main/resources/skills/162-skill.xml +++ b/skills-generator/src/main/resources/skills/162-skill.xml @@ -4,7 +4,7 @@ id="162-java-profiling-analyze"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to analyze Java profiling data collected during the detection phase — including interpreting flamegraphs, memory allocation patterns, CPU hotspots, threading issues, systematic problem categorization, evidence documentation with profiling-problem-analysis and profiling-solutions markdown files, or prioritizing fixes using Impact/Effort scoring. diff --git a/skills-generator/src/main/resources/skills/163-skill.xml b/skills-generator/src/main/resources/skills/163-skill.xml index 666d4517..dc790b30 100644 --- a/skills-generator/src/main/resources/skills/163-skill.xml +++ b/skills-generator/src/main/resources/skills/163-skill.xml @@ -4,7 +4,7 @@ id="163-java-profiling-refactor"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to refactor Java code based on profiling analysis findings — including reviewing docs/profiling-problem-analysis and docs/profiling-solutions, identifying specific performance bottlenecks, and implementing targeted code changes to address CPU, memory, or threading issues. diff --git a/skills-generator/src/main/resources/skills/164-skill.xml b/skills-generator/src/main/resources/skills/164-skill.xml index bf3933d3..ec83711d 100644 --- a/skills-generator/src/main/resources/skills/164-skill.xml +++ b/skills-generator/src/main/resources/skills/164-skill.xml @@ -4,7 +4,7 @@ id="164-java-profiling-verify"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to verify Java performance optimizations by comparing profiling results before and after refactoring — including baseline validation, post-refactoring report generation, quantitative before/after metrics comparison, side-by-side flamegraph analysis, regression detection, or creating profiling-comparison-analysis and profiling-final-results documentation. diff --git a/skills-generator/src/main/resources/skills/170-skill.xml b/skills-generator/src/main/resources/skills/170-skill.xml index 5f829472..1b852341 100644 --- a/skills-generator/src/main/resources/skills/170-skill.xml +++ b/skills-generator/src/main/resources/skills/170-skill.xml @@ -5,7 +5,7 @@ interactive="true"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to generate or improve Java project documentation — including README.md files, package-info.java files, and Javadoc enhancements — through a modular, step-based interactive process that adapts to your specific documentation needs. diff --git a/skills-generator/src/main/resources/skills/180-skill.xml b/skills-generator/src/main/resources/skills/180-skill.xml index 8eb7ead7..27c9a393 100644 --- a/skills-generator/src/main/resources/skills/180-skill.xml +++ b/skills-generator/src/main/resources/skills/180-skill.xml @@ -4,7 +4,7 @@ id="180-java-observability-logging"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to implement or improve Java logging and observability — including selecting SLF4J with Logback/Log4j2, applying proper log levels (ERROR, WARN, INFO, DEBUG, TRACE), parameterized logging, secure logging without sensitive data exposure, environment-specific configuration, log aggregation and monitoring, or validating logging through tests. diff --git a/skills-generator/src/main/resources/skills/200-skill.xml b/skills-generator/src/main/resources/skills/200-skill.xml index 844672ec..1cdc7267 100644 --- a/skills-generator/src/main/resources/skills/200-skill.xml +++ b/skills-generator/src/main/resources/skills/200-skill.xml @@ -5,7 +5,7 @@ interactive="true"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to generate an AGENTS.md file for a Java repository — covering project conventions, tech stack, file structure, commands, Git workflow, and contributor boundaries — through a modular, step-based interactive process that adapts to your specific project needs. diff --git a/skills-generator/src/main/resources/skills/301-skill.xml b/skills-generator/src/main/resources/skills/301-skill.xml index 5312b039..81078b6f 100644 --- a/skills-generator/src/main/resources/skills/301-skill.xml +++ b/skills-generator/src/main/resources/skills/301-skill.xml @@ -4,7 +4,7 @@ id="301-frameworks-spring-boot-core"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to review, improve, or build Spring Boot 4.0.x applications — including proper usage of @SpringBootApplication, component annotations (@Controller, @Service, @Repository), bean definition and scoping, configuration classes and @ConfigurationProperties (with @Validated), component scanning, conditional configuration and profiles, constructor injection, @Primary and @Qualifier for multiple beans of the same type, bean minimization, graceful shutdown, virtual threads, Jakarta EE namespace consistency, and scheduled tasks. diff --git a/skills-generator/src/main/resources/skills/302-skill.xml b/skills-generator/src/main/resources/skills/302-skill.xml index 318f7f02..61019f4a 100644 --- a/skills-generator/src/main/resources/skills/302-skill.xml +++ b/skills-generator/src/main/resources/skills/302-skill.xml @@ -4,7 +4,7 @@ id="302-frameworks-spring-boot-rest"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to design, review, or improve REST APIs with Spring Boot — including HTTP methods, resource URIs, status codes, DTOs, versioning, deprecation and sunset headers, content negotiation (JSON and vendor media types), ISO-8601 instants in DTOs, pagination/sorting/filtering, Bean Validation at the boundary, idempotency, ETag concurrency, HTTP caching, error handling, security, contract-first OpenAPI (OpenAPI Generator), controller advice, and problem details for errors. diff --git a/skills-generator/src/main/resources/skills/311-skill.xml b/skills-generator/src/main/resources/skills/311-skill.xml index 8ca2ecf9..cea71359 100644 --- a/skills-generator/src/main/resources/skills/311-skill.xml +++ b/skills-generator/src/main/resources/skills/311-skill.xml @@ -4,7 +4,7 @@ id="311-frameworks-spring-jdbc"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to write or review programmatic JDBC with Spring — including JdbcClient (Spring Framework 6.1+) as the default API, JdbcTemplate only where batch/streaming APIs require JdbcOperations, NamedParameterJdbcTemplate for legacy named-param code, parameterized SQL, RowMapper mapping to records, batch operations, transactions, safe handling of generated keys, DataAccessException handling, read-only transactions, streaming large result sets, and @JdbcTest slice testing. diff --git a/skills-generator/src/main/resources/skills/312-skill.xml b/skills-generator/src/main/resources/skills/312-skill.xml index 78eaca7f..01cd486c 100644 --- a/skills-generator/src/main/resources/skills/312-skill.xml +++ b/skills-generator/src/main/resources/skills/312-skill.xml @@ -4,7 +4,7 @@ id="312-frameworks-spring-data-jdbc"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to use Spring Data JDBC with Java records — including entity design with records, repository pattern, immutable updates, aggregate relationships, custom queries, transaction management, and avoiding N+1 problems. diff --git a/skills-generator/src/main/resources/skills/313-skill.xml b/skills-generator/src/main/resources/skills/313-skill.xml index 47e1341d..472e6953 100644 --- a/skills-generator/src/main/resources/skills/313-skill.xml +++ b/skills-generator/src/main/resources/skills/313-skill.xml @@ -4,7 +4,7 @@ id="313-frameworks-spring-db-migrations-flyway"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to add or review Flyway database migrations in a Spring Boot application — Maven dependencies, db/migration scripts, spring.flyway.* configuration, baseline and validation, and alignment with JDBC or Spring Data JDBC. diff --git a/skills-generator/src/main/resources/skills/321-skill.xml b/skills-generator/src/main/resources/skills/321-skill.xml index f0bed151..43895ff5 100644 --- a/skills-generator/src/main/resources/skills/321-skill.xml +++ b/skills-generator/src/main/resources/skills/321-skill.xml @@ -4,7 +4,7 @@ id="321-frameworks-spring-boot-testing-unit-tests"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to write unit tests for Spring Boot applications — including pure unit tests with @ExtendWith(MockitoExtension.class) for @Service/@Component, slice tests with @WebMvcTest and @MockitoBean for controllers, @JsonTest for JSON serialization, parameterized tests with @CsvSource/@MethodSource, test profiles, and @TestConfiguration. For framework-agnostic Java use @131-java-testing-unit-testing. For integration tests use @322-frameworks-spring-boot-testing-integration-tests. diff --git a/skills-generator/src/main/resources/skills/322-skill.xml b/skills-generator/src/main/resources/skills/322-skill.xml index ccdf2f8c..f2856505 100644 --- a/skills-generator/src/main/resources/skills/322-skill.xml +++ b/skills-generator/src/main/resources/skills/322-skill.xml @@ -4,7 +4,7 @@ id="322-frameworks-spring-boot-testing-integration-tests"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to write or improve integration tests — including Testcontainers with @ServiceConnection, @DataJdbcTest persistence slices, TestRestTemplate or MockMvcTester for HTTP, data isolation, and container lifecycle management for Spring Boot 4.0.x. diff --git a/skills-generator/src/main/resources/skills/323-skill.xml b/skills-generator/src/main/resources/skills/323-skill.xml index b4aacf90..03c26775 100644 --- a/skills-generator/src/main/resources/skills/323-skill.xml +++ b/skills-generator/src/main/resources/skills/323-skill.xml @@ -4,7 +4,7 @@ id="323-frameworks-spring-boot-testing-acceptance-tests"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to implement acceptance tests from a Gherkin .feature file for Spring Boot applications — including finding scenarios tagged @acceptance, implementing happy path tests with TestRestTemplate, @SpringBootTest, Testcontainers with @ServiceConnection for DB/Kafka, and WireMock for external REST stubs. Requires .feature file in context. diff --git a/skills-generator/src/main/resources/skills/401-skill.xml b/skills-generator/src/main/resources/skills/401-skill.xml index 57dc37ad..20414f9e 100644 --- a/skills-generator/src/main/resources/skills/401-skill.xml +++ b/skills-generator/src/main/resources/skills/401-skill.xml @@ -4,7 +4,7 @@ id="401-frameworks-quarkus-core"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to design, review, or improve REST APIs with Quarkus REST (Jakarta REST) — including resource classes, HTTP methods, status codes, request/response DTOs, Bean Validation, exception mappers, optional runtime OpenAPI exposure (SmallRye), contract-first generation from OpenAPI, content negotiation, pagination, sorting and filtering, API versioning, idempotency (Idempotency-Key), optimistic concurrency (ETag / If-Match), HTTP caching (Cache-Control), API deprecation (Sunset / Deprecation headers), RFC 7807 Problem Details, ISO-8601 for time in contracts, and security-aware boundaries. diff --git a/skills-generator/src/main/resources/skills/411-skill.xml b/skills-generator/src/main/resources/skills/411-skill.xml index def75d7a..5415b001 100644 --- a/skills-generator/src/main/resources/skills/411-skill.xml +++ b/skills-generator/src/main/resources/skills/411-skill.xml @@ -4,7 +4,7 @@ id="411-frameworks-quarkus-jdbc"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need programmatic JDBC in Quarkus — Agroal DataSource, parameterized SQL, transactions, batching, and Dev Services. diff --git a/skills-generator/src/main/resources/skills/412-skill.xml b/skills-generator/src/main/resources/skills/412-skill.xml index 73e270ba..e1a410c0 100644 --- a/skills-generator/src/main/resources/skills/412-skill.xml +++ b/skills-generator/src/main/resources/skills/412-skill.xml @@ -4,7 +4,7 @@ id="412-frameworks-quarkus-panache"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to add or review Flyway database migrations in a Quarkus application — quarkus-flyway extension, db/migration scripts, quarkus.flyway.* configuration, migrate-at-start, and alignment with JDBC or Panache. diff --git a/skills-generator/src/main/resources/skills/421-skill.xml b/skills-generator/src/main/resources/skills/421-skill.xml index 298ce7ad..30ed2ce7 100644 --- a/skills-generator/src/main/resources/skills/421-skill.xml +++ b/skills-generator/src/main/resources/skills/421-skill.xml @@ -4,7 +4,7 @@ id="421-frameworks-quarkus-testing-unit-tests"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to write fast unit tests for Quarkus applications — including pure tests with @ExtendWith(MockitoExtension.class), @QuarkusTest with @InjectMock for full CDI mock replacement, @InjectSpy for partial CDI bean mocking, REST Assured for resource-focused tests, @ParameterizedTest with @CsvSource / @MethodSource, QuarkusTestProfile for test-specific configuration overrides, and naming conventions (*Test → Surefire, *IT → Failsafe). For framework-agnostic Java use @131-java-testing-unit-testing. diff --git a/skills-generator/src/main/resources/skills/422-skill.xml b/skills-generator/src/main/resources/skills/422-skill.xml index aa4928e4..1ca94823 100644 --- a/skills-generator/src/main/resources/skills/422-skill.xml +++ b/skills-generator/src/main/resources/skills/422-skill.xml @@ -4,7 +4,7 @@ id="422-frameworks-quarkus-testing-integration-tests"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to write or improve integration tests for Quarkus — including @QuarkusTest, Dev Services for automatic container provisioning, Testcontainers via QuarkusTestResourceLifecycleManager, WireMock for external HTTP stubs, @QuarkusIntegrationTest for black-box testing against packaged artifacts, REST Assured, data isolation strategies (@TestTransaction vs @BeforeEach cleanup), and Maven Surefire/Failsafe three-tier split (*Test, *IT, *AT). diff --git a/skills-generator/src/main/resources/skills/423-skill.xml b/skills-generator/src/main/resources/skills/423-skill.xml index fdf07603..3b880dd9 100644 --- a/skills-generator/src/main/resources/skills/423-skill.xml +++ b/skills-generator/src/main/resources/skills/423-skill.xml @@ -4,7 +4,7 @@ id="423-frameworks-quarkus-testing-acceptance-tests"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to implement acceptance tests from a Gherkin .feature file for Quarkus applications — including @acceptance scenarios, @QuarkusTest, BaseAcceptanceTest with QuarkusTestResourceLifecycleManager for Testcontainers and WireMock, REST Assured for full HTTP pipeline testing, WireMock JSON mapping files (classpath:wiremock/mappings/), *AT suffix naming, and Maven Surefire/Failsafe three-tier split. Requires the .feature file in context. diff --git a/skills-generator/src/main/resources/skills/501-skill.xml b/skills-generator/src/main/resources/skills/501-skill.xml index 5f99c18b..c922fb6b 100644 --- a/skills-generator/src/main/resources/skills/501-skill.xml +++ b/skills-generator/src/main/resources/skills/501-skill.xml @@ -4,7 +4,7 @@ id="501-frameworks-micronaut-core"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to design, review, or improve REST APIs with Micronaut — including @Controller routes, HTTP status codes, DTOs, Bean Validation, exception handlers, pagination, idempotency, ETag/If-Match, caching headers, versioning, contract-first OpenAPI (OpenAPI Generator), optional runtime OpenAPI via micronaut-openapi, and security annotations. diff --git a/skills-generator/src/main/resources/skills/511-skill.xml b/skills-generator/src/main/resources/skills/511-skill.xml index b82e4091..e695f393 100644 --- a/skills-generator/src/main/resources/skills/511-skill.xml +++ b/skills-generator/src/main/resources/skills/511-skill.xml @@ -4,7 +4,7 @@ id="511-frameworks-micronaut-jdbc"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need programmatic JDBC in Micronaut — pooled DataSource, parameterized SQL, io.micronaut.transaction.annotation.Transactional, batching, and domain exception translation. diff --git a/skills-generator/src/main/resources/skills/512-skill.xml b/skills-generator/src/main/resources/skills/512-skill.xml index 4ba86e0b..250d536b 100644 --- a/skills-generator/src/main/resources/skills/512-skill.xml +++ b/skills-generator/src/main/resources/skills/512-skill.xml @@ -4,7 +4,7 @@ id="512-frameworks-micronaut-data"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need data access with Micronaut Data — @MappedEntity, CrudRepository/PageableRepository, @Query with parameters, @Transactional services, projections, @Version, and @MicronautTest with TestPropertyProvider and Testcontainers. For raw java.sql access without generated repositories, use @511-frameworks-micronaut-jdbc. diff --git a/skills-generator/src/main/resources/skills/513-skill.xml b/skills-generator/src/main/resources/skills/513-skill.xml index 8ce10cf4..c980f3d5 100644 --- a/skills-generator/src/main/resources/skills/513-skill.xml +++ b/skills-generator/src/main/resources/skills/513-skill.xml @@ -4,7 +4,7 @@ id="513-frameworks-micronaut-db-migrations-flyway"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to add or review Flyway database migrations in a Micronaut application — micronaut-flyway, db/migration scripts, flyway.datasources.* configuration, and alignment with JDBC or Micronaut Data. diff --git a/skills-generator/src/main/resources/skills/521-skill.xml b/skills-generator/src/main/resources/skills/521-skill.xml index c4defaa6..7d44439c 100644 --- a/skills-generator/src/main/resources/skills/521-skill.xml +++ b/skills-generator/src/main/resources/skills/521-skill.xml @@ -4,7 +4,7 @@ id="521-frameworks-micronaut-testing-unit-tests"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to write unit tests for Micronaut applications — Mockito-first with @ExtendWith(MockitoExtension.class), @MicronautTest with @MockBean, HttpClient @Client("/") assertions, @Property overrides, @ParameterizedTest, and *Test vs *IT naming. For framework-agnostic Java use @131-java-testing-unit-testing. diff --git a/skills-generator/src/main/resources/skills/522-skill.xml b/skills-generator/src/main/resources/skills/522-skill.xml index 82025fa6..531e9ebb 100644 --- a/skills-generator/src/main/resources/skills/522-skill.xml +++ b/skills-generator/src/main/resources/skills/522-skill.xml @@ -4,7 +4,7 @@ id="522-frameworks-micronaut-testing-integration-tests"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to write or improve integration tests for Micronaut — @MicronautTest, HttpClient, TestPropertyProvider with Testcontainers, transactional test mode where appropriate, and Maven Surefire/Failsafe splits for *Test, *Tests, *IT, and *AT. diff --git a/skills-generator/src/main/resources/skills/523-skill.xml b/skills-generator/src/main/resources/skills/523-skill.xml index ff7c3d40..fc9c81c3 100644 --- a/skills-generator/src/main/resources/skills/523-skill.xml +++ b/skills-generator/src/main/resources/skills/523-skill.xml @@ -4,7 +4,7 @@ id="523-frameworks-micronaut-testing-acceptance-tests"> Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Use when you need to implement acceptance tests from a Gherkin .feature file for Micronaut applications — @acceptance scenarios, @MicronautTest, HttpClient, BaseAcceptanceTest with TestPropertyProvider for Testcontainers and WireMock, *AT suffix, Failsafe. Requires the .feature file in context. diff --git a/skills/012-agile-epic/SKILL.md b/skills/012-agile-epic/SKILL.md index eaac34ce..88dcecd7 100644 --- a/skills/012-agile-epic/SKILL.md +++ b/skills/012-agile-epic/SKILL.md @@ -4,7 +4,7 @@ description: Guides the creation of agile epics with comprehensive definition in license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Create Agile Epics diff --git a/skills/012-agile-epic/references/012-agile-epic.md b/skills/012-agile-epic/references/012-agile-epic.md index ab42757d..4d809eb8 100644 --- a/skills/012-agile-epic/references/012-agile-epic.md +++ b/skills/012-agile-epic/references/012-agile-epic.md @@ -4,7 +4,7 @@ description: Use when the user wants to create an agile epic, define large bodie license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Create Agile Epics diff --git a/skills/013-agile-feature/SKILL.md b/skills/013-agile-feature/SKILL.md index 72acfcb7..50bdba46 100644 --- a/skills/013-agile-feature/SKILL.md +++ b/skills/013-agile-feature/SKILL.md @@ -4,7 +4,7 @@ description: Guides the creation of detailed agile feature documentation from an license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Create Agile Features from an Epic diff --git a/skills/013-agile-feature/references/013-agile-feature.md b/skills/013-agile-feature/references/013-agile-feature.md index 96f1afbf..abdfb1ce 100644 --- a/skills/013-agile-feature/references/013-agile-feature.md +++ b/skills/013-agile-feature/references/013-agile-feature.md @@ -4,7 +4,7 @@ description: Use when the user wants to derive detailed feature documentation fr license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Create Agile Features from an Epic diff --git a/skills/014-agile-user-story/SKILL.md b/skills/014-agile-user-story/SKILL.md index c792c7b1..ea38f91a 100644 --- a/skills/014-agile-user-story/SKILL.md +++ b/skills/014-agile-user-story/SKILL.md @@ -4,7 +4,7 @@ description: Guides the creation of agile user stories and Gherkin feature files license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Create Agile User Stories and Gherkin Feature Files diff --git a/skills/014-agile-user-story/references/014-agile-user-story.md b/skills/014-agile-user-story/references/014-agile-user-story.md index 8f4102b7..b64cad30 100644 --- a/skills/014-agile-user-story/references/014-agile-user-story.md +++ b/skills/014-agile-user-story/references/014-agile-user-story.md @@ -4,7 +4,7 @@ description: Use when the user wants to create a user story, write acceptance cr license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Create Agile User Stories and Gherkin Feature Files diff --git a/skills/030-architecture-adr-general/SKILL.md b/skills/030-architecture-adr-general/SKILL.md index 1c632d25..6c3075da 100644 --- a/skills/030-architecture-adr-general/SKILL.md +++ b/skills/030-architecture-adr-general/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to generate Architecture Decision Records (ADRs) license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java ADR Generator with interactive conversational approach diff --git a/skills/030-architecture-adr-general/references/030-architecture-adr-general.md b/skills/030-architecture-adr-general/references/030-architecture-adr-general.md index 095979e6..d982d6f8 100644 --- a/skills/030-architecture-adr-general/references/030-architecture-adr-general.md +++ b/skills/030-architecture-adr-general/references/030-architecture-adr-general.md @@ -4,7 +4,7 @@ description: Use when you need to generate Architecture Decision Records (ADRs) license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java ADR Generator with interactive conversational approach diff --git a/skills/031-architecture-adr-functional-requirements/SKILL.md b/skills/031-architecture-adr-functional-requirements/SKILL.md index 0c9bd6a3..f67fa8f6 100644 --- a/skills/031-architecture-adr-functional-requirements/SKILL.md +++ b/skills/031-architecture-adr-functional-requirements/SKILL.md @@ -4,7 +4,7 @@ description: Facilitates conversational discovery to create Architectural Decisi license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Create ADRs for Functional Requirements (CLI and/or REST API) diff --git a/skills/031-architecture-adr-functional-requirements/references/031-architecture-adr-functional-requirements.md b/skills/031-architecture-adr-functional-requirements/references/031-architecture-adr-functional-requirements.md index 4fd4532a..91ae96e8 100644 --- a/skills/031-architecture-adr-functional-requirements/references/031-architecture-adr-functional-requirements.md +++ b/skills/031-architecture-adr-functional-requirements/references/031-architecture-adr-functional-requirements.md @@ -4,7 +4,7 @@ description: Use when the user wants to document CLI and/or REST API architectur license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Create ADRs for Functional Requirements (CLI and/or REST API) diff --git a/skills/032-architecture-adr-non-functional-requirements/SKILL.md b/skills/032-architecture-adr-non-functional-requirements/SKILL.md index 9c19e400..458a9ab8 100644 --- a/skills/032-architecture-adr-non-functional-requirements/SKILL.md +++ b/skills/032-architecture-adr-non-functional-requirements/SKILL.md @@ -4,7 +4,7 @@ description: Facilitates conversational discovery to create Architectural Decisi license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Create ADRs for Non-Functional Requirements diff --git a/skills/032-architecture-adr-non-functional-requirements/references/032-architecture-adr-non-functional-requirements.md b/skills/032-architecture-adr-non-functional-requirements/references/032-architecture-adr-non-functional-requirements.md index f4312a2f..8efd24e2 100644 --- a/skills/032-architecture-adr-non-functional-requirements/references/032-architecture-adr-non-functional-requirements.md +++ b/skills/032-architecture-adr-non-functional-requirements/references/032-architecture-adr-non-functional-requirements.md @@ -4,7 +4,7 @@ description: Use when the user wants to document quality attributes, NFR decisio license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Create ADRs for Non-Functional Requirements diff --git a/skills/033-architecture-diagrams/SKILL.md b/skills/033-architecture-diagrams/SKILL.md index 0873144c..4981ce9d 100644 --- a/skills/033-architecture-diagrams/SKILL.md +++ b/skills/033-architecture-diagrams/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to generate Java project diagrams — including U license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Diagrams Generator with modular step-based configuration diff --git a/skills/033-architecture-diagrams/references/033-architecture-diagrams.md b/skills/033-architecture-diagrams/references/033-architecture-diagrams.md index 538a618e..d8d9d504 100644 --- a/skills/033-architecture-diagrams/references/033-architecture-diagrams.md +++ b/skills/033-architecture-diagrams/references/033-architecture-diagrams.md @@ -4,7 +4,7 @@ description: Use when you need to generate Java project diagrams — including U license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Diagrams Generator with modular step-based configuration diff --git a/skills/040-planning-plan-mode/SKILL.md b/skills/040-planning-plan-mode/SKILL.md index 9bc03f84..5e50a243 100644 --- a/skills/040-planning-plan-mode/SKILL.md +++ b/skills/040-planning-plan-mode/SKILL.md @@ -4,7 +4,7 @@ description: Use when creating a plan using Plan model and enhancing structured license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Design Plan Creation for Cursor Plan Mode diff --git a/skills/040-planning-plan-mode/references/040-planning-plan-mode.md b/skills/040-planning-plan-mode/references/040-planning-plan-mode.md index 0f1f617c..491519bd 100644 --- a/skills/040-planning-plan-mode/references/040-planning-plan-mode.md +++ b/skills/040-planning-plan-mode/references/040-planning-plan-mode.md @@ -4,7 +4,7 @@ description: Use when creating a plan using Plan model and enhancing structured license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Design Plan Creation for Cursor Plan Mode diff --git a/skills/110-java-maven-best-practices/SKILL.md b/skills/110-java-maven-best-practices/SKILL.md index c88c41d0..0461c2a0 100644 --- a/skills/110-java-maven-best-practices/SKILL.md +++ b/skills/110-java-maven-best-practices/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to review, improve, or troubleshoot a Maven pom.x license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Maven Best Practices diff --git a/skills/110-java-maven-best-practices/references/110-java-maven-best-practices.md b/skills/110-java-maven-best-practices/references/110-java-maven-best-practices.md index fa9aeea9..8438ec37 100644 --- a/skills/110-java-maven-best-practices/references/110-java-maven-best-practices.md +++ b/skills/110-java-maven-best-practices/references/110-java-maven-best-practices.md @@ -4,7 +4,7 @@ description: Use when you need to improve your Maven pom.xml using best practice license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Maven Best Practices diff --git a/skills/111-java-maven-dependencies/SKILL.md b/skills/111-java-maven-dependencies/SKILL.md index 7819563a..0a2874b3 100644 --- a/skills/111-java-maven-dependencies/SKILL.md +++ b/skills/111-java-maven-dependencies/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to add or evaluate Maven dependencies that improv license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Add Maven dependencies for improved code quality diff --git a/skills/111-java-maven-dependencies/references/111-java-maven-dependencies.md b/skills/111-java-maven-dependencies/references/111-java-maven-dependencies.md index 4160ba92..b9cac0fc 100644 --- a/skills/111-java-maven-dependencies/references/111-java-maven-dependencies.md +++ b/skills/111-java-maven-dependencies/references/111-java-maven-dependencies.md @@ -4,7 +4,7 @@ description: Use when you need to think to add maven dependencies to your projec license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Add Maven dependencies for improved code quality diff --git a/skills/112-java-maven-plugins/SKILL.md b/skills/112-java-maven-plugins/SKILL.md index d9d55d59..b47b82a5 100644 --- a/skills/112-java-maven-plugins/SKILL.md +++ b/skills/112-java-maven-plugins/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to add or configure Maven plugins in your pom.xml license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Maven Plugins: pom.xml Configuration Best Practices diff --git a/skills/112-java-maven-plugins/references/112-java-maven-plugins.md b/skills/112-java-maven-plugins/references/112-java-maven-plugins.md index f722e2d7..6c763c0b 100644 --- a/skills/112-java-maven-plugins/references/112-java-maven-plugins.md +++ b/skills/112-java-maven-plugins/references/112-java-maven-plugins.md @@ -4,7 +4,7 @@ description: Use when you need to add or configure Maven plugins in your pom.xml license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Maven Plugins: pom.xml Configuration Best Practices diff --git a/skills/113-java-maven-documentation/SKILL.md b/skills/113-java-maven-documentation/SKILL.md index 7b98f4e1..463ef12c 100644 --- a/skills/113-java-maven-documentation/SKILL.md +++ b/skills/113-java-maven-documentation/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to create a DEVELOPER.md file for a Maven project license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Create DEVELOPER.md for the Maven projects diff --git a/skills/113-java-maven-documentation/references/113-java-maven-documentation.md b/skills/113-java-maven-documentation/references/113-java-maven-documentation.md index c9102791..054eea2a 100644 --- a/skills/113-java-maven-documentation/references/113-java-maven-documentation.md +++ b/skills/113-java-maven-documentation/references/113-java-maven-documentation.md @@ -4,7 +4,7 @@ description: Use when you need to create a DEVELOPER.md file for a Maven project license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Create DEVELOPER.md for the Maven projects diff --git a/skills/114-java-maven-search/SKILL.md b/skills/114-java-maven-search/SKILL.md new file mode 100644 index 00000000..1a676c0b --- /dev/null +++ b/skills/114-java-maven-search/SKILL.md @@ -0,0 +1,45 @@ +--- +name: 114-java-maven-search +description: Covers Maven Central search (Search API, maven-metadata.xml, artifact URLs) and project-local update reports via versions-maven-plugin (display-property-updates, display-dependency-updates, display-plugin-updates). Use when finding or verifying coordinates, browsing Central, or checking what newer versions apply to the user’s pom.xml. Part of the skills-for-java project +license: Apache-2.0 +metadata: + author: Juan Antonio Breña Moral + version: 0.14.0-SNAPSHOT +--- +# Maven Central search and coordinates + +Help users search Maven Central, resolve **groupId:artifactId:version**, read version history, and build correct download URLs; and when working on **their** project, verify `versions-maven-plugin` and run `versions:display-*` goals for dependency, plugin, and property updates. **What is covered:** + +- Maven Central Search API — e.g. keyword search for Spring Boot starters (`spring-boot-starter`) or coordinate filters (`g:org.springframework.boot AND a:spring-boot-starter-parent`) +- Direct repository layout and `maven-metadata.xml` +- POM, JAR, `-sources.jar`, `-javadoc.jar` URL patterns +- Parsing POMs for direct dependencies; transitive trees via Maven/Gradle on the consumer project +- Versions Maven Plugin — ensure `org.codehaus.mojo:versions-maven-plugin` is declared, then `./mvnw versions:display-property-updates`, `versions:display-dependency-updates`, `versions:display-plugin-updates` +- Output format: structured coordinates, tables, and verifiable HTTPS links + +## Constraints + +Verify coordinates against the Search API or repository responses before asserting availability. Prefer release versions unless snapshots are explicitly required. + +- **VERIFY**: Do not invent GAVs — confirm via Search API or successful GET of metadata/POM +- **FORMAT**: Always express full coordinates as `groupId:artifactId:version` when a version is fixed +- **BEFORE APPLYING**: Read the reference for step-by-step workflows, query syntax, and URL patterns + +## When to use this skill + +- Search Maven Central +- Find Maven dependency +- Maven coordinates +- groupId artifactId version +- Latest version Maven +- maven-metadata.xml +- Download JAR from Maven Central +- Download javadocs +- Dependency tree transitive +- display-dependency-updates +- display-plugin-updates +- Outdated Maven dependencies + +## Reference + +For detailed guidance, examples, and constraints, see [references/114-java-maven-search.md](references/114-java-maven-search.md). diff --git a/skills/114-java-maven-search/references/114-java-maven-search.md b/skills/114-java-maven-search/references/114-java-maven-search.md new file mode 100644 index 00000000..f86c71d6 --- /dev/null +++ b/skills/114-java-maven-search/references/114-java-maven-search.md @@ -0,0 +1,222 @@ +--- +name: 114-java-maven-search +description: Provides guidance for (1) Maven Central search and coordinates via the Search API and repository URLs, and (2) project-local checks for newer dependency, plugin, and property versions using the Versions Maven Plugin. Use when the user needs to find or verify artifacts, browse versions, inspect POMs, or see what updates apply to their own pom.xml. +license: Apache-2.0 +metadata: + author: Juan Antonio Breña Moral + version: 0.14.0-SNAPSHOT +--- +# Maven Central search and coordinates + +## Role + +You are a Senior software engineer with extensive experience in Java software development, Maven repositories, and dependency resolution + +## Goal + +Guide two related workflows: + +1. **Maven Central search** — Use the public **Search API** and **direct repository URLs** to discover coordinates, read `maven-metadata.xml`, download POMs and JARs, reason about dependencies from POMs, and present `groupId:artifactId:version` with verifiable links. + +2. **Project update reports** — When the user wants to see **newer versions of dependencies, build plugins, or `${property}`-driven versions** already declared in their project, ensure the **Versions Maven Plugin** (`org.codehaus.mojo:versions-maven-plugin`) is present in the POM, then run the appropriate `versions:display-*` goals (see Step 2). + +**Apply Central-search guidance when the user mentions:** searching for Maven dependencies or components; finding or verifying coordinates; version history or latest versions on Central; downloading JAR, POM, sources, or Javadoc; Maven Central or repository URLs; dependency trees or transitive dependencies; or keywords such as groupId, artifactId, repository, artifact (including Chinese phrases about Maven 依赖, 坐标, 版本, 中央仓库, 传递依赖, 依赖树). + +**Apply Versions-plugin guidance when the user mentions:** outdated dependencies in *their* project, available updates, `display-dependency-updates`, plugin updates, or property version bumps for their `pom.xml`. + + +## Constraints + +Prefer authoritative sources: Maven Central Search API responses, `maven-metadata.xml`, and POM files from `repo1.maven.org`. Do not invent coordinates; confirm existence via API or HTTP before asserting availability. + +- **VERIFY**: Confirm coordinates exist (Search API or successful metadata/POM fetch) before recommending them for production use +- **STABLE VERSIONS**: Prefer non-SNAPSHOT release versions unless the user explicitly needs snapshots +- **FORMAT**: Present Maven coordinates as `groupId:artifactId:version` and URL-encode query parameters in Search API calls +- **INTEGRITY**: When providing direct downloads, mention that checksum files (`.sha1`, `.md5`, `.asc`) live alongside artifacts when the user needs verification + +## Steps + +### Step 1: Recognize the task and branch (Central search vs. project updates) + +Classify the request before choosing a tool: + +| Intent | Approach | +|--------|----------| +| Find libraries by name or keyword | Maven Central Search API — text query | +| Resolve exact GAV or G:A | Search API with `g:` / `a:` / `v:` or combined `AND` | +| Latest or all versions for a fixed G:A | `maven-metadata.xml` under the artifact directory | +| Inspect dependencies | Fetch and parse the POM for that version | +| Download binary, sources, or Javadoc | Direct URL under `.../{version}/` | +| **See newer versions for dependencies, plugins, or `${property}` placeholders already in *this* project’s POM** | **Step 2** — Versions Maven Plugin (`versions:display-*` goals) | + +**Branching** + +- If the user wants **Maven Central search** (discover artifacts, coordinates, metadata, downloads, or transitive insight from a published POM), **skip Step 2** and continue from Step 3 onward. +- If the user wants **update information for their own `pom.xml`** (what newer versions exist for declared deps/plugins/properties), **use Step 2** first. You may still use Steps 3+ afterward to look up unfamiliar GAVs on Central. + +**Search API base:** `https://search.maven.org/solrsearch/select` + +**Repository base:** `https://repo1.maven.org/maven2/` + +**Path rule:** groupId segments become directories (`org.springframework.boot` → `org/springframework/boot`); artifactId is its own path segment; version is the next segment; files are named `{artifactId}-{version}.{ext}`. + +### Step 2: Project updates: verify Versions Maven Plugin, then run display goals + +Use this step when the user asks what can be updated **in their project** (dependencies, build plugins, or versions driven +by Maven properties)—not when they only want to **search Maven Central** for a library by name. + +**1. Verify the plugin is declared** + +Inspect the project's effective POM sources (root and parent chain) +for **`org.codehaus.mojo:versions-maven-plugin`** under `` or ``. + +**2. If it is missing, add it** + +Add a `` entry with `groupId` `org.codehaus.mojo`, `artifactId` `versions-maven-plugin`, +and a **`version`** set to a **current release** from Maven Central (do not invent a version—resolve it +via Search API/metadata or the plugin's documentation). A minimal declaration: + +```xml + + org.codehaus.mojo + versions-maven-plugin + + +``` + +Prefer `pluginManagement` in the parent POM for multi-module builds; otherwise place under `` in the module that owns the build. + +**3. Run these goals from the project root** (use the Maven Wrapper when present): + +```bash +./mvnw versions:display-property-updates +./mvnw versions:display-dependency-updates +./mvnw versions:display-plugin-updates +``` + +Use `mvn` instead of `./mvnw` only when the project has no wrapper. Interpretation: + +- **`display-property-updates`** — suggests newer values for version **properties** referenced in the POM (e.g. `${foo.version}`). +- **`display-dependency-updates`** — suggests newer versions for **dependencies** (respecting scopes and management rules). +- **`display-plugin-updates`** — suggests newer versions for **build plugins** (including reporting plugins where applicable). + +These commands complement Central search: they answer “what is newer **for this build**,” while Steps 3-9 +help **discover and verify** arbitrary artifacts on Central. + +**Reference:** https://www.mojohaus.org/versions/versions-maven-plugin/### Step 3: Query the Maven Central Search API + +Use HTTP GET with query parameters: + +- **`q`** — Solr query. Examples: `g:org.springframework.boot AND a:spring-boot`, `spring-boot` (broad text), `v:4.0.5` +- **`rows`** — Page size (default 20, max 200) +- **`start`** — Offset for pagination +- **`wt`** — `json` (typical) or `xml` +- **`core`** — Often `gav` (default for GAV-oriented search) + +**Example — search by coordinates:** + +```text +https://search.maven.org/solrsearch/select?q=g:org.springframework.boot+AND+a:spring-boot&rows=20&wt=json +``` + +**Example — search by keyword:** + +```text +https://search.maven.org/solrsearch/select?q=spring-boot&rows=20&wt=json +``` + +Parse the JSON `response.docs[]` for `g`, `a`, `latestVersion` (or per-doc version fields as returned), +and any description fields present. For official Search API documentation and evolution, +see Sonatype Central Search API docs: https://central.sonatype.com/search-api/### Step 4: Read version history with maven-metadata.xml + +For a known `groupId` and `artifactId`, version lists and `latest` / `release` hints are published at: + +```text +https://repo1.maven.org/maven2/{groupPath}/{artifactId}/maven-metadata.xml +``` + +**Example:** + +```text +https://repo1.maven.org/maven2/org/springframework/boot/spring-boot/maven-metadata.xml +``` + +Use this when the user asks for “all versions”, “latest release”, or to compare version lines. +Parent POMs may also publish metadata one level up when applicable to that layout. +### Step 5: Build direct artifact URLs + +Pattern: + +```text +https://repo1.maven.org/maven2/{groupPath}/{artifactId}/{version}/{artifactId}-{version}.{extension} +``` + +**Common extensions:** + +| File | Extension | +|------|-----------| +| POM | `.pom` | +| Main JAR | `.jar` | +| Sources | `-sources.jar` | +| Javadoc | `-javadoc.jar` | + +**Example:** + +```text +https://repo1.maven.org/maven2/org/springframework/boot/spring-boot/4.0.5/spring-boot-4.0.5.pom +https://repo1.maven.org/maven2/org/springframework/boot/spring-boot/4.0.5/spring-boot-4.0.5.jar +https://repo1.maven.org/maven2/org/springframework/boot/spring-boot/4.0.5/spring-boot-4.0.5-sources.jar +https://repo1.maven.org/maven2/org/springframework/boot/spring-boot/4.0.5/spring-boot-4.0.5-javadoc.jar +``` + +Optional: checksums alongside artifacts (e.g. `.jar.sha1`, `.pom.sha1`) for verification. + +### Step 6: Analyze dependencies from a POM + +To reason about **direct** and **transitive** dependencies: + +1. Download the resolved POM for the chosen GAV (Step 5). +2. Read ``, ``, and parent `` (may imply import BOMs or inherited dependencyManagement). +3. Explain that the **full transitive tree** for a project is best obtained with Maven (`mvn dependency:tree`) or Gradle equivalent on the **consumer** project — a single POM on Central does not replace resolver mediation, exclusions, or profiles. + +Call out ``, `true`, and `` when they affect what appears on the classpath. +### Step 7: Validate and present results + +**Validation habits:** + +- **groupId** — Usually reverse-DNS style (e.g. `com.example`); avoid guessing unpublished groups. +- **artifactId** — Lowercase with hyphens is conventional; must match directory and file prefix. +- **version** — Prefer stable releases; treat `SNAPSHOT` as moving targets tied to snapshot repositories. + +**Output expectations:** + +- Always give coordinates as **`groupId:artifactId:version`** when a full GAV is known. +- For search hits, tabulate `groupId`, `artifactId`, `version` (or `latestVersion` from API), plus short description if available. +- Include clickable HTTPS links to Search UI (`https://search.maven.org/`) or direct `repo1.maven.org` paths when useful. +- Mention naming conventions reference: https://maven.apache.org/guides/mini/guide-naming-conventions.html + +If the user’s environment supports **MCP or tooling** for Maven Central (e.g. dependency intelligence servers), prefer those tools for live lookups when available, in addition to the URLs above. +### Step 8: Quick task recipes + +**Task A — Search by name:** `q=` on the Search API. + +**Task B — Search by G and A:** `q=g: AND a:`. + +**Task C — Version list / latest:** GET `maven-metadata.xml` for that G:A path. + +**Task D — Download artifact:** Construct URL from Step 5 after confirming the version exists. + +**Task E — Dependency insight:** GET the POM, list direct dependencies; recommend `mvn dependency:tree` on the user’s project for the resolved graph. + +**Task F — Project update report (own POM):** Ensure `versions-maven-plugin` is present (Step 2), then run `./mvnw versions:display-property-updates`, `./mvnw versions:display-dependency-updates`, and `./mvnw versions:display-plugin-updates`. +### Step 9: Keywords and resources + +**English keywords:** maven, maven central, maven repository, dependency, artifact, coordinates, groupId, artifactId, version, POM, JAR, transitive dependencies, dependency tree, search, metadata, versions-maven-plugin, display-dependency-updates, display-plugin-updates, display-property-updates, outdated dependencies. + +**Resources:** + +- Central repository: https://repo1.maven.org/maven2/ +- Search UI: https://search.maven.org/ +- Search API (Sonatype): https://central.sonatype.com/search-api/ +- Naming conventions: https://maven.apache.org/guides/mini/guide-naming-conventions.html +- Versions Maven Plugin: https://www.mojohaus.org/versions/versions-maven-plugin/ \ No newline at end of file diff --git a/skills/121-java-object-oriented-design/SKILL.md b/skills/121-java-object-oriented-design/SKILL.md index e8f4a57c..c565f47c 100644 --- a/skills/121-java-object-oriented-design/SKILL.md +++ b/skills/121-java-object-oriented-design/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to review, improve, or refactor Java code for obj license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Object-Oriented Design Guidelines diff --git a/skills/121-java-object-oriented-design/references/121-java-object-oriented-design.md b/skills/121-java-object-oriented-design/references/121-java-object-oriented-design.md index 74c5ec49..271e9379 100644 --- a/skills/121-java-object-oriented-design/references/121-java-object-oriented-design.md +++ b/skills/121-java-object-oriented-design/references/121-java-object-oriented-design.md @@ -4,7 +4,7 @@ description: Use when you need to review, improve, or refactor Java code for obj license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Object-Oriented Design Guidelines diff --git a/skills/122-java-type-design/SKILL.md b/skills/122-java-type-design/SKILL.md index 6b88db97..03dfd899 100644 --- a/skills/122-java-type-design/SKILL.md +++ b/skills/122-java-type-design/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to review, improve, or refactor Java code for typ license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Type Design Thinking in Java diff --git a/skills/122-java-type-design/references/122-java-type-design.md b/skills/122-java-type-design/references/122-java-type-design.md index 2d7f99d2..0816fda1 100644 --- a/skills/122-java-type-design/references/122-java-type-design.md +++ b/skills/122-java-type-design/references/122-java-type-design.md @@ -4,7 +4,7 @@ description: Use when you need to review, improve, or refactor Java code for typ license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Type Design Thinking in Java diff --git a/skills/123-java-exception-handling/SKILL.md b/skills/123-java-exception-handling/SKILL.md index ea273e85..a9b4b0c0 100644 --- a/skills/123-java-exception-handling/SKILL.md +++ b/skills/123-java-exception-handling/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to apply Java exception handling best practices license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Exception Handling Guidelines diff --git a/skills/123-java-exception-handling/references/123-java-exception-handling.md b/skills/123-java-exception-handling/references/123-java-exception-handling.md index 2ad0172a..95bf95a5 100644 --- a/skills/123-java-exception-handling/references/123-java-exception-handling.md +++ b/skills/123-java-exception-handling/references/123-java-exception-handling.md @@ -4,7 +4,7 @@ description: Use when you need to apply Java exception handling best practices license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Exception Handling Guidelines diff --git a/skills/124-java-secure-coding/SKILL.md b/skills/124-java-secure-coding/SKILL.md index 6ea296b9..aa525622 100644 --- a/skills/124-java-secure-coding/SKILL.md +++ b/skills/124-java-secure-coding/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to apply Java secure coding best practices — in license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Secure coding guidelines diff --git a/skills/124-java-secure-coding/references/124-java-secure-coding.md b/skills/124-java-secure-coding/references/124-java-secure-coding.md index 308d626a..857998c5 100644 --- a/skills/124-java-secure-coding/references/124-java-secure-coding.md +++ b/skills/124-java-secure-coding/references/124-java-secure-coding.md @@ -4,7 +4,7 @@ description: Use when you need to apply Java secure coding best practices — in license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Secure coding guidelines diff --git a/skills/125-java-concurrency/SKILL.md b/skills/125-java-concurrency/SKILL.md index 5c5961a0..f96e736d 100644 --- a/skills/125-java-concurrency/SKILL.md +++ b/skills/125-java-concurrency/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to apply Java concurrency best practices — incl license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java rules for Concurrency objects diff --git a/skills/125-java-concurrency/references/125-java-concurrency.md b/skills/125-java-concurrency/references/125-java-concurrency.md index 3f6cb8ba..cdcc2204 100644 --- a/skills/125-java-concurrency/references/125-java-concurrency.md +++ b/skills/125-java-concurrency/references/125-java-concurrency.md @@ -4,7 +4,7 @@ description: Use when you need to apply Java concurrency best practices — incl license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java rules for Concurrency objects diff --git a/skills/128-java-generics/SKILL.md b/skills/128-java-generics/SKILL.md index c59c4deb..2e71a029 100644 --- a/skills/128-java-generics/SKILL.md +++ b/skills/128-java-generics/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to review, improve, or refactor Java code for gen license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Generics Best Practices diff --git a/skills/128-java-generics/references/128-java-generics.md b/skills/128-java-generics/references/128-java-generics.md index dff42b37..51d913ae 100644 --- a/skills/128-java-generics/references/128-java-generics.md +++ b/skills/128-java-generics/references/128-java-generics.md @@ -4,7 +4,7 @@ description: Use when you need to review, improve, or refactor Java code for gen license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Generics Best Practices diff --git a/skills/130-java-testing-strategies/SKILL.md b/skills/130-java-testing-strategies/SKILL.md index f0a630ae..860d65e9 100644 --- a/skills/130-java-testing-strategies/SKILL.md +++ b/skills/130-java-testing-strategies/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to apply testing strategies for Java code — RIG license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java testing strategies diff --git a/skills/130-java-testing-strategies/references/130-java-testing-strategies.md b/skills/130-java-testing-strategies/references/130-java-testing-strategies.md index 94ab0393..bd64bcd6 100644 --- a/skills/130-java-testing-strategies/references/130-java-testing-strategies.md +++ b/skills/130-java-testing-strategies/references/130-java-testing-strategies.md @@ -4,7 +4,7 @@ description: Use when you need to apply testing strategies for Java code — inc license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java testing strategies diff --git a/skills/131-java-testing-unit-testing/SKILL.md b/skills/131-java-testing-unit-testing/SKILL.md index 32e8ed32..df54ea3a 100644 --- a/skills/131-java-testing-unit-testing/SKILL.md +++ b/skills/131-java-testing-unit-testing/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to review, improve, or write Java unit tests — license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Unit testing guidelines diff --git a/skills/131-java-testing-unit-testing/references/131-java-testing-unit-testing.md b/skills/131-java-testing-unit-testing/references/131-java-testing-unit-testing.md index 3144abc6..0ac3ecf9 100644 --- a/skills/131-java-testing-unit-testing/references/131-java-testing-unit-testing.md +++ b/skills/131-java-testing-unit-testing/references/131-java-testing-unit-testing.md @@ -4,7 +4,7 @@ description: Use when you need to review, improve, or write Java unit tests for license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Unit testing guidelines diff --git a/skills/132-java-testing-integration-testing/SKILL.md b/skills/132-java-testing-integration-testing/SKILL.md index 25a039c1..607cd941 100644 --- a/skills/132-java-testing-integration-testing/SKILL.md +++ b/skills/132-java-testing-integration-testing/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to set up, review, or improve Java integration te license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Integration testing guidelines diff --git a/skills/132-java-testing-integration-testing/references/132-java-testing-integration-testing.md b/skills/132-java-testing-integration-testing/references/132-java-testing-integration-testing.md index f033b44c..e9e0bb83 100644 --- a/skills/132-java-testing-integration-testing/references/132-java-testing-integration-testing.md +++ b/skills/132-java-testing-integration-testing/references/132-java-testing-integration-testing.md @@ -4,7 +4,7 @@ description: Use when you need to set up, review, or improve Java integration te license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Integration testing guidelines diff --git a/skills/133-java-testing-acceptance-tests/SKILL.md b/skills/133-java-testing-acceptance-tests/SKILL.md index b70303ef..98445482 100644 --- a/skills/133-java-testing-acceptance-tests/SKILL.md +++ b/skills/133-java-testing-acceptance-tests/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to implement acceptance tests from a Gherkin .fea license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java acceptance tests from Gherkin diff --git a/skills/133-java-testing-acceptance-tests/references/133-java-testing-acceptance-tests.md b/skills/133-java-testing-acceptance-tests/references/133-java-testing-acceptance-tests.md index c04e6d4d..16098aba 100644 --- a/skills/133-java-testing-acceptance-tests/references/133-java-testing-acceptance-tests.md +++ b/skills/133-java-testing-acceptance-tests/references/133-java-testing-acceptance-tests.md @@ -4,7 +4,7 @@ description: Use when you need to implement acceptance tests from a Gherkin .fea license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java acceptance tests from Gherkin diff --git a/skills/141-java-refactoring-with-modern-features/SKILL.md b/skills/141-java-refactoring-with-modern-features/SKILL.md index 2c540e0e..4c393bd8 100644 --- a/skills/141-java-refactoring-with-modern-features/SKILL.md +++ b/skills/141-java-refactoring-with-modern-features/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to refactor Java code to adopt modern Java featur license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Modern Java Development Guidelines (Java 8+) diff --git a/skills/141-java-refactoring-with-modern-features/references/141-java-refactoring-with-modern-features.md b/skills/141-java-refactoring-with-modern-features/references/141-java-refactoring-with-modern-features.md index 414f92ef..e231e087 100644 --- a/skills/141-java-refactoring-with-modern-features/references/141-java-refactoring-with-modern-features.md +++ b/skills/141-java-refactoring-with-modern-features/references/141-java-refactoring-with-modern-features.md @@ -4,7 +4,7 @@ description: Use when you need to refactor Java code to adopt modern Java featur license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Modern Java Development Guidelines (Java 8+) diff --git a/skills/142-java-functional-programming/SKILL.md b/skills/142-java-functional-programming/SKILL.md index 5ca18fdf..4d7ccb61 100644 --- a/skills/142-java-functional-programming/SKILL.md +++ b/skills/142-java-functional-programming/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to apply functional programming principles in Jav license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Functional Programming rules diff --git a/skills/142-java-functional-programming/references/142-java-functional-programming.md b/skills/142-java-functional-programming/references/142-java-functional-programming.md index 660148dc..9e1b272f 100644 --- a/skills/142-java-functional-programming/references/142-java-functional-programming.md +++ b/skills/142-java-functional-programming/references/142-java-functional-programming.md @@ -4,7 +4,7 @@ description: Use when you need to apply functional programming principles in Jav license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Functional Programming rules diff --git a/skills/143-java-functional-exception-handling/SKILL.md b/skills/143-java-functional-exception-handling/SKILL.md index 775f3ae8..9ccbf267 100644 --- a/skills/143-java-functional-exception-handling/SKILL.md +++ b/skills/143-java-functional-exception-handling/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to apply functional exception handling best pract license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Functional Exception handling Best Practices diff --git a/skills/143-java-functional-exception-handling/references/143-java-functional-exception-handling.md b/skills/143-java-functional-exception-handling/references/143-java-functional-exception-handling.md index 22957643..6952075b 100644 --- a/skills/143-java-functional-exception-handling/references/143-java-functional-exception-handling.md +++ b/skills/143-java-functional-exception-handling/references/143-java-functional-exception-handling.md @@ -4,7 +4,7 @@ description: Use when you need to apply functional exception handling best pract license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Functional Exception handling Best Practices diff --git a/skills/144-java-data-oriented-programming/SKILL.md b/skills/144-java-data-oriented-programming/SKILL.md index 4e0ed1e9..f1edefb1 100644 --- a/skills/144-java-data-oriented-programming/SKILL.md +++ b/skills/144-java-data-oriented-programming/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to apply data-oriented programming best practices license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Data-Oriented Programming Best Practices diff --git a/skills/144-java-data-oriented-programming/references/144-java-data-oriented-programming.md b/skills/144-java-data-oriented-programming/references/144-java-data-oriented-programming.md index 08e23ba8..bd5f66be 100644 --- a/skills/144-java-data-oriented-programming/references/144-java-data-oriented-programming.md +++ b/skills/144-java-data-oriented-programming/references/144-java-data-oriented-programming.md @@ -4,7 +4,7 @@ description: Use when you need to apply data-oriented programming best practices license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Data-Oriented Programming Best Practices diff --git a/skills/151-java-performance-jmeter/SKILL.md b/skills/151-java-performance-jmeter/SKILL.md index 8e0255fd..1bd1ded0 100644 --- a/skills/151-java-performance-jmeter/SKILL.md +++ b/skills/151-java-performance-jmeter/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to set up JMeter performance testing for a Java p license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Run performance tests based on JMeter diff --git a/skills/151-java-performance-jmeter/references/151-java-performance-jmeter.md b/skills/151-java-performance-jmeter/references/151-java-performance-jmeter.md index 2a26509f..f9f1a2e3 100644 --- a/skills/151-java-performance-jmeter/references/151-java-performance-jmeter.md +++ b/skills/151-java-performance-jmeter/references/151-java-performance-jmeter.md @@ -4,7 +4,7 @@ description: Use when you need to set up JMeter performance testing for a Java p license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Run performance tests based on JMeter diff --git a/skills/161-java-profiling-detect/SKILL.md b/skills/161-java-profiling-detect/SKILL.md index d52d4675..cbefac97 100644 --- a/skills/161-java-profiling-detect/SKILL.md +++ b/skills/161-java-profiling-detect/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to set up Java application profiling to detect an license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Profiling Workflow / Step 1 / Collect data to measure potential issues diff --git a/skills/161-java-profiling-detect/references/161-java-profiling-detect.md b/skills/161-java-profiling-detect/references/161-java-profiling-detect.md index 979dd9ea..7e74c3b2 100644 --- a/skills/161-java-profiling-detect/references/161-java-profiling-detect.md +++ b/skills/161-java-profiling-detect/references/161-java-profiling-detect.md @@ -4,7 +4,7 @@ description: Use when you need to set up Java application profiling to detect an license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Profiling Workflow / Step 1 / Collect data to measure potential issues diff --git a/skills/162-java-profiling-analyze/SKILL.md b/skills/162-java-profiling-analyze/SKILL.md index 189c910c..f97d50b4 100644 --- a/skills/162-java-profiling-analyze/SKILL.md +++ b/skills/162-java-profiling-analyze/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to analyze Java profiling data collected during t license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Profiling Workflow / Step 2 / Analyze profiling data diff --git a/skills/162-java-profiling-analyze/references/162-java-profiling-analyze.md b/skills/162-java-profiling-analyze/references/162-java-profiling-analyze.md index b57ec92b..9558da18 100644 --- a/skills/162-java-profiling-analyze/references/162-java-profiling-analyze.md +++ b/skills/162-java-profiling-analyze/references/162-java-profiling-analyze.md @@ -4,7 +4,7 @@ description: Use when you need to analyze Java profiling data collected during t license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Profiling Workflow / Step 2 / Analyze profiling data diff --git a/skills/163-java-profiling-refactor/SKILL.md b/skills/163-java-profiling-refactor/SKILL.md index 5906a516..0dca1f73 100644 --- a/skills/163-java-profiling-refactor/SKILL.md +++ b/skills/163-java-profiling-refactor/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to refactor Java code based on profiling analysis license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Profiling Workflow / Step 3 / Refactor code to fix issues diff --git a/skills/163-java-profiling-refactor/references/163-java-profiling-refactor.md b/skills/163-java-profiling-refactor/references/163-java-profiling-refactor.md index 6ef1f439..978d562f 100644 --- a/skills/163-java-profiling-refactor/references/163-java-profiling-refactor.md +++ b/skills/163-java-profiling-refactor/references/163-java-profiling-refactor.md @@ -4,7 +4,7 @@ description: Use when you need to refactor Java code based on profiling analysis license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Profiling Workflow / Step 3 / Refactor code to fix issues diff --git a/skills/164-java-profiling-verify/SKILL.md b/skills/164-java-profiling-verify/SKILL.md index 6d784f04..c5beb2ed 100644 --- a/skills/164-java-profiling-verify/SKILL.md +++ b/skills/164-java-profiling-verify/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to verify Java performance optimizations by compa license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Profiling Workflow / Step 4 / Verify results diff --git a/skills/164-java-profiling-verify/references/164-java-profiling-verify.md b/skills/164-java-profiling-verify/references/164-java-profiling-verify.md index 4a69292d..a61a4399 100644 --- a/skills/164-java-profiling-verify/references/164-java-profiling-verify.md +++ b/skills/164-java-profiling-verify/references/164-java-profiling-verify.md @@ -4,7 +4,7 @@ description: Use when you need to verify Java performance optimizations by compa license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Profiling Workflow / Step 4 / Verify results diff --git a/skills/170-java-documentation/SKILL.md b/skills/170-java-documentation/SKILL.md index 87584d89..b29f4bb0 100644 --- a/skills/170-java-documentation/SKILL.md +++ b/skills/170-java-documentation/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to generate or improve Java project documentation license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Documentation Generator with modular step-based configuration diff --git a/skills/170-java-documentation/references/170-java-documentation.md b/skills/170-java-documentation/references/170-java-documentation.md index d6b722ba..171c614b 100644 --- a/skills/170-java-documentation/references/170-java-documentation.md +++ b/skills/170-java-documentation/references/170-java-documentation.md @@ -4,7 +4,7 @@ description: Use when you need to generate or improve Java project documentation license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Documentation Generator with modular step-based configuration diff --git a/skills/180-java-observability-logging/SKILL.md b/skills/180-java-observability-logging/SKILL.md index 6d13d24e..69eb4f18 100644 --- a/skills/180-java-observability-logging/SKILL.md +++ b/skills/180-java-observability-logging/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to implement or improve Java logging and observab license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Logging Best Practices diff --git a/skills/180-java-observability-logging/references/180-java-observability-logging.md b/skills/180-java-observability-logging/references/180-java-observability-logging.md index f522caf6..01a2d3cb 100644 --- a/skills/180-java-observability-logging/references/180-java-observability-logging.md +++ b/skills/180-java-observability-logging/references/180-java-observability-logging.md @@ -4,7 +4,7 @@ description: Use when you need to implement or improve Java logging and observab license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java Logging Best Practices diff --git a/skills/200-agents-md/SKILL.md b/skills/200-agents-md/SKILL.md index 49aab23b..5a8e0e5d 100644 --- a/skills/200-agents-md/SKILL.md +++ b/skills/200-agents-md/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to generate an AGENTS.md file for a Java reposito license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # AGENTS.md Generator for Java repositories diff --git a/skills/200-agents-md/references/200-agents-md.md b/skills/200-agents-md/references/200-agents-md.md index 9814550c..c546bbde 100644 --- a/skills/200-agents-md/references/200-agents-md.md +++ b/skills/200-agents-md/references/200-agents-md.md @@ -4,7 +4,7 @@ description: Use when you need to generate an AGENTS.md file for a Java reposito license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # AGENTS.md Generator for Java repositories diff --git a/skills/301-frameworks-spring-boot-core/SKILL.md b/skills/301-frameworks-spring-boot-core/SKILL.md index 11d6804d..9e9ac81e 100644 --- a/skills/301-frameworks-spring-boot-core/SKILL.md +++ b/skills/301-frameworks-spring-boot-core/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to review, improve, or build Spring Boot 4.0.x ap license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring Boot Core Guidelines diff --git a/skills/301-frameworks-spring-boot-core/references/301-frameworks-spring-boot-core.md b/skills/301-frameworks-spring-boot-core/references/301-frameworks-spring-boot-core.md index 14914773..1ba42882 100644 --- a/skills/301-frameworks-spring-boot-core/references/301-frameworks-spring-boot-core.md +++ b/skills/301-frameworks-spring-boot-core/references/301-frameworks-spring-boot-core.md @@ -4,7 +4,7 @@ description: Use when you need to review, improve, or build Spring Boot 4.0.x ap license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring Boot Core Guidelines diff --git a/skills/302-frameworks-spring-boot-rest/SKILL.md b/skills/302-frameworks-spring-boot-rest/SKILL.md index 645500cd..951ab543 100644 --- a/skills/302-frameworks-spring-boot-rest/SKILL.md +++ b/skills/302-frameworks-spring-boot-rest/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to design, review, or improve REST APIs with Spri license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java REST API Design Principles diff --git a/skills/302-frameworks-spring-boot-rest/references/302-frameworks-spring-boot-rest.md b/skills/302-frameworks-spring-boot-rest/references/302-frameworks-spring-boot-rest.md index 533b5395..2c16734d 100644 --- a/skills/302-frameworks-spring-boot-rest/references/302-frameworks-spring-boot-rest.md +++ b/skills/302-frameworks-spring-boot-rest/references/302-frameworks-spring-boot-rest.md @@ -4,7 +4,7 @@ description: Use when you need to design, review, or improve REST APIs with Spri license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Java REST API Design Principles diff --git a/skills/311-frameworks-spring-jdbc/SKILL.md b/skills/311-frameworks-spring-jdbc/SKILL.md index 25144fea..d2031d02 100644 --- a/skills/311-frameworks-spring-jdbc/SKILL.md +++ b/skills/311-frameworks-spring-jdbc/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to write or review programmatic JDBC with Spring license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring JDBC — JdbcClient (Spring Framework 6.1+) diff --git a/skills/311-frameworks-spring-jdbc/references/311-frameworks-spring-jdbc.md b/skills/311-frameworks-spring-jdbc/references/311-frameworks-spring-jdbc.md index 36cf278c..ec2c52c6 100644 --- a/skills/311-frameworks-spring-jdbc/references/311-frameworks-spring-jdbc.md +++ b/skills/311-frameworks-spring-jdbc/references/311-frameworks-spring-jdbc.md @@ -4,7 +4,7 @@ description: Use when you need to write or review programmatic JDBC with Spring license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring JDBC — JdbcClient (Spring Framework 6.1+) diff --git a/skills/312-frameworks-spring-data-jdbc/SKILL.md b/skills/312-frameworks-spring-data-jdbc/SKILL.md index 2e7d2441..3f4698aa 100644 --- a/skills/312-frameworks-spring-data-jdbc/SKILL.md +++ b/skills/312-frameworks-spring-data-jdbc/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to use Spring Data JDBC with Java records — inc license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring Data JDBC with Records diff --git a/skills/312-frameworks-spring-data-jdbc/references/312-frameworks-spring-data-jdbc.md b/skills/312-frameworks-spring-data-jdbc/references/312-frameworks-spring-data-jdbc.md index 1bcfa9cd..8e06a688 100644 --- a/skills/312-frameworks-spring-data-jdbc/references/312-frameworks-spring-data-jdbc.md +++ b/skills/312-frameworks-spring-data-jdbc/references/312-frameworks-spring-data-jdbc.md @@ -4,7 +4,7 @@ description: Use when you need to use Spring Data JDBC with Java records — inc license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring Data JDBC with Records diff --git a/skills/313-frameworks-spring-db-migrations-flyway/SKILL.md b/skills/313-frameworks-spring-db-migrations-flyway/SKILL.md index 39032d5a..4f146618 100644 --- a/skills/313-frameworks-spring-db-migrations-flyway/SKILL.md +++ b/skills/313-frameworks-spring-db-migrations-flyway/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to add or review Flyway database migrations in a license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring — Database migrations (Flyway) diff --git a/skills/313-frameworks-spring-db-migrations-flyway/references/313-frameworks-spring-db-migrations-flyway.md b/skills/313-frameworks-spring-db-migrations-flyway/references/313-frameworks-spring-db-migrations-flyway.md index a720f44f..fdc26eea 100644 --- a/skills/313-frameworks-spring-db-migrations-flyway/references/313-frameworks-spring-db-migrations-flyway.md +++ b/skills/313-frameworks-spring-db-migrations-flyway/references/313-frameworks-spring-db-migrations-flyway.md @@ -4,7 +4,7 @@ description: Use when you need to add or review Flyway database migrations in a license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring — Database migrations (Flyway) diff --git a/skills/321-frameworks-spring-boot-testing-unit-tests/SKILL.md b/skills/321-frameworks-spring-boot-testing-unit-tests/SKILL.md index eb4eeb3b..b2c8ba8d 100644 --- a/skills/321-frameworks-spring-boot-testing-unit-tests/SKILL.md +++ b/skills/321-frameworks-spring-boot-testing-unit-tests/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to write unit tests for Spring Boot applications license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring Boot Unit Testing with Mockito diff --git a/skills/321-frameworks-spring-boot-testing-unit-tests/references/321-frameworks-spring-boot-testing-unit-tests.md b/skills/321-frameworks-spring-boot-testing-unit-tests/references/321-frameworks-spring-boot-testing-unit-tests.md index 8a2560d6..e30fc0cd 100644 --- a/skills/321-frameworks-spring-boot-testing-unit-tests/references/321-frameworks-spring-boot-testing-unit-tests.md +++ b/skills/321-frameworks-spring-boot-testing-unit-tests/references/321-frameworks-spring-boot-testing-unit-tests.md @@ -4,7 +4,7 @@ description: Use when you need to write unit tests for Spring Boot applications license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring Boot Unit Testing with Mockito diff --git a/skills/322-frameworks-spring-boot-testing-integration-tests/SKILL.md b/skills/322-frameworks-spring-boot-testing-integration-tests/SKILL.md index 772f4735..776d9d1e 100644 --- a/skills/322-frameworks-spring-boot-testing-integration-tests/SKILL.md +++ b/skills/322-frameworks-spring-boot-testing-integration-tests/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to write or improve integration tests — includi license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring Boot Integration Testing diff --git a/skills/322-frameworks-spring-boot-testing-integration-tests/references/322-frameworks-spring-boot-testing-integration-tests.md b/skills/322-frameworks-spring-boot-testing-integration-tests/references/322-frameworks-spring-boot-testing-integration-tests.md index 8c006dcf..2ab50db0 100644 --- a/skills/322-frameworks-spring-boot-testing-integration-tests/references/322-frameworks-spring-boot-testing-integration-tests.md +++ b/skills/322-frameworks-spring-boot-testing-integration-tests/references/322-frameworks-spring-boot-testing-integration-tests.md @@ -4,7 +4,7 @@ description: Use when you need to write or improve integration tests — includi license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring Boot Integration Testing diff --git a/skills/323-frameworks-spring-boot-testing-acceptance-tests/SKILL.md b/skills/323-frameworks-spring-boot-testing-acceptance-tests/SKILL.md index da534c68..3bc0dfb2 100644 --- a/skills/323-frameworks-spring-boot-testing-acceptance-tests/SKILL.md +++ b/skills/323-frameworks-spring-boot-testing-acceptance-tests/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to implement acceptance tests from a Gherkin .fea license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring Boot acceptance tests from Gherkin diff --git a/skills/323-frameworks-spring-boot-testing-acceptance-tests/references/323-frameworks-spring-boot-testing-acceptance-tests.md b/skills/323-frameworks-spring-boot-testing-acceptance-tests/references/323-frameworks-spring-boot-testing-acceptance-tests.md index a0e4e7c5..5372c28f 100644 --- a/skills/323-frameworks-spring-boot-testing-acceptance-tests/references/323-frameworks-spring-boot-testing-acceptance-tests.md +++ b/skills/323-frameworks-spring-boot-testing-acceptance-tests/references/323-frameworks-spring-boot-testing-acceptance-tests.md @@ -4,7 +4,7 @@ description: Use when you need to implement acceptance tests from a Gherkin .fea license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Spring Boot acceptance tests from Gherkin diff --git a/skills/401-frameworks-quarkus-core/SKILL.md b/skills/401-frameworks-quarkus-core/SKILL.md index c9f4b7e5..0e74c54b 100644 --- a/skills/401-frameworks-quarkus-core/SKILL.md +++ b/skills/401-frameworks-quarkus-core/SKILL.md @@ -4,7 +4,7 @@ description: Use when building or reviewing core Quarkus applications with CDI b license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus Core Guidelines diff --git a/skills/401-frameworks-quarkus-core/references/401-frameworks-quarkus-core.md b/skills/401-frameworks-quarkus-core/references/401-frameworks-quarkus-core.md index f4586448..9b035ba1 100644 --- a/skills/401-frameworks-quarkus-core/references/401-frameworks-quarkus-core.md +++ b/skills/401-frameworks-quarkus-core/references/401-frameworks-quarkus-core.md @@ -4,7 +4,7 @@ description: Use when you need to review, improve, or build Quarkus applications license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus Core Guidelines diff --git a/skills/402-frameworks-quarkus-rest/SKILL.md b/skills/402-frameworks-quarkus-rest/SKILL.md index 378729a3..bc475161 100644 --- a/skills/402-frameworks-quarkus-rest/SKILL.md +++ b/skills/402-frameworks-quarkus-rest/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to design, review, or improve REST APIs with Quar license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus REST API Guidelines diff --git a/skills/402-frameworks-quarkus-rest/references/402-frameworks-quarkus-rest.md b/skills/402-frameworks-quarkus-rest/references/402-frameworks-quarkus-rest.md index 19b03d8f..4788a9ac 100644 --- a/skills/402-frameworks-quarkus-rest/references/402-frameworks-quarkus-rest.md +++ b/skills/402-frameworks-quarkus-rest/references/402-frameworks-quarkus-rest.md @@ -4,7 +4,7 @@ description: Use when you need to design, review, or improve REST APIs with Quar license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus REST API Guidelines diff --git a/skills/411-frameworks-quarkus-jdbc/SKILL.md b/skills/411-frameworks-quarkus-jdbc/SKILL.md index 6d13c18b..583c1bf6 100644 --- a/skills/411-frameworks-quarkus-jdbc/SKILL.md +++ b/skills/411-frameworks-quarkus-jdbc/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need programmatic JDBC in Quarkus — Agroal DataSourc license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus JDBC — programmatic SQL diff --git a/skills/411-frameworks-quarkus-jdbc/references/411-frameworks-quarkus-jdbc.md b/skills/411-frameworks-quarkus-jdbc/references/411-frameworks-quarkus-jdbc.md index 930d52c4..8e422caa 100644 --- a/skills/411-frameworks-quarkus-jdbc/references/411-frameworks-quarkus-jdbc.md +++ b/skills/411-frameworks-quarkus-jdbc/references/411-frameworks-quarkus-jdbc.md @@ -4,7 +4,7 @@ description: Use when you need to write or review programmatic JDBC in Quarkus license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus JDBC — programmatic SQL diff --git a/skills/412-frameworks-quarkus-panache/SKILL.md b/skills/412-frameworks-quarkus-panache/SKILL.md index 37ac87b0..6ae5fac9 100644 --- a/skills/412-frameworks-quarkus-panache/SKILL.md +++ b/skills/412-frameworks-quarkus-panache/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need data access with Quarkus Hibernate ORM Panache license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Hibernate ORM with Panache diff --git a/skills/412-frameworks-quarkus-panache/references/412-frameworks-quarkus-panache.md b/skills/412-frameworks-quarkus-panache/references/412-frameworks-quarkus-panache.md index 3af223dd..ce8e6b9d 100644 --- a/skills/412-frameworks-quarkus-panache/references/412-frameworks-quarkus-panache.md +++ b/skills/412-frameworks-quarkus-panache/references/412-frameworks-quarkus-panache.md @@ -4,7 +4,7 @@ description: Use when you need data access with Quarkus Hibernate ORM Panache license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Hibernate ORM with Panache diff --git a/skills/413-frameworks-quarkus-db-migrations-flyway/SKILL.md b/skills/413-frameworks-quarkus-db-migrations-flyway/SKILL.md index 4077e2e1..a2704032 100644 --- a/skills/413-frameworks-quarkus-db-migrations-flyway/SKILL.md +++ b/skills/413-frameworks-quarkus-db-migrations-flyway/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to add or review Flyway database migrations in a license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus — Database migrations (Flyway) diff --git a/skills/413-frameworks-quarkus-db-migrations-flyway/references/413-frameworks-quarkus-db-migrations-flyway.md b/skills/413-frameworks-quarkus-db-migrations-flyway/references/413-frameworks-quarkus-db-migrations-flyway.md index b0ccaa95..e1e4b6f8 100644 --- a/skills/413-frameworks-quarkus-db-migrations-flyway/references/413-frameworks-quarkus-db-migrations-flyway.md +++ b/skills/413-frameworks-quarkus-db-migrations-flyway/references/413-frameworks-quarkus-db-migrations-flyway.md @@ -4,7 +4,7 @@ description: Use when you need to add or review Flyway database migrations in a license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus — Database migrations (Flyway) diff --git a/skills/421-frameworks-quarkus-testing-unit-tests/SKILL.md b/skills/421-frameworks-quarkus-testing-unit-tests/SKILL.md index e2ab995a..951e6b24 100644 --- a/skills/421-frameworks-quarkus-testing-unit-tests/SKILL.md +++ b/skills/421-frameworks-quarkus-testing-unit-tests/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to write fast unit tests for Quarkus applications license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus Unit Testing diff --git a/skills/421-frameworks-quarkus-testing-unit-tests/references/421-frameworks-quarkus-testing-unit-tests.md b/skills/421-frameworks-quarkus-testing-unit-tests/references/421-frameworks-quarkus-testing-unit-tests.md index 5c4cacbf..aaa01193 100644 --- a/skills/421-frameworks-quarkus-testing-unit-tests/references/421-frameworks-quarkus-testing-unit-tests.md +++ b/skills/421-frameworks-quarkus-testing-unit-tests/references/421-frameworks-quarkus-testing-unit-tests.md @@ -4,7 +4,7 @@ description: Use when you need to write fast unit tests for Quarkus applications license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus Unit Testing diff --git a/skills/422-frameworks-quarkus-testing-integration-tests/SKILL.md b/skills/422-frameworks-quarkus-testing-integration-tests/SKILL.md index 3abcf13e..66b35ee3 100644 --- a/skills/422-frameworks-quarkus-testing-integration-tests/SKILL.md +++ b/skills/422-frameworks-quarkus-testing-integration-tests/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to write or improve integration tests for Quarkus license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus Integration Testing diff --git a/skills/422-frameworks-quarkus-testing-integration-tests/references/422-frameworks-quarkus-testing-integration-tests.md b/skills/422-frameworks-quarkus-testing-integration-tests/references/422-frameworks-quarkus-testing-integration-tests.md index 459cd8b3..9d7c51f3 100644 --- a/skills/422-frameworks-quarkus-testing-integration-tests/references/422-frameworks-quarkus-testing-integration-tests.md +++ b/skills/422-frameworks-quarkus-testing-integration-tests/references/422-frameworks-quarkus-testing-integration-tests.md @@ -4,7 +4,7 @@ description: Use when you need to write or improve integration tests for Quarkus license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus Integration Testing diff --git a/skills/423-frameworks-quarkus-testing-acceptance-tests/SKILL.md b/skills/423-frameworks-quarkus-testing-acceptance-tests/SKILL.md index 21259dd9..ab6024e0 100644 --- a/skills/423-frameworks-quarkus-testing-acceptance-tests/SKILL.md +++ b/skills/423-frameworks-quarkus-testing-acceptance-tests/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to implement acceptance tests from a Gherkin .fea license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus acceptance tests from Gherkin diff --git a/skills/423-frameworks-quarkus-testing-acceptance-tests/references/423-frameworks-quarkus-testing-acceptance-tests.md b/skills/423-frameworks-quarkus-testing-acceptance-tests/references/423-frameworks-quarkus-testing-acceptance-tests.md index 4e6a8cc6..7a381257 100644 --- a/skills/423-frameworks-quarkus-testing-acceptance-tests/references/423-frameworks-quarkus-testing-acceptance-tests.md +++ b/skills/423-frameworks-quarkus-testing-acceptance-tests/references/423-frameworks-quarkus-testing-acceptance-tests.md @@ -4,7 +4,7 @@ description: Use when you need to implement acceptance tests from a Gherkin .fea license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Quarkus acceptance tests from Gherkin diff --git a/skills/501-frameworks-micronaut-core/SKILL.md b/skills/501-frameworks-micronaut-core/SKILL.md index c08aa77e..b74a175d 100644 --- a/skills/501-frameworks-micronaut-core/SKILL.md +++ b/skills/501-frameworks-micronaut-core/SKILL.md @@ -4,7 +4,7 @@ description: Use when building or reviewing Micronaut applications — Micronaut license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut Core Guidelines diff --git a/skills/501-frameworks-micronaut-core/references/501-frameworks-micronaut-core.md b/skills/501-frameworks-micronaut-core/references/501-frameworks-micronaut-core.md index 61afe584..369205e9 100644 --- a/skills/501-frameworks-micronaut-core/references/501-frameworks-micronaut-core.md +++ b/skills/501-frameworks-micronaut-core/references/501-frameworks-micronaut-core.md @@ -4,7 +4,7 @@ description: Use when you need to review, improve, or build Micronaut applicatio license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut Core Guidelines diff --git a/skills/502-frameworks-micronaut-rest/SKILL.md b/skills/502-frameworks-micronaut-rest/SKILL.md index 852d1868..34dbcc82 100644 --- a/skills/502-frameworks-micronaut-rest/SKILL.md +++ b/skills/502-frameworks-micronaut-rest/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to design, review, or improve REST APIs with Micr license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut REST API Guidelines diff --git a/skills/502-frameworks-micronaut-rest/references/502-frameworks-micronaut-rest.md b/skills/502-frameworks-micronaut-rest/references/502-frameworks-micronaut-rest.md index 9e6695cb..3ca54faa 100644 --- a/skills/502-frameworks-micronaut-rest/references/502-frameworks-micronaut-rest.md +++ b/skills/502-frameworks-micronaut-rest/references/502-frameworks-micronaut-rest.md @@ -4,7 +4,7 @@ description: Use when you need to design, review, or improve REST APIs with Micr license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut REST API Guidelines diff --git a/skills/511-frameworks-micronaut-jdbc/SKILL.md b/skills/511-frameworks-micronaut-jdbc/SKILL.md index 1fe7c4fd..9edd67c7 100644 --- a/skills/511-frameworks-micronaut-jdbc/SKILL.md +++ b/skills/511-frameworks-micronaut-jdbc/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need programmatic JDBC in Micronaut — pooled DataSou license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut JDBC — programmatic SQL diff --git a/skills/511-frameworks-micronaut-jdbc/references/511-frameworks-micronaut-jdbc.md b/skills/511-frameworks-micronaut-jdbc/references/511-frameworks-micronaut-jdbc.md index 921c9526..398d6d4d 100644 --- a/skills/511-frameworks-micronaut-jdbc/references/511-frameworks-micronaut-jdbc.md +++ b/skills/511-frameworks-micronaut-jdbc/references/511-frameworks-micronaut-jdbc.md @@ -4,7 +4,7 @@ description: Use when you need to write or review programmatic JDBC in Micronaut license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut JDBC — programmatic SQL diff --git a/skills/512-frameworks-micronaut-data/SKILL.md b/skills/512-frameworks-micronaut-data/SKILL.md index d7eea6e1..c2367b29 100644 --- a/skills/512-frameworks-micronaut-data/SKILL.md +++ b/skills/512-frameworks-micronaut-data/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need data access with Micronaut Data — @MappedEntity license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut Data Guidelines diff --git a/skills/512-frameworks-micronaut-data/references/512-frameworks-micronaut-data.md b/skills/512-frameworks-micronaut-data/references/512-frameworks-micronaut-data.md index d60c0a63..f57db8a3 100644 --- a/skills/512-frameworks-micronaut-data/references/512-frameworks-micronaut-data.md +++ b/skills/512-frameworks-micronaut-data/references/512-frameworks-micronaut-data.md @@ -4,7 +4,7 @@ description: Use when you need data access with Micronaut Data — including JDB license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut Data Guidelines diff --git a/skills/513-frameworks-micronaut-db-migrations-flyway/SKILL.md b/skills/513-frameworks-micronaut-db-migrations-flyway/SKILL.md index 6087126d..cedb1708 100644 --- a/skills/513-frameworks-micronaut-db-migrations-flyway/SKILL.md +++ b/skills/513-frameworks-micronaut-db-migrations-flyway/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to add or review Flyway database migrations in a license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut — Database migrations (Flyway) diff --git a/skills/513-frameworks-micronaut-db-migrations-flyway/references/513-frameworks-micronaut-db-migrations-flyway.md b/skills/513-frameworks-micronaut-db-migrations-flyway/references/513-frameworks-micronaut-db-migrations-flyway.md index 3ecbdf1b..30a8d885 100644 --- a/skills/513-frameworks-micronaut-db-migrations-flyway/references/513-frameworks-micronaut-db-migrations-flyway.md +++ b/skills/513-frameworks-micronaut-db-migrations-flyway/references/513-frameworks-micronaut-db-migrations-flyway.md @@ -4,7 +4,7 @@ description: Use when you need to add or review Flyway database migrations in a license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut — Database migrations (Flyway) diff --git a/skills/521-frameworks-micronaut-testing-unit-tests/SKILL.md b/skills/521-frameworks-micronaut-testing-unit-tests/SKILL.md index f719a8af..1bc84822 100644 --- a/skills/521-frameworks-micronaut-testing-unit-tests/SKILL.md +++ b/skills/521-frameworks-micronaut-testing-unit-tests/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to write unit tests for Micronaut applications license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut Unit Testing diff --git a/skills/521-frameworks-micronaut-testing-unit-tests/references/521-frameworks-micronaut-testing-unit-tests.md b/skills/521-frameworks-micronaut-testing-unit-tests/references/521-frameworks-micronaut-testing-unit-tests.md index d29dd0ef..72bfcf31 100644 --- a/skills/521-frameworks-micronaut-testing-unit-tests/references/521-frameworks-micronaut-testing-unit-tests.md +++ b/skills/521-frameworks-micronaut-testing-unit-tests/references/521-frameworks-micronaut-testing-unit-tests.md @@ -4,7 +4,7 @@ description: Use when you need to write unit tests for Micronaut applications license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut Unit Testing diff --git a/skills/522-frameworks-micronaut-testing-integration-tests/SKILL.md b/skills/522-frameworks-micronaut-testing-integration-tests/SKILL.md index ad2a6505..f1d47ef8 100644 --- a/skills/522-frameworks-micronaut-testing-integration-tests/SKILL.md +++ b/skills/522-frameworks-micronaut-testing-integration-tests/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to write or improve integration tests for Microna license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut Integration Testing diff --git a/skills/522-frameworks-micronaut-testing-integration-tests/references/522-frameworks-micronaut-testing-integration-tests.md b/skills/522-frameworks-micronaut-testing-integration-tests/references/522-frameworks-micronaut-testing-integration-tests.md index 64325d56..e444129b 100644 --- a/skills/522-frameworks-micronaut-testing-integration-tests/references/522-frameworks-micronaut-testing-integration-tests.md +++ b/skills/522-frameworks-micronaut-testing-integration-tests/references/522-frameworks-micronaut-testing-integration-tests.md @@ -4,7 +4,7 @@ description: Use when you need to write or improve integration tests for Microna license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut Integration Testing diff --git a/skills/523-frameworks-micronaut-testing-acceptance-tests/SKILL.md b/skills/523-frameworks-micronaut-testing-acceptance-tests/SKILL.md index 317d870c..10fd57c3 100644 --- a/skills/523-frameworks-micronaut-testing-acceptance-tests/SKILL.md +++ b/skills/523-frameworks-micronaut-testing-acceptance-tests/SKILL.md @@ -4,7 +4,7 @@ description: Use when you need to implement acceptance tests from a Gherkin .fea license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut acceptance tests from Gherkin diff --git a/skills/523-frameworks-micronaut-testing-acceptance-tests/references/523-frameworks-micronaut-testing-acceptance-tests.md b/skills/523-frameworks-micronaut-testing-acceptance-tests/references/523-frameworks-micronaut-testing-acceptance-tests.md index eb1ecd06..38e12d2b 100644 --- a/skills/523-frameworks-micronaut-testing-acceptance-tests/references/523-frameworks-micronaut-testing-acceptance-tests.md +++ b/skills/523-frameworks-micronaut-testing-acceptance-tests/references/523-frameworks-micronaut-testing-acceptance-tests.md @@ -4,7 +4,7 @@ description: Use when you need to implement acceptance tests from a Gherkin .fea license: Apache-2.0 metadata: author: Juan Antonio Breña Moral - version: 0.13.0 + version: 0.14.0-SNAPSHOT --- # Micronaut acceptance tests from Gherkin diff --git a/system-prompts-generator/pom.xml b/system-prompts-generator/pom.xml index aca50f17..e5cd236d 100644 --- a/system-prompts-generator/pom.xml +++ b/system-prompts-generator/pom.xml @@ -7,7 +7,7 @@ info.jab cursor-rules-java - 0.13.0 + 0.14.0-SNAPSHOT info.jab.pml diff --git a/system-prompts-generator/src/main/resources/system-prompt-inventory.json b/system-prompts-generator/src/main/resources/system-prompt-inventory.json index 5403c32d..3ddfa339 100644 --- a/system-prompts-generator/src/main/resources/system-prompt-inventory.json +++ b/system-prompts-generator/src/main/resources/system-prompt-inventory.json @@ -12,6 +12,7 @@ {"name": "111-java-maven-dependencies"}, {"name": "112-java-maven-plugins"}, {"name": "113-java-maven-documentation"}, + {"name": "114-java-maven-search"}, {"name": "121-java-object-oriented-design"}, {"name": "122-java-type-design"}, {"name": "123-java-exception-handling"}, diff --git a/system-prompts-generator/src/main/resources/system-prompts/000-system-prompt-list.xml b/system-prompts-generator/src/main/resources/system-prompts/000-system-prompt-list.xml index 55cb8538..dabc48df 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/000-system-prompt-list.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/000-system-prompt-list.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Create a Checklist with all Java steps to use with system prompts for Java diff --git a/system-prompts-generator/src/main/resources/system-prompts/012-agile-epic.xml b/system-prompts-generator/src/main/resources/system-prompts/012-agile-epic.xml index 026cf6e6..7f7c6ef2 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/012-agile-epic.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/012-agile-epic.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Create Agile Epics Use when the user wants to create an agile epic, define large bodies of work, break down features into user stories, or document strategic initiatives. diff --git a/system-prompts-generator/src/main/resources/system-prompts/013-agile-feature.xml b/system-prompts-generator/src/main/resources/system-prompts/013-agile-feature.xml index 725e622c..0579e1ac 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/013-agile-feature.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/013-agile-feature.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Create Agile Features from an Epic Use when the user wants to derive detailed feature documentation from an existing epic, split an epic into feature files, or plan features with scope and acceptance criteria. diff --git a/system-prompts-generator/src/main/resources/system-prompts/014-agile-user-story.xml b/system-prompts-generator/src/main/resources/system-prompts/014-agile-user-story.xml index b7803fe0..915e4523 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/014-agile-user-story.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/014-agile-user-story.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Create 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. diff --git a/system-prompts-generator/src/main/resources/system-prompts/030-architecture-adr-general.xml b/system-prompts-generator/src/main/resources/system-prompts/030-architecture-adr-general.xml index d95bfbaa..308593a3 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/030-architecture-adr-general.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/030-architecture-adr-general.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java ADR Generator with interactive conversational approach 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. diff --git a/system-prompts-generator/src/main/resources/system-prompts/031-architecture-adr-functional-requirements.xml b/system-prompts-generator/src/main/resources/system-prompts/031-architecture-adr-functional-requirements.xml index f1a391c4..e1454227 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/031-architecture-adr-functional-requirements.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/031-architecture-adr-functional-requirements.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Create ADRs for Functional Requirements (CLI and/or REST API) Use when the user wants to document CLI and/or REST API architecture, capture functional requirements in an ADR, create ADRs for command-line tools or HTTP services, or design interfaces with documented decisions. diff --git a/system-prompts-generator/src/main/resources/system-prompts/032-architecture-adr-non-functional-requirements.xml b/system-prompts-generator/src/main/resources/system-prompts/032-architecture-adr-non-functional-requirements.xml index 67d81ca9..b7d93c31 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/032-architecture-adr-non-functional-requirements.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/032-architecture-adr-non-functional-requirements.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Create ADRs for Non-Functional Requirements Use when the user wants to document quality attributes, NFR decisions, security/performance/scalability architecture, or design systems with measurable quality criteria using ISO/IEC 25010:2023. diff --git a/system-prompts-generator/src/main/resources/system-prompts/033-architecture-diagrams.xml b/system-prompts-generator/src/main/resources/system-prompts/033-architecture-diagrams.xml index 776ced41..7c7ec3cb 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/033-architecture-diagrams.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/033-architecture-diagrams.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java Diagrams Generator with modular step-based configuration Use when you need to generate Java project diagrams — including UML sequence diagrams, UML class diagrams, C4 model diagrams, UML state machine diagrams, and ER (Entity Relationship) diagrams — through a modular, step-based interactive process that adapts to your specific visualization needs. diff --git a/system-prompts-generator/src/main/resources/system-prompts/040-planning-plan-mode.xml b/system-prompts-generator/src/main/resources/system-prompts/040-planning-plan-mode.xml index bcda198a..642ea3e7 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/040-planning-plan-mode.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/040-planning-plan-mode.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java Design Plan Creation for Cursor Plan Mode Use when creating a plan using Plan model and enhancing structured design plans in Cursor Plan mode for Java implementations. Use when the user wants to create a plan, design an implementation, structure a development plan, or use plan mode for outside-in TDD, feature implementation, or refactoring work. diff --git a/system-prompts-generator/src/main/resources/system-prompts/110-java-maven-best-practices.xml b/system-prompts-generator/src/main/resources/system-prompts/110-java-maven-best-practices.xml index 38d44c57..19316cd3 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/110-java-maven-best-practices.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/110-java-maven-best-practices.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Maven Best Practices Use when you need to improve your Maven pom.xml using best practices. diff --git a/system-prompts-generator/src/main/resources/system-prompts/111-java-maven-dependencies.xml b/system-prompts-generator/src/main/resources/system-prompts/111-java-maven-dependencies.xml index b6ea1c68..3436fc3d 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/111-java-maven-dependencies.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/111-java-maven-dependencies.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Add Maven dependencies for improved code quality Use when you need to think to add maven dependencies to your project. diff --git a/system-prompts-generator/src/main/resources/system-prompts/112-java-maven-plugins.xml b/system-prompts-generator/src/main/resources/system-prompts/112-java-maven-plugins.xml index 9fc2f356..950bc898 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/112-java-maven-plugins.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/112-java-maven-plugins.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Maven Plugins: pom.xml Configuration Best Practices Use when you need to add or configure Maven plugins in your pom.xml using a modular, step-based approach. diff --git a/system-prompts-generator/src/main/resources/system-prompts/113-java-maven-documentation.xml b/system-prompts-generator/src/main/resources/system-prompts/113-java-maven-documentation.xml index 7a524eda..733c0724 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/113-java-maven-documentation.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/113-java-maven-documentation.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Create DEVELOPER.md for the Maven projects Use when you need to create a DEVELOPER.md file for a Maven project documenting plugin goals, Maven profiles, and submodules. diff --git a/system-prompts-generator/src/main/resources/system-prompts/114-java-maven-search.xml b/system-prompts-generator/src/main/resources/system-prompts/114-java-maven-search.xml new file mode 100644 index 00000000..98396a28 --- /dev/null +++ b/system-prompts-generator/src/main/resources/system-prompts/114-java-maven-search.xml @@ -0,0 +1,264 @@ + + + + + Juan Antonio Breña Moral + 0.14.0-SNAPSHOT + Apache-2.0 + Maven Central search and coordinates + Provides guidance for (1) Maven Central search and coordinates via the Search API and repository URLs, and (2) project-local checks for newer dependency, plugin, and property versions using the Versions Maven Plugin. Use when the user needs to find or verify artifacts, browse versions, inspect POMs, or see what updates apply to their own pom.xml. + + + You are a Senior software engineer with extensive experience in Java software development, Maven repositories, and dependency resolution + + + + + + Prefer authoritative sources: Maven Central Search API responses, `maven-metadata.xml`, and POM files from `repo1.maven.org`. Do not invent coordinates; confirm existence via API or HTTP before asserting availability. + + + **VERIFY**: Confirm coordinates exist (Search API or successful metadata/POM fetch) before recommending them for production use + **STABLE VERSIONS**: Prefer non-SNAPSHOT release versions unless the user explicitly needs snapshots + **FORMAT**: Present Maven coordinates as `groupId:artifactId:version` and URL-encode query parameters in Search API calls + **INTEGRITY**: When providing direct downloads, mention that checksum files (`.sha1`, `.md5`, `.asc`) live alongside artifacts when the user needs verification + + + + + + Recognize the task and branch (Central search vs. project updates) + + + + Project updates: verify Versions Maven Plugin, then run display goals + ` or ``. + +**2. If it is missing, add it** + +Add a `` entry with `groupId` `org.codehaus.mojo`, `artifactId` `versions-maven-plugin`, +and a **`version`** set to a **current release** from Maven Central (do not invent a version—resolve it +via Search API/metadata or the plugin's documentation). A minimal declaration: + +```xml + + org.codehaus.mojo + versions-maven-plugin + + +``` + +Prefer `pluginManagement` in the parent POM for multi-module builds; otherwise place under `` in the module that owns the build. + +**3. Run these goals from the project root** (use the Maven Wrapper when present): + +```bash +./mvnw versions:display-property-updates +./mvnw versions:display-dependency-updates +./mvnw versions:display-plugin-updates +``` + +Use `mvn` instead of `./mvnw` only when the project has no wrapper. Interpretation: + +- **`display-property-updates`** — suggests newer values for version **properties** referenced in the POM (e.g. `${foo.version}`). +- **`display-dependency-updates`** — suggests newer versions for **dependencies** (respecting scopes and management rules). +- **`display-plugin-updates`** — suggests newer versions for **build plugins** (including reporting plugins where applicable). + +These commands complement Central search: they answer “what is newer **for this build**,” while Steps 3-9 +help **discover and verify** arbitrary artifacts on Central. + +**Reference:** https://www.mojohaus.org/versions/versions-maven-plugin/ + +]]> + + + Query the Maven Central Search API + + + + Read version history with maven-metadata.xml + + + + Build direct artifact URLs + + + + Analyze dependencies from a POM + `, ``, and parent `` (may imply import BOMs or inherited dependencyManagement). +3. Explain that the **full transitive tree** for a project is best obtained with Maven (`mvn dependency:tree`) or Gradle equivalent on the **consumer** project — a single POM on Central does not replace resolver mediation, exclusions, or profiles. + +Call out ``, `true`, and `` when they affect what appears on the classpath. + +]]> + + + Validate and present results + + + + Quick task recipes + ` on the Search API. + +**Task B — Search by G and A:** `q=g: AND a:`. + +**Task C — Version list / latest:** GET `maven-metadata.xml` for that G:A path. + +**Task D — Download artifact:** Construct URL from Step 5 after confirming the version exists. + +**Task E — Dependency insight:** GET the POM, list direct dependencies; recommend `mvn dependency:tree` on the user’s project for the resolved graph. + +**Task F — Project update report (own POM):** Ensure `versions-maven-plugin` is present (Step 2), then run `./mvnw versions:display-property-updates`, `./mvnw versions:display-dependency-updates`, and `./mvnw versions:display-plugin-updates`. + +]]> + + + Keywords and resources + + + + + diff --git a/system-prompts-generator/src/main/resources/system-prompts/121-java-object-oriented-design.xml b/system-prompts-generator/src/main/resources/system-prompts/121-java-object-oriented-design.xml index 62082539..91d96f7c 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/121-java-object-oriented-design.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/121-java-object-oriented-design.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java Object-Oriented Design Guidelines Use when you need to review, improve, or refactor Java code for object-oriented design quality — applying SOLID, DRY, and YAGNI principles, improving class and interface design, fixing OOP misuse, and resolving common code smells such as God Class, Feature Envy, and Data Clumps. diff --git a/system-prompts-generator/src/main/resources/system-prompts/122-java-type-design.xml b/system-prompts-generator/src/main/resources/system-prompts/122-java-type-design.xml index a3dec8ee..0fd6853c 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/122-java-type-design.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/122-java-type-design.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Type Design Thinking in Java Use when you need to review, improve, or refactor Java code for type design quality — including establishing clear type hierarchies, applying consistent naming conventions, eliminating primitive obsession with domain-specific value objects, leveraging generic type parameters, creating type-safe wrappers, designing fluent interfaces, ensuring precision-appropriate numeric types (BigDecimal for financial calculations), and improving type contrast through interfaces and method signature alignment. diff --git a/system-prompts-generator/src/main/resources/system-prompts/123-java-exception-handling.xml b/system-prompts-generator/src/main/resources/system-prompts/123-java-exception-handling.xml index a273c116..77f1ce4b 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/123-java-exception-handling.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/123-java-exception-handling.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java Exception Handling Guidelines Use when you need to apply Java exception handling best practices — including using specific exception types, managing resources with try-with-resources, securing exception messages, preserving error context via exception chaining, validating inputs early with fail-fast principles, handling thread interruption correctly, documenting exceptions with @throws, enforcing logging policy, translating exceptions at API boundaries, managing retries and idempotency, enforcing timeouts, attaching suppressed exceptions, and propagating failures in async/reactive code. diff --git a/system-prompts-generator/src/main/resources/system-prompts/124-java-secure-coding.xml b/system-prompts-generator/src/main/resources/system-prompts/124-java-secure-coding.xml index bd40272e..0367ed2d 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/124-java-secure-coding.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/124-java-secure-coding.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java Secure coding guidelines Use when you need to apply Java secure coding best practices — including validating untrusted inputs, defending against injection attacks with parameterized queries, minimizing attack surface via least privilege, applying strong cryptographic algorithms, handling exceptions securely without exposing sensitive data, managing secrets at runtime, avoiding unsafe deserialization, and encoding output to prevent XSS. diff --git a/system-prompts-generator/src/main/resources/system-prompts/125-java-concurrency.xml b/system-prompts-generator/src/main/resources/system-prompts/125-java-concurrency.xml index c394540c..42a23ae7 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/125-java-concurrency.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/125-java-concurrency.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java rules for Concurrency objects Use when you need to apply Java concurrency best practices — including thread safety fundamentals, ExecutorService thread pool management, concurrent design patterns like Producer-Consumer, asynchronous programming with CompletableFuture, immutability and safe publication, deadlock avoidance, virtual threads, scoped values, backpressure, cancellation discipline, and observability for concurrent systems. diff --git a/system-prompts-generator/src/main/resources/system-prompts/128-java-generics.xml b/system-prompts-generator/src/main/resources/system-prompts/128-java-generics.xml index 3535dae0..96c03c2b 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/128-java-generics.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/128-java-generics.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java Generics Best Practices Use when you need to review, improve, or refactor Java code for generics quality — including avoiding raw types, applying PECS wildcards, using bounded type parameters, designing effective generic methods, leveraging type inference with the diamond operator, handling type erasure, preventing heap pollution with @SafeVarargs, and integrating generics with Records, sealed types, and pattern matching. diff --git a/system-prompts-generator/src/main/resources/system-prompts/130-java-testing-strategies.xml b/system-prompts-generator/src/main/resources/system-prompts/130-java-testing-strategies.xml index b5598b07..0e4f415f 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/130-java-testing-strategies.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/130-java-testing-strategies.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java testing strategies Use when you need to apply testing strategies for Java code — including RIGHT-BICEP to guide test creation, A-TRIP for test quality characteristics, or CORRECT for verifying boundary conditions. Focused on conceptual frameworks rather than framework-specific annotations. diff --git a/system-prompts-generator/src/main/resources/system-prompts/131-java-testing-unit-testing.xml b/system-prompts-generator/src/main/resources/system-prompts/131-java-testing-unit-testing.xml index 920f4305..09fdfe1a 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/131-java-testing-unit-testing.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/131-java-testing-unit-testing.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java Unit testing guidelines Use when you need to review, improve, or write Java unit tests for framework-agnostic applications (no Spring Boot, Quarkus, Micronaut) — including migrating from JUnit 4 to JUnit 5, adopting AssertJ for fluent assertions, structuring tests with Given-When-Then, ensuring test independence, applying parameterized tests, mocking dependencies with Mockito, verifying boundary conditions (RIGHT-BICEP, CORRECT, A-TRIP), leveraging JSpecify null-safety annotations, or eliminating testing anti-patterns such as reflection-based tests or shared mutable state. For Spring Boot use @321-frameworks-spring-boot-testing-unit-tests. For Quarkus use @421-frameworks-quarkus-testing-unit-tests. diff --git a/system-prompts-generator/src/main/resources/system-prompts/132-java-testing-integration-testing.xml b/system-prompts-generator/src/main/resources/system-prompts/132-java-testing-integration-testing.xml index 2d1d1c22..69205142 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/132-java-testing-integration-testing.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/132-java-testing-integration-testing.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java Integration testing guidelines Use when you need to set up, review, or improve Java integration tests for framework-agnostic applications (no Spring Boot, Quarkus, Micronaut) — including generating a BaseIntegrationTest.java with WireMock for HTTP stubs, detecting HTTP client infrastructure from import signals, injecting service coordinates dynamically via System.setProperty(), creating WireMock JSON mapping files with bodyFileName, isolating stubs per test method, verifying HTTP interactions, or eliminating anti-patterns such as Mockito-mocked HTTP clients or globally registered WireMock stubs. For Spring Boot use @322-frameworks-spring-boot-testing-integration-tests. For Quarkus use @422-frameworks-quarkus-testing-integration-tests. diff --git a/system-prompts-generator/src/main/resources/system-prompts/133-java-testing-acceptance-tests.xml b/system-prompts-generator/src/main/resources/system-prompts/133-java-testing-acceptance-tests.xml index af54ad8b..a86e5391 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/133-java-testing-acceptance-tests.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/133-java-testing-acceptance-tests.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java acceptance tests from Gherkin Use when you need to implement acceptance tests from a Gherkin .feature file for framework-agnostic Java apps (no Spring Boot, Quarkus, Micronaut) — including finding scenarios tagged @acceptance, implementing happy path tests, using RestAssured, Testcontainers for DB/Kafka, and WireMock for external REST stubs. diff --git a/system-prompts-generator/src/main/resources/system-prompts/141-java-refactoring-with-modern-features.xml b/system-prompts-generator/src/main/resources/system-prompts/141-java-refactoring-with-modern-features.xml index c29c565f..f3c6a9cb 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/141-java-refactoring-with-modern-features.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/141-java-refactoring-with-modern-features.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Modern Java Development Guidelines (Java 8+) Use when you need to refactor Java code to adopt modern Java features (Java 8+) including lambda expressions, Stream API, Optional, java.time API, collection factory methods, text blocks, var inference, and Java 25 flexible constructor bodies and module import declarations. diff --git a/system-prompts-generator/src/main/resources/system-prompts/142-java-functional-programming.xml b/system-prompts-generator/src/main/resources/system-prompts/142-java-functional-programming.xml index 4e8655a5..62c5cc6c 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/142-java-functional-programming.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/142-java-functional-programming.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java Functional Programming rules Use when you need to apply functional programming principles in Java — including immutable objects and Records, pure functions, functional interfaces, lambda expressions, Stream API, Optional for null safety, function composition, higher-order functions, pattern matching, sealed classes/interfaces, and concurrent-safe functional patterns. diff --git a/system-prompts-generator/src/main/resources/system-prompts/143-java-functional-exception-handling.xml b/system-prompts-generator/src/main/resources/system-prompts/143-java-functional-exception-handling.xml index 98d1c7f3..98b8ec64 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/143-java-functional-exception-handling.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/143-java-functional-exception-handling.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java Functional Exception handling Best Practices Use when you need to apply functional exception handling best practices in Java — including replacing exception overuse with Optional and VAVR Either types, designing error type hierarchies using sealed classes and enums, implementing monadic error composition pipelines, establishing functional control flow patterns, and reserving exceptions only for truly exceptional system-level failures. diff --git a/system-prompts-generator/src/main/resources/system-prompts/144-java-data-oriented-programming.xml b/system-prompts-generator/src/main/resources/system-prompts/144-java-data-oriented-programming.xml index f399a268..720d3daf 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/144-java-data-oriented-programming.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/144-java-data-oriented-programming.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java Data-Oriented Programming Best Practices Use when you need to apply data-oriented programming best practices in Java — including separating code (behavior) from data structures using records, designing immutable data with pure transformation functions, keeping data flat and denormalized with ID-based references, starting with generic data structures converting to specific types when needed, ensuring data integrity through pure validation functions, and creating flexible generic data access layers. diff --git a/system-prompts-generator/src/main/resources/system-prompts/151-java-performance-jmeter.xml b/system-prompts-generator/src/main/resources/system-prompts/151-java-performance-jmeter.xml index a4a55f11..1438f448 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/151-java-performance-jmeter.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/151-java-performance-jmeter.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Run performance tests based on JMeter Use when you need to set up JMeter performance testing for a Java project — including creating the run-jmeter.sh script from the exact template, configuring load tests with loops, threads, and ramp-up, or running performance tests from the project root. diff --git a/system-prompts-generator/src/main/resources/system-prompts/161-java-profiling-detect.xml b/system-prompts-generator/src/main/resources/system-prompts/161-java-profiling-detect.xml index b9320cdf..3f0f14dc 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/161-java-profiling-detect.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/161-java-profiling-detect.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java Profiling Workflow / Step 1 / Collect data to measure potential issues Use when you need to set up Java application profiling to detect and measure performance issues — including automated async-profiler v4.0 setup, problem-driven profiling (CPU, memory, threading, GC, I/O), interactive profiling scripts, or collecting profiling data with flamegraphs and JFR recordings. diff --git a/system-prompts-generator/src/main/resources/system-prompts/162-java-profiling-analyze.xml b/system-prompts-generator/src/main/resources/system-prompts/162-java-profiling-analyze.xml index 73fdd162..4e330a84 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/162-java-profiling-analyze.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/162-java-profiling-analyze.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java Profiling Workflow / Step 2 / Analyze profiling data Use when you need to analyze Java profiling data collected during the detection phase — including interpreting flamegraphs, memory allocation patterns, CPU hotspots, threading issues, systematic problem categorization, evidence documentation, or prioritizing fixes using Impact/Effort scoring. diff --git a/system-prompts-generator/src/main/resources/system-prompts/163-java-profiling-refactor.xml b/system-prompts-generator/src/main/resources/system-prompts/163-java-profiling-refactor.xml index 7252e5e0..99551f29 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/163-java-profiling-refactor.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/163-java-profiling-refactor.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java Profiling Workflow / Step 3 / Refactor code to fix issues Use when you need to refactor Java code based on profiling analysis findings — including reviewing profiling-problem-analysis and profiling-solutions documents, identifying specific performance bottlenecks, and implementing targeted code changes to address them. diff --git a/system-prompts-generator/src/main/resources/system-prompts/164-java-profiling-verify.xml b/system-prompts-generator/src/main/resources/system-prompts/164-java-profiling-verify.xml index a84c394c..e17b1be3 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/164-java-profiling-verify.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/164-java-profiling-verify.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java Profiling Workflow / Step 4 / Verify results Use when you need to verify Java performance optimizations by comparing profiling results before and after refactoring — including baseline validation, post-refactoring report generation, quantitative before/after metrics comparison, side-by-side flamegraph analysis, or creating profiling-comparison-analysis and profiling-final-results documentation. diff --git a/system-prompts-generator/src/main/resources/system-prompts/170-java-documentation.xml b/system-prompts-generator/src/main/resources/system-prompts/170-java-documentation.xml index fcfdf06b..39382b67 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/170-java-documentation.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/170-java-documentation.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java Documentation Generator with modular step-based configuration Use when you need to generate or improve Java project documentation — including README.md files, package-info.java files, and Javadoc enhancements — through a modular, step-based interactive process that adapts to your specific documentation needs. diff --git a/system-prompts-generator/src/main/resources/system-prompts/180-java-observability-logging.xml b/system-prompts-generator/src/main/resources/system-prompts/180-java-observability-logging.xml index b2e0af6e..6bb6d893 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/180-java-observability-logging.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/180-java-observability-logging.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java Logging Best Practices Use when you need to implement or improve Java logging and observability — including selecting SLF4J with Logback/Log4j2, applying proper log levels, parameterized logging, secure logging without sensitive data exposure, environment-specific configuration, log aggregation and monitoring, or validating logging through tests. diff --git a/system-prompts-generator/src/main/resources/system-prompts/200-agents-md.xml b/system-prompts-generator/src/main/resources/system-prompts/200-agents-md.xml index a1a9f028..0e343979 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/200-agents-md.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/200-agents-md.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 AGENTS.md Generator for Java repositories Use when you need to generate an AGENTS.md file for a Java repository — covering project conventions, tech stack, file structure, commands, Git workflow, and contributor boundaries — through a modular, step-based interactive process that adapts to your specific project needs. diff --git a/system-prompts-generator/src/main/resources/system-prompts/301-frameworks-spring-boot-core.xml b/system-prompts-generator/src/main/resources/system-prompts/301-frameworks-spring-boot-core.xml index 172e819e..e3fd0eb3 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/301-frameworks-spring-boot-core.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/301-frameworks-spring-boot-core.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Spring Boot Core Guidelines Use when you need to review, improve, or build Spring Boot 4.0.x applications — including proper usage of @SpringBootApplication, component annotations (@Controller, @Service, @Repository), bean definition and scoping, configuration classes and @ConfigurationProperties (with @Validated), component scanning, conditional configuration and profiles, constructor injection, @Primary and @Qualifier for multiple beans of the same type, bean minimization, graceful shutdown, virtual threads, Jakarta EE namespace consistency, scheduled tasks, and @TestConfiguration. diff --git a/system-prompts-generator/src/main/resources/system-prompts/302-frameworks-spring-boot-rest.xml b/system-prompts-generator/src/main/resources/system-prompts/302-frameworks-spring-boot-rest.xml index 51243ee5..cbea2d77 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/302-frameworks-spring-boot-rest.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/302-frameworks-spring-boot-rest.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Java REST API Design Principles Use when you need to design, review, or improve REST APIs with Spring Boot — including HTTP methods, resource URIs, status codes, DTOs, versioning, deprecation and sunset headers, content negotiation (JSON and vendor media types), ISO-8601 instants in DTOs, pagination/sorting/filtering, Bean Validation at the boundary, idempotency, ETag concurrency, HTTP caching, error handling, security, contract-first OpenAPI (OpenAPI Generator), controller advice, and problem details for errors. diff --git a/system-prompts-generator/src/main/resources/system-prompts/311-frameworks-spring-jdbc.xml b/system-prompts-generator/src/main/resources/system-prompts/311-frameworks-spring-jdbc.xml index d3124e60..47afd9fd 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/311-frameworks-spring-jdbc.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/311-frameworks-spring-jdbc.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Spring JDBC — JdbcClient (Spring Framework 6.1+) Use when you need to write or review programmatic JDBC with Spring — including JdbcClient (Spring Framework 6.1+) as the default API, JdbcTemplate only where batch/streaming APIs require JdbcOperations, NamedParameterJdbcTemplate for legacy named-param code, parameterized SQL, RowMapper mapping to records, batch operations, transactions, safe handling of generated keys, DataAccessException handling, read-only transactions, streaming large result sets, and @JdbcTest slice testing. diff --git a/system-prompts-generator/src/main/resources/system-prompts/312-frameworks-spring-data-jdbc.xml b/system-prompts-generator/src/main/resources/system-prompts/312-frameworks-spring-data-jdbc.xml index dc5ba3fe..1a447f70 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/312-frameworks-spring-data-jdbc.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/312-frameworks-spring-data-jdbc.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Spring Data JDBC with Records Use when you need to use Spring Data JDBC with Java records — including entity design with records, repository pattern, immutable updates, aggregate relationships, custom queries, transaction management, and avoiding N+1 problems. For programmatic JDBC (`JdbcTemplate`, `NamedParameterJdbcTemplate`), hand-written SQL, and maximum control without repository abstraction, use `@311-frameworks-spring-jdbc`. For Flyway-backed DDL and versioned schema changes, use `@313-frameworks-spring-db-migrations-flyway`. diff --git a/system-prompts-generator/src/main/resources/system-prompts/313-frameworks-spring-db-migrations-flyway.xml b/system-prompts-generator/src/main/resources/system-prompts/313-frameworks-spring-db-migrations-flyway.xml index b5cc13fe..ff425654 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/313-frameworks-spring-db-migrations-flyway.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/313-frameworks-spring-db-migrations-flyway.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Spring — Database migrations (Flyway) Use when you need to add or review Flyway database migrations in a Spring Boot application — including Maven dependencies, `classpath:db/migration` scripts, versioning (`V{version}__{description}.sql`), configuration via `spring.flyway.*`, baseline and repair for existing databases, validation in CI, and coordination with JDBC (`@311-frameworks-spring-jdbc`) or Spring Data JDBC (`@312-frameworks-spring-data-jdbc`). Focus on Flyway; for ORM schema generation use the stack’s Hibernate integration instead of mixing approaches blindly. diff --git a/system-prompts-generator/src/main/resources/system-prompts/321-frameworks-spring-boot-testing-unit-tests.xml b/system-prompts-generator/src/main/resources/system-prompts/321-frameworks-spring-boot-testing-unit-tests.xml index f4b7d539..7a4e4d9e 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/321-frameworks-spring-boot-testing-unit-tests.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/321-frameworks-spring-boot-testing-unit-tests.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Spring Boot Unit Testing with Mockito Use when you need to write unit tests for Spring Boot applications — including pure unit tests with @ExtendWith(MockitoExtension.class) for @Service/@Component, slice tests with @WebMvcTest and @MockBean/@MockitoBean for controllers, @JsonTest for JSON serialization, parameterized tests with @CsvSource/@MethodSource, test profiles, and @TestConfiguration. For framework-agnostic Java use @131-java-testing-unit-testing. For integration tests use @322-frameworks-spring-boot-testing-integration-tests. diff --git a/system-prompts-generator/src/main/resources/system-prompts/322-frameworks-spring-boot-testing-integration-tests.xml b/system-prompts-generator/src/main/resources/system-prompts/322-frameworks-spring-boot-testing-integration-tests.xml index 6a90df3a..2a93befd 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/322-frameworks-spring-boot-testing-integration-tests.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/322-frameworks-spring-boot-testing-integration-tests.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Spring Boot Integration Testing Use when you need to write or improve integration tests — including Testcontainers with @ServiceConnection, @DataJdbcTest persistence slices, TestRestTemplate or MockMvcTester for HTTP, data isolation, and container lifecycle management for Spring Boot 4.0.x. diff --git a/system-prompts-generator/src/main/resources/system-prompts/323-frameworks-spring-boot-testing-acceptance-tests.xml b/system-prompts-generator/src/main/resources/system-prompts/323-frameworks-spring-boot-testing-acceptance-tests.xml index fb5c10d8..4ca23846 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/323-frameworks-spring-boot-testing-acceptance-tests.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/323-frameworks-spring-boot-testing-acceptance-tests.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Spring Boot acceptance tests from Gherkin Use when you need to implement acceptance tests from a Gherkin .feature file for Spring Boot applications — including finding scenarios tagged @acceptance, implementing happy path tests with TestRestTemplate, @SpringBootTest, Testcontainers for DB/Kafka, and WireMock for external REST stubs. diff --git a/system-prompts-generator/src/main/resources/system-prompts/401-frameworks-quarkus-core.xml b/system-prompts-generator/src/main/resources/system-prompts/401-frameworks-quarkus-core.xml index 6b90102c..02150a6c 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/401-frameworks-quarkus-core.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/401-frameworks-quarkus-core.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Quarkus Core Guidelines Use when you need to review, improve, or build Quarkus applications — including mandatory @QuarkusMain entry points with static main methods, CDI scopes (@ApplicationScoped, @Singleton, @Dependent), constructor injection, @ConfigMapping and SmallRye Config, profiles (%dev, %test, %prod), build-time vs runtime configuration, lifecycle (@Startup, @PreDestroy), metrics integration patterns, and test-friendly bean design. diff --git a/system-prompts-generator/src/main/resources/system-prompts/402-frameworks-quarkus-rest.xml b/system-prompts-generator/src/main/resources/system-prompts/402-frameworks-quarkus-rest.xml index be85e6af..05b59f5d 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/402-frameworks-quarkus-rest.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/402-frameworks-quarkus-rest.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Quarkus REST API Guidelines Use when you need to design, review, or improve REST APIs with Quarkus REST (Jakarta REST) — including resource classes, HTTP methods, status codes, request/response DTOs, ISO-8601 instants in DTOs, Bean Validation, exception mappers, optional runtime OpenAPI exposure (SmallRye), contract-first generation from OpenAPI (Quarkus OpenAPI Generator or OpenAPI Generator `jaxrs-spec`), content negotiation, pagination, and security-aware boundaries. diff --git a/system-prompts-generator/src/main/resources/system-prompts/411-frameworks-quarkus-jdbc.xml b/system-prompts-generator/src/main/resources/system-prompts/411-frameworks-quarkus-jdbc.xml index 7379954f..d9bbe9a1 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/411-frameworks-quarkus-jdbc.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/411-frameworks-quarkus-jdbc.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Quarkus JDBC — programmatic SQL Use when you need to write or review programmatic JDBC in Quarkus — including Agroal-backed DataSource injection, PreparedStatement with bind parameters, mapping rows to Java records, transactions (@Transactional), batch updates, SQL text blocks and upserts with domain exception translation, and optional NamedParameterJdbcTemplate when spring-jdbc is on the classpath. Prefer explicit SQL without ORM. diff --git a/system-prompts-generator/src/main/resources/system-prompts/412-frameworks-quarkus-panache.xml b/system-prompts-generator/src/main/resources/system-prompts/412-frameworks-quarkus-panache.xml index b1d8b742..eff25b45 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/412-frameworks-quarkus-panache.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/412-frameworks-quarkus-panache.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Hibernate ORM with Panache Use when you need data access with Quarkus Hibernate ORM Panache — including PanacheEntity / PanacheEntityBase, PanacheRepository, named queries, JPQL, native SQL, transactions, pagination, and immutable-friendly patterns. This is the Quarkus analogue to Spring Data for relational persistence; prefer Panache APIs over verbose persistence boilerplate. For Flyway-backed DDL and versioned schema changes, use `@413-frameworks-quarkus-db-migrations-flyway`. diff --git a/system-prompts-generator/src/main/resources/system-prompts/413-frameworks-quarkus-db-migrations-flyway.xml b/system-prompts-generator/src/main/resources/system-prompts/413-frameworks-quarkus-db-migrations-flyway.xml index 07d3ad01..4d69648e 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/413-frameworks-quarkus-db-migrations-flyway.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/413-frameworks-quarkus-db-migrations-flyway.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Quarkus — Database migrations (Flyway) Use when you need to add or review Flyway database migrations in a Quarkus application — including the `quarkus-flyway` extension, `classpath:db/migration` scripts, `V{version}__{description}.sql` naming, `quarkus.flyway.*` configuration, migrate-at-start behavior, and coordination with JDBC (`@411-frameworks-quarkus-jdbc`) or Hibernate ORM with Panache (`@412-frameworks-quarkus-panache`). Focus on Flyway-driven schema evolution, not hand-applied DDL in production. diff --git a/system-prompts-generator/src/main/resources/system-prompts/421-frameworks-quarkus-testing-unit-tests.xml b/system-prompts-generator/src/main/resources/system-prompts/421-frameworks-quarkus-testing-unit-tests.xml index a3d1b83d..bd82593e 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/421-frameworks-quarkus-testing-unit-tests.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/421-frameworks-quarkus-testing-unit-tests.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Quarkus Unit Testing Use when you need to write fast unit tests for Quarkus applications — including pure tests with @ExtendWith(MockitoExtension.class) for CDI @ApplicationScoped beans (instantiated manually), @QuarkusTest with @InjectMock to replace CDI dependencies in focused tests, REST Assured only when HTTP surface is under test, and @ParameterizedTest for data-driven cases. For framework-agnostic Java use @131-java-testing-unit-testing. For full integration use @422-frameworks-quarkus-testing-integration-tests. diff --git a/system-prompts-generator/src/main/resources/system-prompts/422-frameworks-quarkus-testing-integration-tests.xml b/system-prompts-generator/src/main/resources/system-prompts/422-frameworks-quarkus-testing-integration-tests.xml index be34355e..ca0be8eb 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/422-frameworks-quarkus-testing-integration-tests.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/422-frameworks-quarkus-testing-integration-tests.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Quarkus Integration Testing Use when you need to write or improve integration tests for Quarkus — including @QuarkusTest, Dev Services for databases and messaging, Testcontainers when Dev Services are insufficient, @QuarkusIntegrationTest for black-box tests, REST Assured against @TestHTTPManager, persistence with @Transactional rollback, and clear separation of *IT tests in Failsafe. diff --git a/system-prompts-generator/src/main/resources/system-prompts/423-frameworks-quarkus-testing-acceptance-tests.xml b/system-prompts-generator/src/main/resources/system-prompts/423-frameworks-quarkus-testing-acceptance-tests.xml index 5e368207..a16f451e 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/423-frameworks-quarkus-testing-acceptance-tests.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/423-frameworks-quarkus-testing-acceptance-tests.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Quarkus acceptance tests from Gherkin Use when you need to implement acceptance tests from a Gherkin .feature file for Quarkus applications — including scenarios tagged @acceptance, @QuarkusTest, REST Assured over the real HTTP port, Testcontainers or Dev Services for databases and Kafka, and WireMock for external REST stubs. diff --git a/system-prompts-generator/src/main/resources/system-prompts/501-frameworks-micronaut-core.xml b/system-prompts-generator/src/main/resources/system-prompts/501-frameworks-micronaut-core.xml index 791abcd7..7cc49077 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/501-frameworks-micronaut-core.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/501-frameworks-micronaut-core.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Micronaut Core Guidelines Use when you need to review, improve, or build Micronaut applications — including application bootstrap with Micronaut.run, @Singleton/@Prototype scopes, @Factory bean producers, constructor injection with jakarta.inject, @ConfigurationProperties and @Property, environments and @Requires, @Controller vs application services, AOP interceptors, @Scheduled tasks, graceful shutdown, virtual-thread friendly execution, health endpoints, and test-oriented bean design. diff --git a/system-prompts-generator/src/main/resources/system-prompts/502-frameworks-micronaut-rest.xml b/system-prompts-generator/src/main/resources/system-prompts/502-frameworks-micronaut-rest.xml index 6705166d..421b898c 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/502-frameworks-micronaut-rest.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/502-frameworks-micronaut-rest.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Micronaut REST API Guidelines Use when you need to design, review, or improve REST APIs with Micronaut — including HTTP methods, resource URIs, status codes, DTOs, versioning, deprecation and sunset headers, content negotiation (JSON and vendor media types), ISO-8601 instants in DTOs, pagination/sorting/filtering, Bean Validation at the boundary, idempotency, ETag concurrency, HTTP caching, error handling with `ExceptionHandler`, security annotations, contract-first OpenAPI (OpenAPI Generator `micronaut` server), optional runtime OpenAPI via `micronaut-openapi`, and RFC 7807-style problem details for errors. diff --git a/system-prompts-generator/src/main/resources/system-prompts/511-frameworks-micronaut-jdbc.xml b/system-prompts-generator/src/main/resources/system-prompts/511-frameworks-micronaut-jdbc.xml index 3be89267..7490e336 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/511-frameworks-micronaut-jdbc.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/511-frameworks-micronaut-jdbc.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Micronaut JDBC — programmatic SQL Use when you need to write or review programmatic JDBC in Micronaut — including Hikari-backed DataSource injection, PreparedStatement with bind parameters, mapping rows to Java records, transactions (io.micronaut.transaction.annotation.Transactional), batch updates, SQL text blocks, and domain-specific exception translation. Prefer explicit SQL without Micronaut Data when you need full control. diff --git a/system-prompts-generator/src/main/resources/system-prompts/512-frameworks-micronaut-data.xml b/system-prompts-generator/src/main/resources/system-prompts/512-frameworks-micronaut-data.xml index 7b9ae80b..f2d8d3cf 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/512-frameworks-micronaut-data.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/512-frameworks-micronaut-data.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Micronaut Data Guidelines Use when you need data access with Micronaut Data — including JDBC (and JPA where applicable) repositories, @MappedEntity design, CrudRepository and custom @Query methods, pagination with Pageable, transactions with @Transactional, immutable-friendly entities and DTO projections, optimistic locking, compile-time query validation, and test setup with @MicronautTest and TestPropertyProvider. For hand-written java.sql repositories and maximum SQL control, use `@511-frameworks-micronaut-jdbc`. For Flyway-backed DDL and versioned schema changes, use `@513-frameworks-micronaut-db-migrations-flyway`. diff --git a/system-prompts-generator/src/main/resources/system-prompts/513-frameworks-micronaut-db-migrations-flyway.xml b/system-prompts-generator/src/main/resources/system-prompts/513-frameworks-micronaut-db-migrations-flyway.xml index 38bb6a0c..c978f4cb 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/513-frameworks-micronaut-db-migrations-flyway.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/513-frameworks-micronaut-db-migrations-flyway.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Micronaut — Database migrations (Flyway) Use when you need to add or review Flyway database migrations in a Micronaut application — including `micronaut-flyway` (or Flyway integration aligned with your Micronaut BOM), `classpath:db/migration` scripts, `V{version}__{description}.sql` naming, per-datasource Flyway configuration, and coordination with JDBC (`@511-frameworks-micronaut-jdbc`) or Micronaut Data (`@512-frameworks-micronaut-data`). Focus on repeatable, versioned schema evolution. diff --git a/system-prompts-generator/src/main/resources/system-prompts/521-frameworks-micronaut-testing-unit-tests.xml b/system-prompts-generator/src/main/resources/system-prompts/521-frameworks-micronaut-testing-unit-tests.xml index 002a209e..c60689d1 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/521-frameworks-micronaut-testing-unit-tests.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/521-frameworks-micronaut-testing-unit-tests.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Micronaut Unit Testing Use when you need to write unit tests for Micronaut applications — including pure JUnit 5 + Mockito with @ExtendWith(MockitoExtension.class) for @Singleton services, @MicronautTest with @MockBean for HTTP/controller slices, @Client HttpClient against EmbeddedServer, JSON assertions with AssertJ, @ParameterizedTest with @CsvSource/@MethodSource, property overrides with @Property, and naming conventions (*Test → Surefire, *IT → Failsafe). For framework-agnostic Java use @131-java-testing-unit-testing. For integration tests use @522-frameworks-micronaut-testing-integration-tests. diff --git a/system-prompts-generator/src/main/resources/system-prompts/522-frameworks-micronaut-testing-integration-tests.xml b/system-prompts-generator/src/main/resources/system-prompts/522-frameworks-micronaut-testing-integration-tests.xml index 22db5eb6..5c4beeb2 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/522-frameworks-micronaut-testing-integration-tests.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/522-frameworks-micronaut-testing-integration-tests.xml @@ -2,7 +2,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Micronaut Integration Testing Use when you need to write or improve integration tests for Micronaut — including @MicronautTest with full or partial context, HttpClient against EmbeddedServer, Testcontainers with TestPropertyProvider for JDBC and brokers, data isolation, @MicronautTest(transactional = true) rollback where appropriate, and Maven Surefire/Failsafe splits for *Test, *Tests, *IT, and *AT. diff --git a/system-prompts-generator/src/main/resources/system-prompts/523-frameworks-micronaut-testing-acceptance-tests.xml b/system-prompts-generator/src/main/resources/system-prompts/523-frameworks-micronaut-testing-acceptance-tests.xml index 5ad7527f..02faae0e 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/523-frameworks-micronaut-testing-acceptance-tests.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/523-frameworks-micronaut-testing-acceptance-tests.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Apache-2.0 Micronaut acceptance tests from Gherkin Use when you need to implement acceptance tests from a Gherkin .feature file for Micronaut applications — including scenarios tagged @acceptance, @MicronautTest with HttpClient against the embedded server, Testcontainers wired via TestPropertyProvider, and WireMock for external REST stubs. Requires the .feature file in context. diff --git a/system-prompts-generator/src/main/resources/system-prompts/assets/java-system-prompts-java-list-template.md b/system-prompts-generator/src/main/resources/system-prompts/assets/java-system-prompts-java-list-template.md index 74ec0827..755abc13 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/assets/java-system-prompts-java-list-template.md +++ b/system-prompts-generator/src/main/resources/system-prompts/assets/java-system-prompts-java-list-template.md @@ -34,6 +34,7 @@ Use the following collection of System prompts of Java to improve your Java deve | [111-java-maven-dependencies](.cursor/rules/111-java-maven-dependencies.md) | Add Maven dependencies for improved code quality | **Interactive User Prompt:** `Add essential Maven dependencies for code quality using @111-java-maven-dependencies` **User Prompt:** `Add VAVR dependency with the help of@111-java-maven-dependencies and not make any question` (Example)**Note:** Add in the context the `pom.xml` which you want to enhance with quality dependencies. | It is possible to apply the System prompt in an interactive and non interactive way. Using the interactive approach, the Software engineer will interact with the cursor rule to selectively add JSpecify, Error Prone, NullAway and VAVR dependencies based on project needs. | | [112-java-maven-plugins](.cursor/rules/112-java-maven-plugins.md) | Update your `pom.xml` with Maven Dependencies & Plugins | **Interactive User Prompt:** `Improve the pom.xml using the cursor rule @112-java-maven-plugins` **User Prompt:** `Add Maven Enforcer plugin only from the rule @112-java-maven-plugins without any question` (Example) **Note:** Add in the context the `pom.xml` which you want to generate the documentation. | It is possible to apply the System prompt in an interactive and non interactive way. Using the interactive approach, the Software engineer will interact with the cursor rule to update the `pom.xml`. | | [113-java-maven-documentation](.cursor/rules/113-java-maven-documentation.md) | Create a Maven Documentation with the file `README-DEV.md` | **User Prompt:** `Generate developer documentation with essential Maven commands using @113-java-maven-documentation` **Note:** Add in the context the `pom.xml` which you want to generate the documentation. | This cursor rule is applied automatically without any interaction with the Software engineer. | +| [114-java-maven-search](.cursor/rules/114-java-maven-search.md) | Search Maven Central, resolve coordinates, version metadata, and direct artifact URLs | **User Prompt:** `Find the latest version of com.google.guava:guava using @114-java-maven-search` **Note:** Use for dependency lookup, POM/JAR URLs, `maven-metadata.xml`, or Search API queries — not for editing `pom.xml` (use `@111` / `@112` for that). | Non-interactive. Use MCP Maven tools when available for live Central queries. | ## Design rules diff --git a/system-prompts-generator/src/main/resources/system-prompts/behaviour-article-writer.xml b/system-prompts-generator/src/main/resources/system-prompts/behaviour-article-writer.xml index 79df85d2..decd103a 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/behaviour-article-writer.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/behaviour-article-writer.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Behaviour Article Writer diff --git a/system-prompts-generator/src/main/resources/system-prompts/behaviour-consultative-interaction.xml b/system-prompts-generator/src/main/resources/system-prompts/behaviour-consultative-interaction.xml index be711e26..85d4d7a4 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/behaviour-consultative-interaction.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/behaviour-consultative-interaction.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Behaviour Consultative Interaction Technique diff --git a/system-prompts-generator/src/main/resources/system-prompts/behaviour-progressive-learning.xml b/system-prompts-generator/src/main/resources/system-prompts/behaviour-progressive-learning.xml index 36f74821..30e43086 100644 --- a/system-prompts-generator/src/main/resources/system-prompts/behaviour-progressive-learning.xml +++ b/system-prompts-generator/src/main/resources/system-prompts/behaviour-progressive-learning.xml @@ -3,7 +3,7 @@ Juan Antonio Breña Moral - 0.13.0 + 0.14.0-SNAPSHOT Behaviour Progressive Learning