Standardizing SpringBoot Projects: Using Skill to Decompose Chaotic Java Projects into a Standard SpringBoot Structure
SpringBoot Project Standardization (@user_42ebe621/springboot-standardizer-pro) is a SkillHub community Skill designed for SpringBoot + MyBatis projects. It leverages SKILL.md, analysis/generation scripts, and MyBatis/Redis/Kafka reference documentation to help scan non-standard directories, generate a three-tier architecture skeleton, and provide migration and naming conventions. This article covers the installation coordinates, `skillhub install` usage in Cursor and similar environments, typical commands, and usage notes (including version control and Redis template security review). No API Key is required. Version 1.0.0.
Read MoreSpringBoot Common Components: Exception Handling, User Context, and Logging Annotations
This article introduces common components for unified response, global exception handling, user context passing, and logging annotations in Spring Boot projects. It covers the core functionality, typical usage, and applicable scenarios of `Result`, `BizException`, `GlobalExceptionHandler`, `ShowLog`, `UserContextInterceptor`, and `ResultAdvice`.
Read MoreSpringBoot Cache Annotations: Integrating Redis-based @CacheResult for SpringBoot Projects
Targeting existing SpringBoot projects based on the springboot-init skeleton, the SpringBoot cache annotation (@user_faca7523/springboot-cache) utilizes a script to inject @CacheResult, AOP aspects, Redis configurations, and Hutool/AOP dependencies. It supports keyPrefix, standard keys, SpEL keys, and default key strategies with configurable TTL. Features include null value marking, business logic isolation from caching failures, and Jackson serialization. This article describes the annotation parameters, generated files, the usage of cache_annotation.py, and relevant usage notes.
Read More