cache-guard

Community

Automate Laravel cache, prevent config headaches.

Authormim1012
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates the frustration of stale Laravel configurations, where changes in .env or config files aren't reflected due to outdated caches. It prevents wasted debugging time and ensures your application always uses the latest settings.

Core Features & Use Cases

  • Automatic Cache Management: Detects modifications in .env or config/*.php files and intelligently clears the relevant Laravel caches (config, route, view, application).
  • Cache State Diagnosis: Provides a clear overview of current cache files, their timestamps, and the active configuration source, helping to quickly identify issues.
  • Server Restart Guidance: Offers precise instructions on when and how to restart your PHP server to ensure new configurations are loaded into memory.
  • Use Case: After updating your database credentials in .env, this Skill automatically clears the config cache and guides you to restart your server, ensuring your application connects to the new database without issues.

Quick Start

I just updated my .env file. Please use the cache-guard skill to ensure all Laravel caches are cleared and my changes are applied.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cache-guard
Download link: https://github.com/mim1012/ykp_project/archive/main.zip#cache-guard

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.