Configuration management

From aj-geddes/useful-ai-prompts · View interactive version

Configuration management is an AI agent skill from the GitHub repository aj-geddes/useful-ai-prompts. Manage application configuration including environment variables, settings management, configuration hierarchies, secret management, feature flags, and 12-factor app principles. Use for config, environment setup, or settings management.

How to use this skill

Skill file

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

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

# .env.test
NODE_ENV=test
DATABASE_URL=postgresql://localhost:5432/myapp_test
LOG_LEVEL=error

Reference Guides

Detailed implementations in the references/ directory:

| Guide | Contents |

|---|---|

| Environment Variables | Environment Variables |

| Configuration Hierarchies | Configuration Hierarchies |

| Secret Management | Secret Management |

| Feature Flags | Feature Flags |

| 12-Factor App Configuration | 12-Factor App Configuration |

| Configuration Validation | Configuration Validation |

| Dynamic Configuration (Remote Config) | Dynamic Configuration (Remote Config) |

Best Practices

✅ DO

❌ DON'T

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.