aj-geddes avatar

Configuration Management

Handles the full stack of config management from environment variables to feature flags and secret handling. You'll reach for this when setting up multi-environment deployments, implementing 12-factor app principles, or migrating credentials out of your codebase. Covers the practical stuff like config hierarchies, validation on startup, and integration with secret managers. The reference guides walk through everything from basic .env files to dynamic remote configuration. The best practices section is solid on the security fundamentals, like never committing secrets and using proper secret managers instead of rolling your own. Good coverage of the circular dependency trap where people try storing config in databases.

skills.sh installs
448
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill configuration-management --agent claude-code

Installs into .claude/skills of the current project.

Files

Configuration Management

Table of Contents

Overview

Comprehensive guide to managing application configuration across environments, including environment variables, configuration files, secrets, feature flags, and following 12-factor app methodology.

When to Use

  • Setting up configuration for different environments
  • Managing secrets and credentials
  • Implementing feature flags
  • Creating configuration hierarchies
  • Following 12-factor app principles
  • Migrating configuration to cloud services
  • Implementing dynamic configuration
  • Managing multi-tenant configurations

Quick Start

Minimal working example:

# .env.development
NODE_ENV=development
PORT=3000
DATABASE_URL=postgresql://localhost:5432/myapp_dev
REDIS_URL=redis://localhost:6379
LOG_LEVEL=debug
API_KEY=dev-api-key-12345

# .env.production
NODE_ENV=production
PORT=8080
DATABASE_URL=${DATABASE_URL}  # From environment
REDIS_URL=${REDIS_URL}
LOG_LEVEL=info
API_KEY=${API_KEY}  # From secret manager

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Category
AI & Agent Building
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258
1jwynia avatarreverse-outlinerjwynia/agent-skillsReverse-engineer published books into structured scene-by-scene outlines for study. Use when analyzing craft, learning story structure from masters, or creating448skills.sh installs
2mblode avatardefine-architecturemblode/agent-skillsGenerates folder structures, module contracts, middleware pipelines, and frontend/backend boundaries for TypeScript full-stack applications, and finds domain-in448skills.sh installs
3aj-geddes avataralert-managementaj-geddes/useful-ai-promptsImplement comprehensive alert management with PagerDuty, escalation policies, and incident coordination. Use when setting up alerting systems, managing on-call 447skills.sh installs
4aj-geddes avatarcloud-cost-managementaj-geddes/useful-ai-promptsOptimize and manage cloud costs across AWS, Azure, and GCP using reserved instances, spot pricing, and cost monitoring tools.447skills.sh installs
5aj-geddes avatartroubleshooting-guideaj-geddes/useful-ai-promptsCreate comprehensive troubleshooting guides, FAQ documents, known issues lists, and debug guides. Use when documenting common problems, error messages, or debug447skills.sh installs
6aj-geddes avatarvue-application-structureaj-geddes/useful-ai-promptsStructure Vue 3 applications using Composition API, component organization, and TypeScript. Use when building scalable Vue applications with proper separation o447skills.sh installs