spring-boot-scheduling
БесплатноБез исполняемых скриптовНе проверенConfigure scheduled tasks and distributed locking with ShedLock in Spring Boot. Use when implementing @Scheduled tasks or distributed locking with ShedLock in…
от HoangNguyen0403★ 598 звёзд на GitHubОб этом скилле
Spring Boot Scheduling Standards
Priority: P0 (CRITICAL)
Configure Scheduled Tasks
- ThreadPool: ALWAYS configure dedicated
TaskScheduler(default 1 thread). Enable with@EnableSchedulingannotation. - Async: Keep
@Scheduledmethods light; offload to@Async/Queues. Wrap logic in try/catch; log errors and use@Retryablefor retry on transient failures.
Lock Tasks with ShedLock
- Problem:
@Scheduledruns on ALL pods in K8s. - Solution: Use ShedLock to guarantee single execution.
- Config: Set
lockAtMostFor(deadlock safety) andlockAtLeastFor(debounce).
See implementation examples for ShedLock distributed task configuration and scheduler pool setup.
Anti-Patterns
- No Default Pool: Configure dedicated TaskScheduler (default 1 thread).
- No duplicates: Use ShedLock for distributed cron in multi-pod deployments.
- No task state: Design tasks to idempotent; assume pod can restart.
References
Установить spring-boot-scheduling в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл spring-boot-scheduling?
Configure scheduled tasks and distributed locking with ShedLock in Spring Boot. Use when implementing @Scheduled tasks or distributed locking with ShedLock in Spring Boot.
Как установить скилл spring-boot-scheduling?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл spring-boot-scheduling запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic