redpanda-data/ui-harness/setup-env-validation
Claude Code and agent skill by redpanda-data/ui-harness
- community
Checking that the SKILL.md file is still in the repository.
Enforce type-safe environment variable access using t3-env with zod validation. Bans raw process.env.X outside dedicated env files. Use when setting up env validation, t3-env, type-safe environment variables, or banning raw process.env access.
Install
npx vskill@latest install redpanda-data/ui-harness/setup-env-validationSKILL.md
The same SKILL.md was published earlier as redpanda-data/ui-harness/setup-env-validation.
Setup Env Validation
t3-env + zod for type-safe env vars. Single src/env.ts source of truth. PostToolUse hook block raw process.env. in TS/TSX/JS/JSX (skip env files + tests).
Steps
1. Install
2. Create src/env.ts
Use import { env } from "@/env" everywhere instead of process.env.
3. Hook
Copy scripts/env-validation-check.sh + scripts/_hook-lib.sh -> .claude/hooks/. chmod +x. Add to PostToolUse (Edit|Write).
4. Verify
- [ ]
import { env } from "@/env"works - [ ] Hook block
process.env.Xin regular files - [ ] Hook allow
process.envin env.ts/env.mts/env.mjs/env.js - [ ] Hook skip test files
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsetup-env-validation/SKILL.md
Popularity
- Repository stars
- 34
- Repository forks
- 4
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 11 Sep 2026, 2 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/redpanda-data/ui-harness/setup-env-validation)