Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .agents/skills/110-java-maven-best-practices/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
author: Juan Antonio Breña Moral
version: 0.12.0-SNAPSHOT
name: Maven Best Practices
description: Effective Maven usage involves robust dependency management via `<dependencyManagement>` and BOMs, adherence to the standard directory layout, and centralized plugin management. Build profiles should be used for environment-specific configurations. POMs must be kept readable and maintainable with logical structure and properties for versions. Custom repositories should be declared explicitly and their use minimized, preferably managed via a central repository manager.
---
# Maven Best Practices

Expand Down Expand Up @@ -624,4 +626,4 @@ Description: Define all dependency and plugin versions in the `<properties>` sec
- **ASK USER before overriding** any existing configuration element
- Verify changes with the command: `./mvnw clean verify`
- Preserve existing dependency versions unless explicitly requested to update
- Maintain backward compatibility with existing build process
- Maintain backward compatibility with existing build process
8 changes: 5 additions & 3 deletions .agents/skills/111-java-maven-dependencies/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
author: Juan Antonio Breña Moral
version: 0.12.0-SNAPSHOT
name: Add Maven dependencies for improved code quality
description: Treats the user as a knowledgeable partner in solving problems rather than prescribing one-size-fits-all solutions. Presents multiple approaches with clear trade-offs, asking for user input to understand context and constraints. Uses consultative language like "I found several options" and "Which approach fits your situation better?" Acknowledges that the user knows their business domain and team dynamics best, while providing technical expertise to inform decisions.
---
# Add Maven dependencies for improved code quality

Expand Down Expand Up @@ -232,7 +234,7 @@ Create `.mvn/jvm.config` file with:
```

**Package Name Update**: Update the `AnnotatedPackages` configuration in the compiler plugin to match your actual project package structure.

#### Step Constraints

- **MUST** add only dependencies that were selected by the user
Expand Down Expand Up @@ -328,7 +330,7 @@ public static void collectionsExample() {
# Compile will fail with nullness violations
./mvnw clean compile -Dmaven.compiler.showWarnings=true
```

## Output Format

- Ask questions one by one following the template exactly
Expand All @@ -346,4 +348,4 @@ public static void collectionsExample() {
- Never proceed without user confirmation for each step
- Ensure JSpecify dependency uses `provided` scope
- Ensure VAVR dependency uses default `compile` scope
- Test enhanced compiler analysis with a simple build
- Test enhanced compiler analysis with a simple build
Loading