web-mvc
Installation
SKILL.md
When to Use
- Building a web UI with Spring Boot (no frontend framework)
- Replacing jQuery or vanilla JS with declarative HTML
- Adding dynamic behavior without writing JavaScript
- Rendering templates with Thymeleaf
Instructions
Stack
| Tool | Role | Why |
|---|---|---|
| Thymeleaf | Server-side template engine | Standard in Spring Boot, fragments, i18n, Spring Security integration |
| HTMX | Dynamic HTML via attributes | Click/ submit/ change → backend returns HTML fragment, no JS |
| Alpine.js | Lightweight client state | Toggles, dropdowns, counters, validation hints — the 5% HTMX doesn't cover |