tri5mtri5mCommunityยท1 Agent Skills Included

tutu-cache

Annotation-based Spring Boot method caching and invalidation

Adds simple annotation-based caching to Spring Boot services using @TuCache and @TuCacheClear instead of verbose @Cacheable configuration. Supports SpEL keys, wildcard prefix invalidation, expiration control, and Redis, Redisson, or local cache backends. Eliminates boilerplate cache code and prevents stale data with clear read and write-path rules.
npx skills add tri5m/tutu-cache --all -g -y

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install tutu-cache?โ–ผ

Run `npx skills add tri5m/tutu-cache --all -g -y` in your terminal to install this skill globally for your coding agent.

What does tutu-cache do?โ–ผ

It is a Spring Boot caching library that lets you cache method results with @TuCache and clear exact or wildcard keys with @TuCacheClear, replacing @Cacheable and @CacheEvict.

Does tutu-cache work without Redis?โ–ผ

Yes. If Redis is not present, it automatically falls back to a local in-memory cache, and it also supports Redisson or a custom cache service.

How do I clear multiple related cache keys?โ–ผ

Use the keys parameter of @TuCacheClear with a wildcard pattern like user:list:* to delete a whole family of cache entries at once.

Can AI coding assistants use this skill?โ–ผ

Yes. The included SKILL.md teaches coding agents when to apply @TuCache, how to design stable cache keys, and how to wire up matching invalidation on write paths.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’