env-audit

Audit environment variable consistency across Zod schemas, .env.example files, and CI secrets.

Updated Jan 23, 2026
One-click install
npx skills add https://github.com/songyinggoh/renovation-agent-monorepo --skill env-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: env-audit
Source: https://github.com/songyinggoh/renovation-agent-monorepo/tree/main/.claude/skills/env-audit
Command: npx skills add https://github.com/songyinggoh/renovation-agent-monorepo --skill env-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents environment variable drift by ensuring consistency across your Zod schema, .env.example files, and CI/CD workflows, saving you from runtime errors and deployment failures.

Core Features & Use Cases

  • Drift Detection: Identifies missing or mismatched environment variables across five key surfaces.
  • Onboarding & PR Reviews: Ensures new developers can set up locally and that configuration changes are complete.
  • Secret Management: Helps track where secrets are used in CI/CD pipelines.
  • Use Case: When adding a new API key, this Skill verifies it's correctly defined in the backend schema, added to both frontend and backend .env.example files, and included in the necessary CI workflow secrets.

Quick Start

Run /env-audit to check for any environment variable inconsistencies across the project.

Frequently Asked Questions about env-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check environment variable consistency across Zod schemas and CI workflows?

To check environment variable consistency, audit your Zod schemas, .env.example files, and CI workflow secrets to identify drift. This process detects missing or mismatched variables across backend and frontend configurations, preventing runtime errors and deployment failures.

What is environment variable drift and how does it affect deployments?

Environment variable drift occurs when configuration definitions mismatch across Zod schemas, .env.example files, and CI workflows. This inconsistency causes runtime errors and deployment failures because backend and frontend applications expect variables that are missing or incorrectly defined.

How do I ensure new API keys are added to frontend and backend .env.example files?

Ensure new API keys are added to frontend and backend .env.example files by running an environment variable audit. This verifies the key is correctly defined in the backend Zod schema, added to both .env.example files, and included in necessary CI workflow secrets.

Can I audit a single environment variable instead of scanning the whole project?

Yes, you can audit a single environment variable instead of scanning the whole project. The audit supports single variable checks to verify its specific consistency across Zod schemas, .env.example files, and CI workflow secrets without a full project scan.

How do I track where secrets are used in CI/CD pipelines?

Track where secrets are used in CI/CD pipelines by auditing environment variable consistency. This identifies mismatches across CI workflow secrets and .env.example files, helping you map exactly where specific secrets are required and remediate missing configurations.