solidstart-environment
CommunityMaster SolidStart env vars for security & type safety.
Authorvallafederico
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill clarifies how to correctly manage environment variables in SolidStart applications, ensuring sensitive data remains secure and development is type-safe.
Core Features & Use Cases
- Public vs. Private Variables: Differentiates between
VITE_prefixed variables for client-side use and server-only variables. - Type Safety: Guides on using
env.d.tsfor TypeScript autocompletion and type checking. - Environment Files: Explains the hierarchy and usage of
.env,.env.local, and mode-specific files. - Use Case: Securely configure your SolidStart app by defining API endpoints for the client (
VITE_API_URL) and database credentials for the server (DATABASE_URL) using the correct methods.
Quick Start
Configure your SolidStart application's environment variables by defining public variables with the VITE_ prefix and private variables using process.env.
Dependency Matrix
Required Modules
None requiredComponents
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: solidstart-environment Download link: https://github.com/vallafederico/solid-ai-rules/archive/main.zip#solidstart-environment Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.