agentleFS
jabrenajabrena/cursor-rules-examples/.agents/skills/324-frameworks-spring-boot-testing-e2e-local-tests/SKILL.md

324-frameworks-spring-boot-testing-e2e-local-tests

Skill2 starsChanged 9 months agoApache-2.0View on GitHub

Use when you need to configure E2E local testing with spring-boot-docker-compose — including dependency setup, compose service definitions, profiles, integration test setup, service connections, health checks, test data, and performance optimization. Part of the skills-for-java project

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before applying any configuration changes, ensure the project compiles.

    line 26
  2. Very specific:

    MANDATORY: Run ./mvnw compile or mvn compile before applying any change

    line 28
  3. Distinctive:

    SAFETY: If compilation fails, stop immediately

    line 29
  4. Very specific:

    VERIFY: Run ./mvnw clean verify or mvn clean verify after applying improvements

    line 30
  5. Distinctive:

    BEFORE APPLYING: Read the reference for detailed rules and good/bad patterns

    line 31

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Spring Boot E2E local testing with Docker Compose

Apply Spring Boot E2E local testing guidelines with Docker Compose.

What is covered in this Skill?

  • spring-boot-docker-compose dependency
  • Docker Compose service definitions
  • Application profile configuration
  • Integration test setup
  • Service connection management
  • Health checks, test data, performance

Scope: Apply recommendations based on the reference rules and good/bad code examples.

Constraints

Before applying any configuration changes, ensure the project compiles. If compilation fails, stop immediately. After applying improvements, run full verification.

  • MANDATORY: Run ./mvnw compile or mvn compile before applying any change
  • SAFETY: If compilation fails, stop immediately
  • VERIFY: Run ./mvnw clean verify or mvn clean verify after applying improvements
  • BEFORE APPLYING: Read the reference for detailed rules and good/bad patterns

When to use this skill

  • Review Java code for E2E local testing
  • Apply best practices for E2E local testing in Java code

Reference

For detailed guidance, examples, and constraints, see references/324-frameworks-spring-boot-testing-e2e-local-tests.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.