env-dogma - Refactor Vite, Worker, and Tauri environment handling
Refactors environment variables and secrets across Vite, Cloudflare Workers, and Tauri by removing dotfile loading and centralizing configuration.
Tags
Updated: 2026-10-08Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Audit environment access patterns
- Centralize Wrangler configuration
- Configure Vite client variables
- Rewrite worker env access
- Disable dotfile loading
- Generate Wrangler type definitions
Inputs
- Vite/Cloudflare Workers/Tauri codebase
- Environment variable usages
- Secret names and classifications
Outputs
- Audit findings with file paths and line numbers
- Updated wrangler.toml
- Updated vite.config.ts
- Updated package.json scripts
- Rewritten worker source
- Generated Env type definitions
- Removed environment dotfiles
Requirements
- Vite, Cloudflare Workers, and Tauri project
- Wrangler CLI
- Shell with find, rg, and bash
- TypeScript toolchain
