Agent skill
cache-strategies
Caching patterns, TTL management, eviction policies for Redis implementations. Use when implementing cache-aside, write-through, write-back patterns, TTL management, or cache invalidation strategies.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/cache-strategies
SKILL.md
cache-strategies
Purpose: Caching patterns, TTL management, eviction policies for Redis implementations.
Activation Triggers:
- When implementing cache strategies
- When user mentions Redis Caching patterns, TTL management, eviction policies
- When designing Redis architecture
Quick Reference
This skill provides templates, scripts, and examples for Redis caching patterns.
Scripts
scripts/setup-redis.sh- Initial Redis setup and configurationscripts/validate-config.sh- Validate Redis configurationscripts/test-connection.sh- Test Redis connectivity
Templates
templates/basic-config.ts.template- TypeScript Redis configurationtemplates/basic-config.py.template- Python Redis configurationtemplates/redis-config.env.template- Environment variables templatetemplates/docker-compose.yml.template- Docker Compose setup
Examples
examples/basic-usage.md- Basic caching patterns and usageexamples/fastapi-example.md- FastAPI integration exampleexamples/nextjs-example.md- Next.js integration example
Security Compliance
This skill follows strict security rules:
- All code examples use placeholder values only
- No real API keys, passwords, or secrets
- Environment variable references in all code
.gitignoreprotection documented
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?