env-local

Generate a .env.local file with VITE_ prefixed placeholders for Vite projects.

Updated Nov 20, 2025
One-click install
npx skills add https://github.com/sayali-ingle-pdl/adusa-ai-vuejs-app-template --skill env-local
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: env-local
Source: https://github.com/sayali-ingle-pdl/adusa-ai-vuejs-app-template/tree/main/.github/agents/app-starter/agents-context/skills/env-local
Command: npx skills add https://github.com/sayali-ingle-pdl/adusa-ai-vuejs-app-template --skill env-local

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates a .env.local file for local development environment configuration. Contains developer-specific configuration like API URLs, ports, and feature flags. Gitignored for security.

Core Features & Use Cases

  • Generates a ready-to-use .env.local file with placeholder values for API endpoints and ports.
  • Enforces VITE_ prefixed environment variables to be exposed to client code.
  • Use case: Local development setup for Vite-based projects with feature flags.

Quick Start

Create a ready-to-use .env.local file for local development.

Frequently Asked Questions about env-local

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

FAQPage Schema
How do I generate a local env file for Vite development?

To generate a local env file for Vite development, use this tool to instantly create a .env.local file with placeholder values for API endpoints, ports, and feature flags. It enforces VITE_ prefixed variables to ensure they are exposed to client code.

Why are my environment variables not exposed to the client in Vite?

Environment variables are not exposed to the client in Vite unless they are prefixed correctly. This tool resolves the issue by enforcing the VITE_ prefix for all variables in your .env.local file, ensuring they are properly exposed to client code.

What is the best way to manage local development configuration for feature flags?

The best way to manage local development configuration for feature flags is generating a gitignored .env.local file. This approach keeps developer-specific settings secure while providing ready-to-use placeholders for your project.

Does Vite require a .env.local file to be gitignored for security?

Yes, Vite development requires a .env.local file to be gitignored for security. This tool promotes gitignore best practices to ensure your local API URLs, ports, and feature flags remain secure and are not committed to version control.

Can I use this env file generator for projects without Vite?

You can use this env file generator for projects without Vite, but it is specifically applicable to projects using Vite or similar tooling. It requires all exposed environment variables to use the VITE_ prefix to function correctly within the client code.