Stop wasting Claude & Cursor tokens on Java legacy code
Generate token-optimized CLAUDE.md and .cursorrules files for Spring Boot apps in seconds.
No sign-up · No backend · Runs entirely in your browser
Try it right now
Générez vos règles de base gratuitement — Débloquez l'analyse IA avancée pour 9 $
Tip: prefix each file with // FILE: path/to/File.java to analyze a whole repo dump at once.
Analysis mode
Choose how deep SpringRules should look at your code.
Quick options
Force these conventions if auto-detection misses them.
Your generated CLAUDE.md and .cursorrules will appear here.
Everything your AI assistant needs. Nothing it doesn't.
SpringRules reads your Spring Boot codebase like a senior engineer would — then writes it down as dense, unambiguous rules.
Instant, client-side analysis
Pure heuristic parsing runs in your browser — no API calls, no waiting, no data leaving your machine.
Hexagonal architecture aware
Detects domain/application/infrastructure boundaries and encodes the dependency rule in your rules file.
Lombok-aware output
Recognizes @Data, @Builder, @RequiredArgsConstructor and tells your AI assistant not to hand-write boilerplate.
Testing conventions included
Extracts JUnit 4 vs 5, Mockito, AssertJ usage, and your team's dominant test-naming convention.
Paste code or import a repo
Drop a snippet, paste a multi-file repo dump, or point SpringRules at a public GitHub repository.
Token-optimized by design
Dense bullet points, zero filler, sections omitted when nothing was detected — built to save context.
From codebase to context in three steps
Paste or import
Paste a Java snippet, a multi-file repo dump, or link a public GitHub repository.
Detect conventions
SpringRules scans for Spring Boot version, Lombok, architecture style, DI style, naming, and test conventions.
Generate & copy
Get a token-optimized CLAUDE.md and .cursorrules file, ready to copy or download into your repo.
See it in action
A few lines of Spring Boot code become a dense, actionable rules file — in milliseconds.
@Slf4j
@RequiredArgsConstructor
@Service
public class OrderService implements OrderUseCase {
private final OrderRepositoryPort repositoryPort;
@Override
public Order placeOrder(String id, int amount) {
Order order = new Order(id, amount);
repositoryPort.save(order);
return order;
}
}# CLAUDE.md ## Stack Java 17 · Spring Boot 3.2.4 · Maven · Lombok ## Architecture Hexagonal (ports & adapters); layers: domain, application Dependency rule: infra -> application -> domain ## Dependency Injection Constructor injection via @RequiredArgsConstructor ## Hard Rules - Never import Spring/JPA/web packages inside domain/ - Never use field injection (@Autowired on fields) - Never hand-write getters/setters covered by Lombok
Simple, one-time pricing
Générez vos règles de base gratuitement — Débloquez l'analyse IA avancée pour 9 $
AI Deep Analysis Pass
$9once
- AI Deep Analysis of architecture, Spring Security, DTOs, and JPA entities
- Semantic rules beyond the free local scan
- One-time payment — no subscription