/spring-boot:spring-boot-scannerfrom spring-boot
Scans Spring Boot projects for annotations and build patterns, then routes to appropriate skills (web-api, security, testing, etc.).
Ships in spring-boot. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Smart pattern detection and skill routing for Spring Boot projects.
Trigger Conditions:
*.java or *.kt files in a project with spring-boot-starter dependenciespom.xml or build.gradle* containing Spring BootAction: Scan code → Detect patterns → Route to appropriate skill
Scans in 3 phases: (1) detect Spring Boot project via build files, (2) scan annotations against the map below, (3) route by risk level — LOW auto-invokes, HIGH confirms first. See WORKFLOW.md for the full step-by-step detection flow.
| Annotation Pattern | Detected Skill | Risk Level |
|---|---|---|
@RestController, @GetMapping, @PostMapping, @RequestMapping | spring-boot-web-api | LOW |
@Entity, @Repository, @Aggregate, @MappedSuperclass | spring-boot-data-ddd | LOW |
@Service in **/domain/** or **/service/** | domain-driven-design | LOW |
@ApplicationModule, @ApplicationModuleListener | spring-boot-modulith | LOW |
@Timed, @Counted, HealthIndicator, MeterRegistry | spring-boot-observability | LOW |
@EnableWebSecurity, @PreAuthorize, @Secured, SecurityFilterChain | spring-boot-security | HIGH |
@SpringBootTest, @WebMvcTest, @DataJpaTest, @MockitoBean | spring-boot-testing | HIGH |
@MockBean (deprecated) | spring-boot-testing | HIGH + WARNING |
| Build file with version < 4.0 | spring-boot-verify | HIGH |
Use this script to detect patterns:
# Run from project root
python3 scripts/detect_patterns.py /path/to/file.java
Or use Grep directly:
# Web API detection
grep -l "@RestController\|@GetMapping\|@PostMapping" **/*.java
# Security detection
grep -l "@EnableWebSecurity\|@PreAuthorize\|SecurityFilterChain" **/*.java
# Testing detection
grep -l "@SpringBootTest\|@WebMvcTest\|@MockitoBean\|@MockBean" **/*.java
Always confirm before proceeding when detecting:
| Pattern | Reason | Action |
|---|---|---|
@EnableGlobalMethodSecurity | Deprecated in Security 6+ | Confirm + Migration guidance |
@MockBean | Deprecated in Boot 3.4+ | Confirm + Show @MockitoBean |
spring-boot-starter-parent < 3.0 | Major migration needed | Confirm + Suggest verify-upgrade |
.and() in security config | Removed in Security 7 | Confirm + Lambda DSL guidance |
com.fasterxml.jackson | Jackson 3 migration | Confirm + Namespace change |
Delegates to Skills:
spring-boot-web-api → REST patternsspring-boot-data-ddd → Repository/Entity patternsspring-boot-security → Security configurationspring-boot-testing → Test patternsspring-boot-modulith → Module structurespring-boot-observability → Metrics/Healthspring-boot-verify → Dependencies/Configdomain-driven-design → DDD architectureDelegates to Agents (for comprehensive review):
spring-boot-reviewer → Full codebase reviewspring-boot-upgrade-verifier → Migration analysisWhen to delegate to agents:
/spring-review or /verify-upgrade command*.java and *.kt files; no Groovy/Scala supportIf scanner guidance isn't helpful for the current context:
| Scenario | Action |
|---|---|
| Skip LOW RISK guidance | Ignore suggestions and continue working |
| Skip HIGH RISK confirmation | Select "Continue without guidance" option |
| Need comprehensive review | Use /spring-review command instead |
| Disable temporarily | Remove spring-boot-scanner from active skills |
The scanner is advisory—it suggests skills but never blocks the workflow.
| Need | Skill |
|---|---|
| DDD concepts | domain-driven-design |
| Data layer | spring-boot-data-ddd |
| REST APIs | spring-boot-web-api |
| Security config | spring-boot-security |
| Full codebase review | Use /spring-review command |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
11 skills in this plugin
/domain-driven-designExpert guidance for Domain-Driven Design architecture and implementation. Use when designing complex business systems, defining bounded contexts, structuring domain models, choosing between modular monolith vs microservices, implementing aggregates/entities/value objects, or when users mention "DDD", "domain-driven design", "bounded context", "aggregate", "domain model", "ubiquitous language", "event storming", "context mapping", "domain events", "anemic domain model", strategic design, tactical patterns, or domain modeling. Helps make architectural decisions, identify subdomains, design aggregates, and avoid common DDD pitfalls./flyway-consolidateAnalyze and consolidate Flyway SQL migrations into clean, domain-grouped CREATE TABLE migrations for pre-production projects. Use when consolidating database migrations, refactoring Flyway schemas, simplifying migration history, grouping tables by domain, or when user mentions "consolidate migrations", "merge migrations", "clean up Flyway", "refactor schema", "baseline migrations"./spring-boot-data-dddSpring Boot 4 data layer implementation for Domain-Driven Design. Use when implementing JPA or JDBC aggregates, Spring Data repositories, transactional services, projections, or entity auditing. Covers aggregate roots with AbstractAggregateRoot, value object mapping, EntityGraph for N+1 prevention, and Spring Boot 4 specifics (JSpecify null-safety, AOT repositories). For DDD concepts and design decisions, see the domain-driven-design skill.npx claudepluginhub joaquimscosta/arkhe-claude-plugins --plugin spring-bootOther plugins' skills for the same job