Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/jabrena/cursor-rules-spring-bootWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/jabrena/cursor-rules-spring-boot/313-frameworks-spring-boot-local-testing)<a href="https://agentmods.dev/rules/jabrena/cursor-rules-spring-boot/313-frameworks-spring-boot-local-testing"><img src="https://agentmods.dev/badge/rules/jabrena/cursor-rules-spring-boot/313-frameworks-spring-boot-local-testing/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/jabrena/cursor-rules-spring-boot/313-frameworks-spring-boot-local-testing"><img src="https://agentmods.dev/badge/rules/jabrena/cursor-rules-spring-boot/313-frameworks-spring-boot-local-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.02686 |
| Opus 5.5 | $0.00000 | $0.01074 |
| Sonnet 5.5 | $0.00000 | $0.00537 |
| Haiku 4.5 | $0.00000 | $0.00269 |
Grade A, and why
313-frameworks-spring-boot-local-testing scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
test: ["CMD-SHELL", "curl -f http://localhost:9200/_cluster/health || exit 1"] How it starts
The opening of the file, as written. The whole thing — 477 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Spring Boot Local Testing with Docker Compose
Best practices for local testing in Spring Boot applications using spring-boot-docker-compose for seamless integration with external services like databases, message queues, and caches.
Implementing These Principles
These guidelines are built upon the following core principles:
- Seamless Integration: Use spring-boot-docker-compose to automatically manage external service dependencies
- Environment Parity: Maintain consistency between local development and production environments
- Test Isolation: Ensure tests are independent and can run in any order without side effects
- Performance Optimization: Minimize container startup time and resource usage for faster development cycles
- Configuration Management: Use profiles and dynamic properties for flexible environment-specific configurations
Table of contents
- Rule 1: Dependency Configuration
- Rule 2: Docker Compose Service Definition
- Rule 3: Application Profile Configuration
- Rule 4: Integration Test Setup
- Rule 5: Service Connection Management
- Rule 6: Health Check Implementation
- Rule 7: Test Data Management
- Rule 8: Performance Optimization
Rule 1: Dependency Configuration
Title: Proper Spring Boot Docker Compose Dependency Setup Description: Configure the spring-boot-docker-compose dependency correctly for runtime-only usage to automatically manage Docker services during application startup.
Good example:
<!-- Maven -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-docker-compose</artifactId>
<scope>runtime</scope>
</dependency>
<!-- Testcontainers for integration tests -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-testcontainers</artifactId>
<scope>test</scope>
</dependency>
Bad Example:
<!-- Don't include as compile dependency -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-docker-compose</artifactId>
<scope>compile</scope>
</dependency>
<!-- Missing testcontainers dependency -->
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 477 lines · 0 tokens per session scan A 8e857bb9cb45
313-frameworks-spring-boot-local-testing is a cursor rule published in the GitHub repository jabrena/cursor-rules-spring-boot (46 stars, last pushed 7mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,686 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other cursor rules, from other repositories
docker-persistence
A set of rules for keeping application data after Docker containers are replaced, managing service start and stop behavior, and running regression tests. Docker is a tool for packaging and running applications in containers.
docker-compose-non-unit-testing
Use Docker Compose workflows for integration, stress, E2E, and DB/Redis-backed tests.
local-compose-db-lifecycle-for-web-tests
Keep local compose DB lifecycle ready for web tests.
template-builder
Build complete Dokploy templates with validation and testing.
fuzzing
Fuzzing setup and guidelines for skia-rs.
testing
Testing conventions for Ion Design System using Jest and Angular Testing Library.