google-agents-cli-scaffold
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
env-config-validator
Validate environment configuration files across local, staging, and production environments. Ensure required secrets, database URLs, API keys, and public variables are properly scoped and set. Use this skill when setting up environments, validating configuration, checking for missing secrets, aud...
Full skill instructions
Validate .env files across local, staging, and production environments. Ensure all required secrets, database URLs, API keys, and public variables are properly scoped, set, and secure.
To validate environment configuration:
.env, .env.local, .env.production, etc.scripts/validate_env.py for automated validationEnsure proper scoping of environment variables:
NEXT_PUBLIC_*): Accessible in browserCompare configurations across environments:
Detect security vulnerabilities in environment configuration:
Ensure these categories of variables are present:
Database Connection
DATABASE_URL or equivalentAuthentication
JWT_SECRET or AUTH_SECRETExternal APIs
Application Config
NODE_ENVNEXT_PUBLIC_APP_URL or APP_URLEmail/Notifications (if used)
Follow Next.js environment variable conventions:
Public variables: NEXT_PUBLIC_* prefix
NEXT_PUBLIC_API_URLPrivate variables: No prefix
DATABASE_URL, API_SECRETNaming style: SCREAMING_SNAKE_CASE
DATABASE_URL, JWT_SECRET, STRIPE_API_KEYNever expose secrets in public variables
NEXT_PUBLIC_DATABASE_URLDATABASE_URLDatabase URLs must be private
NEXT_PUBLIC_DB_URLDATABASE_URLAPI keys scoping
NEXT_PUBLIC_* (e.g., Google Maps)No hardcoded secrets in code
.env.local or .env.productionStrong secrets
Use scripts/validate_env.py to automate validation:
# Validate current .env file
python scripts/validate_env.py
# Validate specific file
python scripts/validate_env.py --file .env.production
# Compare multiple environments
python scripts/validate_env.py --compare .env.local .env.production
# Check against required variables template
python scripts/validate_env.py --template .env.example
The script checks:
Detection: Script reports missing required variable
Solution:
# Add to .env.production
DATABASE_URL="postgresql://user:password@host:5432/dbname"
Note: Use different databases for dev/staging/prod
Detection: Script finds NEXT_PUBLIC_ prefix on secret
Problem:
# [ERROR] WRONG - secret exposed to browser
NEXT_PUBLIC_API_SECRET="secret123"
Solution:
# [OK] CORRECT - server-side only
API_SECRET="secret123"
Detection: Script detects short or weak secret
Problem:
# [ERROR] WRONG - too short, predictable
JWT_SECRET="secret"
Solution:
# [OK] CORRECT - strong, random, 32+ characters
JWT_SECRET="a8f3d9c2e1b7f4a6d8c3e9b2f1a7d4c8e3b9f2a1d7c4e8b3f9a2d1c7e4b8f3a9"
Generate with:
node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
Detection: Script comparison shows name mismatch
Problem:
# .env.local
DATABASE_URL="..."
# .env.production
DB_URL="..." # [ERROR] Different name
Solution: Use consistent names
# Both files
DATABASE_URL="..."
Detection: Client-side code fails to connect to API
Problem: NEXT_PUBLIC_API_URL not set
Solution:
# .env.local
NEXT_PUBLIC_API_URL="http://localhost:3000"
# .env.production
NEXT_PUBLIC_API_URL="https://api.yourapp.com"
Python script to validate environment files, check for security issues, compare across environments, and verify against templates. Provides detailed error messages and suggestions.
Comprehensive guide to environment variable management including:
Template showing all required environment variables for a worldbuilding application. Use as a reference for setting up new environments or auditing existing ones.
# Database
DATABASE_URL="postgresql://user:password@localhost:5432/worldbuilding_dev"
# Authentication
JWT_SECRET="dev-secret-change-in-production"
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET="dev-nextauth-secret"
# Public
NEXT_PUBLIC_API_URL="http://localhost:3000"
NEXT_PUBLIC_APP_NAME="Worldbuilding App (Dev)"
# External APIs (test keys)
OPENAI_API_KEY="sk-test-..."
STRIPE_SECRET_KEY="sk_test_..."
# Database
DATABASE_URL="postgresql://user:[email protected]:5432/worldbuilding_staging"
# Authentication
JWT_SECRET="staging-secret-32-chars-minimum"
NEXTAUTH_URL="https://staging.yourapp.com"
NEXTAUTH_SECRET="staging-nextauth-secret"
# Public
NEXT_PUBLIC_API_URL="https://staging.yourapp.com"
NEXT_PUBLIC_APP_NAME="Worldbuilding App (Staging)"
# External APIs (test keys)
OPENAI_API_KEY="sk-test-..."
STRIPE_SECRET_KEY="sk_test_..."
# Database
DATABASE_URL="postgresql://user:[email protected]:5432/worldbuilding_prod"
# Authentication
JWT_SECRET="production-secret-use-crypto-random-32-chars-minimum"
NEXTAUTH_URL="https://yourapp.com"
NEXTAUTH_SECRET="production-nextauth-secret"
# Public
NEXT_PUBLIC_API_URL="https://api.yourapp.com"
NEXT_PUBLIC_APP_NAME="Worldbuilding App"
# External APIs (production keys)
OPENAI_API_KEY="sk-live-..."
STRIPE_SECRET_KEY="sk_live_..."
# Monitoring
SENTRY_DSN="https://..."
Never commit secrets
.env.local, .env.production to .gitignore.env.example as a templateUse strong, random secrets
crypto.randomBytes() or password managerScope variables correctly
NEXT_PUBLIC_*): Only non-sensitive, client-accessible dataConsistent naming
SCREAMING_SNAKE_CASE conventionEnvironment-specific values
Document required variables
.env.example updatedValidate on deployment
Rotate secrets regularly
Use secret management tools
Test environment parity
Common environment variables for worldbuilding applications:
DATABASE_URL="postgresql://..."
DATABASE_POOL_SIZE="10" # Optional
JWT_SECRET="..."
NEXTAUTH_URL="..."
NEXTAUTH_SECRET="..."
# AI services (optional)
OPENAI_API_KEY="..."
# Maps (if using)
NEXT_PUBLIC_GOOGLE_MAPS_API_KEY="..."
# Image hosting (if using)
CLOUDINARY_URL="..."
NODE_ENV="production"
NEXT_PUBLIC_APP_URL="https://..."
NEXT_PUBLIC_APP_NAME="Worldbuilding App"
SMTP_HOST="..."
SMTP_PORT="587"
SMTP_USER="..."
SMTP_PASSWORD="..."
Consult references/env_best_practices.md for detailed guidance and assets/.env.example for a complete template.
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.
Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.
Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.
Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.
Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.
Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.
Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.
Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".
Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.
Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".
Opus.ai: Revolutionize Your Web Experience
Build a no-code AI app in minutes.
An IDE for code migration from legacy to modern frameworks through coding agents.
Automate CGI animation in live-action scenes
Branded artistic QR-code concepts
Launch a website in seconds with AI.
Streamline Your Coding Experience with AI Code Helper
Convert any screenshot or design to clean code.