Environment Variable Hygiene
Maintains clean, secure, and consistent environment variable configurations across Vercel, Convex, and other deployment platforms.
Environment Variable Hygiene provides best practices and automated checks to prevent common deployment failures caused by malformed secrets and configuration drift. It helps developers eliminate cryptic errors like 'Invalid character in header' by identifying trailing whitespaces, ensures cross-platform parity between frontend and backend environments, and validates API key formats for services like Stripe and Clerk. This skill is essential for maintaining robust production environments and avoiding silent failures in webhook signatures or authentication flows during deployment.
主要功能
012 GitHub stars
02Detects and prevents trailing whitespaces and hidden newline characters in secrets
03Ensures cross-platform secret parity between Vercel and Convex environments
04Differentiates between development and production environment stores to prevent configuration leaks
05Validates API key formats for Stripe, Clerk, and other services using regex patterns
06Provides safe CLI commands using printf to avoid shell-injected characters
使用场景
01Debugging 'Invalid character in header' or ERR_INVALID_CHAR errors during production deploys
02Synchronizing webhook secrets and API tokens between separate frontend and backend platforms
03Auditing production environment variables for formatting errors before a major release