spring-controller
БесплатноБез исполняемых скриптовНе проверенGenerate a Spring REST controller for a named entity with CRUD endpoints, validation, OpenAPI documentation, and integration tests. Invoke as…
от kousen★ 351 звезда на GitHubОб этом скилле
Spring REST Controller Scaffold
Generate a $ARGUMENTSController with the following:
@RestControllerand@RequestMapping("/api/$ARGUMENTS")(lowercased plural)- CRUD endpoints with proper HTTP verbs and status codes:
GET /api/$ARGUMENTS— list (with pagination params)GET /api/$ARGUMENTS/{id}— fetch one (404 on miss)POST /api/$ARGUMENTS— create (201 + Location header)PUT /api/$ARGUMENTS/{id}— update (200 or 404)DELETE /api/$ARGUMENTS/{id}— delete (204)
- Request and response DTOs for
$ARGUMENTS(don't expose the JPA entity directly) @Valid+ Jakarta validation annotations on the request DTOs- OpenAPI annotations (
@Operation,@ApiResponses) - Integration tests using
@SpringBootTest+MockMvccovering happy path, validation failure, and 404
Conventions
- Constructor injection (no field
@Autowired) - ResponseEntity return types so HTTP status is explicit
- Use the project's existing exception handler if
@ControllerAdviceis present - Match the package layout of existing controllers
Usage: /spring-controller User → UserController, UserRequest, UserResponse, UserControllerIntegrationTest
Установить spring-controller в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл spring-controller?
Generate a Spring REST controller for a named entity with CRUD endpoints, validation, OpenAPI documentation, and integration tests. Invoke as /spring-controller <Entity>.
Как установить скилл spring-controller?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл spring-controller запускает скрипты?
Нет, скилл состоит только из инструкций (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