configuration-validator
Проверка конфигурационных файлов и переменных окружения
Отсутствующие или неправильно настроенные переменные окружения вызывают ошибки времени выполнения и сбои развёртывания. Этот навык предоставляет систематические методы для поиска конфигурационных файлов, проверки обязательных переменных, проверки форматов и обеспечения актуальности документации.
스킬 ZIP 다운로드
Claude에서 업로드
설정 → 기능 → 스킬 → 스킬 업로드로 이동
토글을 켜고 사용 시작
테스트해 보기
"configuration-validator" 사용 중입니다. Validate my .env file and check for missing variables against .env.example
예상 결과:
- Missing required variables: API_KEY, JWT_SECRET
- Format issues found: DATABASE_URL missing quotes around value with spaces
- Security check: .env is present in .gitignore
- Recommendations: Add API_KEY and JWT_SECRET to your .env file. Wrap values containing spaces in quotes.
"configuration-validator" 사용 중입니다. Generate a .env.example template from my current configuration
예상 결과:
- Generated .env.example with all current variables
- Replaced actual values with placeholder text
- Added comments documenting each variable's purpose
- Next step: Review and update documentation as needed
"configuration-validator" 사용 중입니다. Check my codebase for hardcoded secrets in config files
예상 결과:
- No hardcoded secrets found in main config files
- .env is properly gitignored
- Consider adding config validation to your CI pipeline
- Recommended: Use a secrets scanner for comprehensive coverage
보안 감사
안전This is a pure documentation skill containing only instructional guidance for configuration validation. The static analyzer flagged example code patterns in documentation as security issues, but all findings are FALSE POSITIVES. The skill provides educational examples of env var validation patterns using standard Claude tools (Read, Grep, Glob, Write, Bash). No executable code, scripts, or binaries are present. The credential strings (DATABASE_URL, API_KEY) and shell commands (grep, sed) shown are example placeholders in documentation, not actual credential access or malicious behavior.
위험 요인
🌐 네트워크 접근 (3)
🔑 환경 변수 (41)
⚙️ 외부 명령어 (55)
📁 파일 시스템 액세스 (1)
품질 점수
만들 수 있는 것
Проверка окружения разработки
Убедитесь, что все обязательные переменные окружения присутствуют перед запуском сервера разработки или запуском тестов.
Аудит производственных конфигураций
Проверьте конфигурации развёртывания, чтобы убедиться, что обязательные переменные задокументированы и правильно отформатированы для производства.
Генерация шаблонов конфигурации
Создайте файлы .env.example из существующих конфигураций для распространения среди членов команды и документирования обязательных настроек.
이 프롬프트를 사용해 보세요
Use the configuration-validator skill to check my .env file against .env.example. List any missing required variables and suggest defaults.
Use the configuration-validator skill to validate the format of my environment variables. Check for missing quotes, invalid URLs, and type issues.
모범 사례
- Always maintain an up-to-date .env.example file that documents all required variables with examples
- Validate configuration at application startup to fail fast when required variables are missing
- Keep sensitive values out of version control by properly configuring .gitignore
피하기
- Committing .env files to version control with real credentials
- Using hardcoded secrets or API keys directly in source code
- Skipping documentation of optional configuration variables and their defaults