Skip to main content
skill CX Codex

arkenv — Claude Code skill: env validation setup

Helps configure ArkEnv, define typed environment schemas, and add validation to JavaScript and TypeScript projects.

no license 282 installs ★ 730 updated 2026-11-02

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add onmax/nuxt-skills --skill arkenv -a claude-code
Open on GitHub

What arkenv does

This skill guides ArkEnv setup for typed environment checks. It can help create env.ts, choose ArkType or Standard Schema, and use one env import throughout frontend and backend code.

It covers Next.js, Nuxt, Vite, Bun, and Node.js integrations. The Vite and Bun plugins inline public values while guarding server-only secrets; Next.js and Nuxt use client/server isolation. The CLI can detect the framework, scaffold the schema, configure tsconfig.json, and apply a hosting preset.

For agent-driven setup, use pnpm dlx arkenv init --agent. Its JSON result exposes success or refusal details through error.code and nextActions. Schema discovery follows env.ts, src/env.ts, or an explicit --schema path, so custom locations need that flag.

What it helps with

  • validate environment variables against a schema
  • scaffold env.ts in a new project
  • define values with ArkType or Zod
  • keep public values separate from server secrets
  • configure ArkEnv for Next.js or Nuxt

Example prompts for the agent

  • Set up ArkEnv in this project and create the schema at src/env.ts.
  • Run pnpm arkenv check --schema src/env.ts and explain any environment errors.
  • Configure ArkEnv for Vite so client code cannot read server-only keys.

How to install arkenv

1Skills CLI (Vercel)

npx skills add onmax/nuxt-skills --skill arkenv -a claude-code

2Manually: put the files in place

~/.claude/skills/arkenv/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/arkenv/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about arkenv

How do I install arkenv in Claude Code?

Run npx skills add onmax/nuxt-skills --skill arkenv -a claude-code, then check ~/.claude/skills/arkenv/SKILL.md.

What does arkenv do?

The skill helps set up ArkEnv and validate environment variables through typed schemas. It covers ArkType, Standard Schema, Zod, and Valibot.

How does the arkenv CLI discover a schema file?

It uses --schema or the convention paths env.ts and src/env.ts. A package.json arkenv field is not used for schema discovery.

Similar skills

All skills for Backend and APIs →

From the same set13

The whole set →
nuxthub nuxthub is a Claude Code skill that configures databases, KV storage, and blob handling for NuxtHub v0.10.12 applications. Activates when editing Drizzle schemas, migrations, or cloud bindings. CX Codex +1 2,300installs nuxt-better-auth nuxt-better-auth guides Nuxt authentication with @nuxtjs/better-auth, including route guards, session handling, and Better Auth plugins. CX Codex +1 2,100installs nuxt-studio Walks you through self-hosted Nuxt Studio: auth, media, drafts and Git publishing. Useful when the content editor has to live on your own domain. CX Codex +1 1,700installs nuxt-i18n nuxt-i18n — a skill that walks your coding agent through @nuxtjs/i18n setup: locales, translated routes, language detection and locale SEO. CX Codex +1 741installs comark The comark skill parses markdown with Comark component support and renders it in Vue, React, Svelte or Angular. Fits projects with custom blocks in documentation or content. CX Codex +1 306installs nuxt-users Skill for Claude Code, Cursor and GitHub Copilot: configures the nuxt-users module — full authentication for Nuxt with roles, password reset and SQLite, MySQL or PostgreSQL support. CX Codex +1 292installs regle regle is a Claude Code skill for adding and editing Regle-validated forms in Vue 3. It covers field bindings through r$ and displaying validation errors. CX Codex +1 269installs t3-code-continue-thread t3-code-continue-thread resumes work from an earlier T3 Code session by parsing its UUID, checking git worktrees, and writing a fresh handoff document. CX Codex +1 187installs

Project sponsors

Companies that keep this analytics open