Spring Batch jobs
Builds Spring Batch 5 jobs for ETL and bulk imports that restart safely and handle faults in the right place.
Claude's review
9/10 Excellent Spring Batch 5 guide with the traps agents hit and a gotcha list.
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
Use when building batch jobs, ETL pipelines, scheduled imports/exports, or any chunk-oriented bulk processing with Spring Batch. Covers the Spring Batch 5 / Boot 3 builder API, restartability and idempotent job parameters, reader/writer thread-safety, fault tolerance, and chunk transaction boundaries.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: spring-batch
description: >
Use when building batch jobs, ETL pipelines, scheduled imports/exports, or any chunk-oriented
bulk processing with Spring Batch. Covers the Spring Batch 5 / Boot 3 builder API, restartability
and idempotent job parameters, reader/writer thread-safety, fault tolerance, and chunk transaction
boundaries.
---
# Spring Batch
Spring Boot 3.x ships **Spring Batch 5**. The API changed significantly from 4.x — most online
examples are wrong. The two rules that break the most agent-generated code:
1. **Do NOT add `@EnableBatchProcessing`.** Boot auto-configures the `JobRepository`,
`JobLauncher`, and transaction manager. Adding `@EnableBatchProcessing` **disables** that
auto-configuration and you lose all the wired beans.
2. **`JobBuilderFactory` and `StepBuilderFactory` are gone.** Build jobs and steps with
`new JobBuilder(name, jobRepository)` / `new StepBuilder(name, jobRepository)`, injecting the
`JobRepository` and `PlatformTransactionManager` Boot already created.
## Job & Step (Spring Batch 5 API)
```java
@Configuration
@RequiredArgsConstructor
public class OrderExportJobConfig {
@Bean
public Job orderExportJob(JobRepository jobRepository, Step exportStep) {
return new JobBuilder("orderExportJob", jobRepository)
.incrementer(new RunIdIncrementer()) // lets the same job be re-run; see "Idempotency"
.start(exportStep)
.build();
}
@Bean
public Step exportStep(JobRepository jobRepository,
PlatformTransactionManager txManager, // Boot's, injected — do NOT new one up
ItemReader<Order> reader,
...From rrezartprebreza's repository, MIT licence.
Related skills
-
Checked
PostgreSQL schema explorer
Explores an unfamiliar PostgreSQL database read only before writing SQL, so answers about your data are right.
7/101 credit -
Checked
HTTP API design review
Designs or reviews HTTP endpoints, auth, pagination and versioning, so API changes do not break your clients.
7/101 credit -
Checked
Firebase Data Connect
Builds and deploys Firebase Data Connect backends on PostgreSQL with secure queries and type safe SDKs.
7/101 credit -
Checked
App performance tuning
Measures first, then fixes slow pages, Core Web Vitals and N+1 database queries across your whole app.
7/101 credit -
Checked
Safe Postgres migrations
Plans and tests PostgreSQL schema changes with lock levels in mind, so live tables change without downtime.
8/101 credit -
Checked
Supabase auth and database
Builds with Supabase auth, database, storage and edge functions while avoiding common security traps.
8/101 credit