env-patterns

Standardizes environment variable handling and config validation across local and CI deployments.

1|Updated Dec 15, 2025
One-click install
npx skills add https://github.com/Anveio/conveaux --skill env-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: env-patterns
Source: https://github.com/Anveio/conveaux/tree/main/.claude/skills/env-patterns
Command: npx skills add https://github.com/Anveio/conveaux --skill env-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill standardizes environment variable handling, config loading, and validation across development and production environments.

Core Features & Use Cases

  • Config Conventions: Apply consistent environment variable patterns.
  • Use Case: When adding configuration or diagnosing environment-related failures.

Quick Start

When working with environment variables or diagnosing CI failures, invoke this Skill to apply standard configuration patterns.

Quick Start

Use this Skill when adding environment variables or when code works locally but fails in CI.

Quick Start

Use when the task mentions environment variables, config loading, or AWS environment configuration, use this Skill.

Frequently Asked Questions about env-patterns

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

FAQPage Schema
How do I fix environment variable inconsistencies between local development and CI?

Environment variable inconsistencies occur when config differs across deployment stages. This Skill applies standardized env-patterns conventions—reading .env files, loading defaults, and validating variables like AWS_REGION and AWS_PROFILE—to ensure consistent behavior locally and in CI, eliminating 'works locally but not in CI' failures.

What's the best way to standardize environment configuration across development and production?

Standardizing environment configuration means enforcing consistent patterns for loading, validating, and applying variables across all platforms and deployment stages. This Skill references repository conventions (docs/env-patterns.md) and applies validation checks to maintain predictable behavior from local to production.

How do I diagnose why my code works locally but fails in CI?

Deployment failures often stem from environment variable mismatches between local and CI setups. This Skill identifies and resolves config inconsistencies by validating environment variables, checking AWS credentials and region settings, and applying standardized patterns to pinpoint configuration gaps.

Can I use environment variable patterns to validate AWS configuration?

Yes. This Skill validates AWS environment configuration including AWS_REGION, AWS_PROFILE, and related runtime variables. It enforces conventions and performs validation checks to ensure AWS credentials and settings are correctly configured across local and CI environments.

What environment variables should I configure for consistent deployments?

Deploy consistently by configuring standardized environment variables through .env files and config loaders. This Skill applies conventions for variables like AWS_REGION and AWS_PROFILE, provides default values, and validates them against repository-documented patterns to maintain behavior across deployment stages.

How do I load and validate .env files across different deployment environments?

Load .env files and validate their contents against standardized patterns to catch misconfigurations early. This Skill reads environment config, applies conventions, validates variables, and diagnoses failures to ensure .env-based configuration works consistently locally, in CI, and in production.