python-configuration

Installation
Summary

Centralized, typed configuration management using environment variables and pydantic-settings.

  • Load and validate all configuration into typed objects at application startup, with required settings crashing immediately if missing
  • Supports nested configuration groups, type coercion, custom validators, and environment-specific behavior switching
  • Provides sensible defaults for local development while enforcing explicit values for secrets and production settings
  • Integrates with .env files for local development and mounted secrets directories for container deployments
SKILL.md

Python Configuration Management

Externalize configuration from code using environment variables and typed settings. Well-managed configuration enables the same code to run in any environment without modification.

When to Use This Skill

  • Setting up a new project's configuration system
  • Migrating from hardcoded values to environment variables
  • Implementing pydantic-settings for typed configuration
  • Managing secrets and sensitive values
  • Creating environment-specific settings (dev/staging/prod)
  • Validating configuration at application startup

Core Concepts

1. Externalized Configuration

All environment-specific values (URLs, secrets, feature flags) come from environment variables, not code.

Related skills

More from wshobson/agents

Installs
6.2K
Repository
wshobson/agents
GitHub Stars
35.3K
First Seen
Jan 30, 2026