Claude Code Spring Modulith Skill for Module Boundaries and Events
Assign packages and public interfaces by business capability. Connect modules with events and verify dependencies and behavior in local tests.
中文Install in Claude Code
Use Claude Code with the pinned skill and a project configured for Spring Boot and Spring Modulith. Exercise the design with local tests.
- Get the complete `plugins/spring-boot/skills/spring-boot-modulith` directory from the pinned GitHub checkout.
- Copy it under the target project's `.claude/skills/`. Confirm `.claude/skills/spring-boot-modulith/SKILL.md`, open Claude Code at the project root, and call `/spring-boot-modulith`.
Example task
Split a fictional library app into Loans and Reminders. A successful loan publishes an event and Reminders records a pending reminder. Sketch the dependency and a scenario test.What to check
Expect a domain event and two clear module boundaries. Reminders does not read Loans internals, and the test checks that a successful loan creates a reminder.
Original SKILL.md on GitHub · Updated
Frequently asked question
Why not call the internal Loans repository from Reminders?
Use a stable interface or event at the boundary. The Loans implementation can evolve and module verification can detect unwanted coupling.