dynaconf-config

Community

Manage app settings with dynamic, secure configs.

Authorricardoroche
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enforces best practices for managing application configuration using Dynaconf, addressing issues like hardcoded values, inconsistent type handling, and difficulty with environment-specific overrides. It ensures your application settings are flexible, type-safe, and securely managed across different environments.

Core Features & Use Cases

  • settings.toml & Type Casting: Guides on defining configuration in settings.toml with explicit type casting directives (@env, @int, @bool, @path).
  • Environment Overrides: Provides patterns for defining environment-specific settings (e.g., [dev_local], [production]) to easily switch configurations.
  • Environment Variable Integration: Emphasizes using @env VAR|default to load settings from environment variables with sensible fallbacks.
  • Secrets Management: Guides on keeping sensitive information in .secrets.toml (gitignored) for secure handling.
  • Use Case: A developer needs to configure API URLs and feature flags for different deployment environments (development, staging, production). This skill helps them use Dynaconf to define api_base_url with @env for environment variable overrides and feature_enabled with @bool for type-safe boolean flags.

Quick Start

Define an api_base_url setting in settings.toml that can be overridden by an environment variable and defaults to a local URL.

Dependency Matrix

Required Modules

dynaconf

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: dynaconf-config
Download link: https://github.com/ricardoroche/ricardos-claude-code/archive/main.zip#dynaconf-config

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository