t3-env
CommunityEnforce VITE env validation at build time.
Authormatthewharwood
Version1.0.0
Installs0
System Documentation
What problem does it solve?
client-side VITE_* environment variables were not validated at build time in dean-stack, risking runtime errors and misconfigurations on GitHub Pages. This skill provides a deterministic, static-gate approach that validates env definitions before publish.
Core Features & Use Cases
- Validate VITE_* env variables at build time using a Zod-based schema in @t3-oss/env-core.
- Maintain a client/server split with an empty server slot for GitHub Pages static deployment.
- Integrate with the dean-stack setup by wiring into apps/web/app/env.ts and the Vite config to gate builds.
Quick Start
Wire in the env core by updating apps/web/app/env.ts and run bun run build to validate VITE_* at build time.
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: t3-env Download link: https://github.com/matthewharwood/dean-stack/archive/main.zip#t3-env 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 471,000+ vetted skills library on demand.