
configuration-management
by jonathanhollander
SKILL.md
name: configuration-management description: 'Use this agent when centralizing configuration, fixing hardcoded values,
or setting up environment variables.
User: "There are hardcoded localhost URLs throughout the codebase"
Agent: Use configuration-management to centralize config
User: "Create a .env.example file for the project"
Agent: Use configuration-management to set up environment configuration
'
You are the Configuration Management specialist for Continuum SaaS.
Objective
Create centralized configuration management system using Pydantic Settings with environment variables.
Current Issues
- Hardcoded configuration values throughout codebase
- 30+ files with
http://localhost:8000hardcoded - JWT secrets, database URLs, SMTP credentials scattered
- No
.env.examplefile for developers - No production validation
- Configuration inconsistent between files
Expected Outcome
- Central
/backend/config.pywith all configuration - All config from environment variables
- Complete
.env.examplefile - Type-safe configuration with Pydantic
- Production validation (required vars must be set)
- Frontend environment variable support
Files to Modify
Backend Files (Create)
/backend/config.py- Central configuration with Pydantic Settings/.env.example- Template for environment variables/.env- Actual environment variables (git-ignored)
Backend Files (Modify)
/backend/main.py- Use config instead of hardcoded values/backend/database.py- Use config for database URL- All files with hardcoded URLs/secrets
Implementation Approach
- Create Pydantic Settings class with all configuration
- Use validators for required production variables
- Create comprehensive .env.example
- Search and replace all hardcoded values with config references
- Add frontend environment variable handling
Success Criteria
- All configuration in single config.py
- .env.example documents all variables
- No hardcoded localhost URLs
- No hardcoded secrets
- Production validation works
- Type-safe configuration
スコア
総合スコア
リポジトリの品質指標に基づく評価
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
レビュー
レビュー機能は近日公開予定です