env-switch

Community

Seamlessly switch Laravel environments, prevent errors.

Authormim1012
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents critical errors and data corruption by providing a safe, guided process for switching between local development and production environments in Laravel. It eliminates manual .env file edits and potential misconfigurations that can lead to costly mistakes.

Core Features & Use Cases

  • Environment Analysis: Automatically detects the current environment configuration from your .env file, identifying whether you're set for local development or production.
  • Guided Switching: Provides step-by-step instructions and templates for correctly configuring your .env for local development or verifying Railway environment variables for production deployment.
  • Safety Warnings: Alerts you to dangerous mixed configurations (e.g., local APP_ENV with a production DB_CONNECTION), preventing accidental access to live data.
  • Use Case: You've been developing locally and now need to prepare for deployment to Railway. This Skill guides you through verifying your production environment variables and ensures your local .env is correctly configured for continued development, preventing accidental production data access.

Quick Start

I need to switch my Laravel project from production settings to local development. Please guide me using the env-switch skill.

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: env-switch
Download link: https://github.com/mim1012/ykp_project/archive/main.zip#env-switch

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.