redis-patterns

Diagnose and optimize Redis configurations for Laravel caches, Horizon queues, and sessions.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/billyfranklim1/claude-skills --skill redis-patterns-billyfranklim1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: redis-patterns
Source: https://github.com/billyfranklim1/claude-skills/tree/main/plugins/redis-patterns/skills/redis-patterns
Command: npx skills add https://github.com/billyfranklim1/claude-skills --skill redis-patterns-billyfranklim1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Diagnose and optimize Redis usage across Laravel caches, Horizon queues, and session storage to reduce memory pressure and improve throughput.

Core Features & Use Cases

  • Selective Flush: flush by project prefixes without touching others.
  • Key Debugging & Memory Tuning: inspect keys by prefix, identify memory hogs, and adjust eviction policies.
  • Horizon & Queue Diagnostics: monitor queues and job metrics, debug failed jobs.

Quick Start

Run the Redis pattern diagnostic against your Laravel deployment to begin health checks and optimization.

Frequently Asked Questions about redis-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I flush a specific Laravel cache prefix in Redis without clearing other projects?

You can flush specific Laravel cache prefixes in Redis using selective flush diagnostics to clear individual project keys without touching others. This isolates memory clearing by prefix to ensure multi-project safety during maintenance.

What is the best way to debug failed Horizon queue jobs and memory hogs in Redis?

Debugging failed Horizon queue jobs in Redis requires queue diagnostics to monitor job metrics and identify memory hogs. Key debugging analyzes keys by prefix to expose performance bottlenecks and optimize throughput.

How do I tune Redis memory and eviction policies for Laravel sessions and caches?

Tuning Redis memory for Laravel sessions involves adjusting eviction policies and inspecting keys to reduce memory pressure. Memory tuning diagnostics provide safe defaults and actionable recommendations for performance improvements.

Can I monitor multiple Redis projects and prefixes for my Laravel deployment?

Yes, you can monitor multiple Redis projects and prefixes within a Laravel deployment. The diagnostic pattern applies real-time monitoring across projects to provide deterministic maintenance steps and actionable performance recommendations.

Why does my Redis memory pressure increase when using Laravel Horizon queues?

Redis memory pressure increases from Laravel Horizon queues due to accumulated job metrics and unoptimized session storage. Diagnostics identify memory hogs and apply selective flushes to reduce pressure and improve overall throughput.