spring-service
БесплатноБез исполняемых скриптовНе проверенGenerate a Spring Boot service class for a named entity with constructor injection, logging, exception handling, and unit tests. Invoke as /spring-service…
от kousen★ 351 звезда на GitHubОб этом скилле
Spring Service Scaffold
Generate a $ARGUMENTSService with:
@Serviceannotation- Constructor injection of
$ARGUMENTSRepository (no field@Autowired) - CRUD methods:
findAll(),findById(id),create(request),update(id, request),delete(id) - Domain exceptions (e.g.,
EntityNotFoundException) thrown for missing-by-id; let@ControllerAdvicetranslate to HTTP if present - SLF4J logging at meaningful boundaries — entry on writes, warn on validation rejection, debug on reads
- Unit tests using JUnit 5 + Mockito, with
@MockitoBeanand@MockitoSpyBeanwhere appropriate - Use modern Java idioms (records for DTOs, pattern matching,
varwhere readable)
Constraints
- Match the existing project package layout
- Don't introduce
Lombokif the project doesn't already use it - If the project uses MapStruct, generate a mapper interface; otherwise, write the mapping inline
- Tests should cover happy path, not-found, and at least one validation/edge case per write method
Usage: /spring-service User → UserService, UserServiceTest
Установить spring-service в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл spring-service?
Generate a Spring Boot service class for a named entity with constructor injection, logging, exception handling, and unit tests. Invoke as /spring-service <Entity>.
Как установить скилл spring-service?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл spring-service запускает скрипты?
Нет, скилл состоит только из инструкций (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