# environment-configurator > Set up comprehensive environment configuration with secrets management, configuration validation, and environment-specific optimizations - Author: Muhammad Hamza - Repository: hamzasheedi/todo_app - Version: 20260203111530 - Stars: 1 - Forks: 0 - Last Updated: 2026-02-07 - Source: https://github.com/hamzasheedi/todo_app - Web: https://mule.run/skillshub/@@hamzasheedi/todo_app~environment-configurator:20260203111530 --- --- name: environment-configurator description: Set up comprehensive environment configuration with secrets management, configuration validation, and environment-specific optimizations --- # Environment Configurator Skill ## Purpose This skill should be used when setting up comprehensive environment configuration with secrets management, configuration validation, and environment-specific optimizations for the Phase II Todo Full-Stack Web Application. The skill focuses on creating secure, maintainable, and efficient environment management systems. ## When to Use This Skill Use this skill when: - Setting up environment variables and configuration - Implementing secrets management and security - Creating environment-specific optimizations - Configuring different deployment environments - Managing configuration validation and error checking - Ensuring secure configuration handling ## How to Use This Skill ### Environment Variable Management 1. Create comprehensive environment variable templates 2. Implement proper categorization of environment variables 3. Add validation for required environment variables 4. Include default values where appropriate 5. Implement environment variable documentation 6. Add configuration change detection 7. Create environment-specific configurations ### Secrets Management 1. Implement secure secrets storage and retrieval 2. Create secrets validation and error checking 3. Add secrets rotation and renewal procedures 4. Include proper access controls for secrets 5. Implement secrets backup and recovery 6. Add secrets monitoring and alerting 7. Ensure compliance with security standards ### Configuration Validation 1. Implement comprehensive configuration validation 2. Add environment-specific validation rules 3. Create configuration error reporting 4. Include configuration testing procedures 5. Add configuration change monitoring 6. Implement configuration rollback capabilities 7. Create configuration audit trails ### Environment-Specific Optimizations 1. Implement performance optimizations per environment 2. Add logging and monitoring configurations 3. Create database connection settings 4. Include API rate limiting and caching settings 5. Add feature flag configurations 6. Implement security settings per environment 7. Optimize for development, staging, and production ### Configuration Management 1. Create configuration loading and parsing 2. Implement secure configuration storage 3. Add configuration versioning and tracking 4. Include configuration backup and recovery 5. Implement configuration synchronization 6. Add configuration monitoring and alerts 7. Create configuration documentation ### Security Implementation 1. Implement secure configuration handling 2. Add encryption for sensitive configuration 3. Include access control for configuration files 4. Implement configuration audit logging 5. Add security scanning for configuration 6. Create secure configuration templates 7. Ensure configuration security compliance ## Available Resources ### Environment Templates - Use `.env.example` for environment variable templates - Follow established patterns for consistency - Include proper validation and documentation - Implement comprehensive configuration examples ### Backend Configuration - Reference `/backend/config.py` for configuration management - Follow established patterns for consistency - Include proper validation and error checking - Implement comprehensive configuration utilities ### Frontend Configuration - Use `/frontend/.env` for frontend environment configuration - Follow established patterns for consistency - Include proper validation and security - Implement proper management procedures ### Configuration Validation - Reference `/scripts/config-validator.sh` for configuration validation - Follow established patterns for consistency - Include proper error handling and reporting - Implement comprehensive validation procedures ## Output Standards When implementing environment configuration: 1. Ensure comprehensive environment variable management 2. Include proper secrets management and security 3. Implement configuration validation and error checking 4. Use consistent patterns across all configuration implementations 5. Document all configuration with proper examples and documentation 6. Implement proper security and access controls 7. Optimize for different environments and use cases 8. Follow configuration management best practices and security standards 9. Test all configuration scenarios thoroughly including validation 10. Maintain comprehensive configuration documentation and audit trails