314-frameworks-spring-kafka — скилл для Claude Code
Скилл 314-frameworks-spring-kafka настраивает обмен сообщениями Kafka в Spring Boot: продюсеры, консьюмеры, DLT и тесты с Testcontainers.
Apache-2.0 297 установок ★ 465 обновлён 2026-10-21
npx skills add jabrena/plinth --skill 314-frameworks-spring-kafka -a claude-codeЧто делает 314-frameworks-spring-kafka
Скилл ведёт разработку и ревизию интеграции Kafka в приложениях на Spring Boot. Он помогает проектировать топики, настраивать сериализацию JSON через фабричные кастомизаторы, внедрять идемпотентность, повторные попытки и маршрутизацию в dead-letter topics (DLT).
Перед любыми правками скилл требует собрать проект через ./mvnw compile или mvn compile. Если компиляция падает, процесс сразу прерывается, а после внесения изменений запускается полная проверка командой ./mvnw clean verify.
Какие задачи решает
- настроить продюсеры и консьюмеры Kafka в Spring Boot
- сконфигурировать повторные попытки и dead-letter topics
- добавить интеграционные тесты с Testcontainers и @ServiceConnection
- наладить сериализацию JSON через кастомизаторы фабрик
Примеры запросов агенту
- Добавь обработку dead-letter topic для Kafka консьюмера заказов
- Проверь конфигурацию сериализатора Spring Kafka и контейнеров слушателей
- Напиши интеграционный тест для Kafka продюсера с Testcontainers и @ServiceConnection
Как установить 314-frameworks-spring-kafka
1Через Skills CLI (Vercel)
npx skills add jabrena/plinth --skill 314-frameworks-spring-kafka -a claude-code2Вручную: положить файлы
~/.claude/skills/314-frameworks-spring-kafka/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/314-frameworks-spring-kafka/
1Через Skills CLI (Vercel)
npx skills add jabrena/plinth --skill 314-frameworks-spring-kafka -a codex2Вручную: положить файлы
.agents/skills/314-frameworks-spring-kafka/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add jabrena/plinth --skill 314-frameworks-spring-kafka -a cursor2Вручную: положить файлы
.cursor/skills/314-frameworks-spring-kafka/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install jabrena/plinth skills/314-frameworks-spring-kafka2Вручную: положить файлы
.github/skills/314-frameworks-spring-kafka/SKILL.md1Через Skills CLI (Vercel)
npx skills add jabrena/plinth --skill 314-frameworks-spring-kafka -a gemini-cli2Командой платформы
gemini skills install https://github.com/jabrena/plinth --path skills/314-frameworks-spring-kafkaВручную: положить файлы
.devin/skills/314-frameworks-spring-kafka/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add jabrena/plinth --skill 314-frameworks-spring-kafka -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о 314-frameworks-spring-kafka
Как установить 314-frameworks-spring-kafka в Claude Code?
Выполните команду npx skills add jabrena/plinth --skill 314-frameworks-spring-kafka -a claude-code. Файл навыка сохранится в ~/.claude/skills/314-frameworks-spring-kafka/SKILL.md.
Что делает 314-frameworks-spring-kafka?
Он задаёт сценарий настройки Kafka в проектах на Spring Boot, включая обработку ошибок, DLT, очереди повторов и тестовые контейнеры.
Какое главное требование перед внесением изменений?
Обязательно запустить сборку через ./mvnw compile или mvn compile. Если проект не собирается без ошибок, скилл требует немедленно остановиться.
Исходный текст
SKILL.md · Apache-2.0
--- name: 314-frameworks-spring-kafka description: Use when you need to design or implement Kafka messaging in Spring Boot — including topic design, producer/consumer implementation, JSON serialization with Boot factory customizers, Testcontainers `@ServiceConnection` integration tests, retries and dead-letter topics, idempotency, and error handling. This should trigger for requests such as Add Kafka in Spring Boot; Review Spring Kafka consumers; Improve retries and DLT in Spring Kafka; Configure Spring Kafka topics serializers or listener containers; Add Spring Kafka dead-letter topic handling. Part of Plinth Toolkit license: Apache-2.0 metadata: author: Juan Antonio Breña Moral version: 0.19.0 --- # Spring Boot — Kafka messaging Apply Spring Kafka guidance with concrete examples for design, implementation, and error handling. ## Constraints Compile before messaging refactors; verify after changes. - **MANDATORY**: Run `./mvnw compile` or `mvn compile` before applying any change - **SAFETY**: If compilation fails, stop immediately - **VERIFY**: Run `./mvnw clean verify` or `mvn clean verify` after applying improvements - **BEFORE APPLYING**: Read the reference for detailed rules and examples ## When to use this skill - Add Kafka in Spring Boot - Review Spring Kafka consumers/producers - Improve retries, dead-letter topics, or idempotency in Spring Kafka - Configure Spring Kafka topics serializers or listener containers - Add Spring Kafka dead-letter topic handling ## Workflow 1. **Read reference and assess project context** Read `references/314-frameworks-spring-kafka.md` and inspect current messaging setup before proposing changes. 2. **Gather scope and decide target improvements** Identify reliability and throughput goals and define the minimum safe set of changes. 3. **Apply framework-aligned changes** Implement/refactor Spring Kafka configuration, producer/consumer logic, and failure handling. 4. **Run verification and report results** Execute build/tests and summarize what changed, what was verified, and follow-up actions. ## Reference For detailed guidance, examples, and constraints, see [references/314-frameworks-spring-kafka.md](references/314-frameworks-spring-kafka.md).
© Juan Antonio Breña Moral · Apache-2.0 · jabrena/plinth