json-config-loader-1-always-provide-defaults
정보
이 하위 스킬은 안전한 기본값과 우아한 실패 처리를 강조하며, 셸 스크립트에서 견고한 JSON 구성 로딩을 위한 모범 사례를 제공합니다. 필수 값 검증, 비밀 정보를 위한 환경 변수 오버라이드, JSON 구문 검증 패턴을 보여줍니다. 다양한 배포 환경에서 신뢰할 수 있고 유지보수가 용이한 구성 시스템을 구축할 때 사용하세요.
빠른 설치
Claude Code
추천npx skills add vamseeachanta/workspace-hub/plugin add https://github.com/vamseeachanta/workspace-hubgit clone https://github.com/vamseeachanta/workspace-hub.git ~/.claude/skills/json-config-loader-1-always-provide-defaultsClaude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요
문서
1. Always Provide Defaults (+4)
1. Always Provide Defaults
value=$(config_get "key" "default_value")
2. Validate Early
config_require "api_key" "database_url" || exit 1
3. Use Environment Overrides for Secrets
# Don't store secrets in files
API_KEY="${API_KEY:-$(config_get 'api_key')}"
4. Validate JSON with jq
if ! jq empty "$file" 2>/dev/null; then
echo "Invalid JSON" >&2
exit 1
fi
5. Handle Missing Files Gracefully
if [[ -f "$config_file" ]]; then
load_config "$config_file"
else
echo "Warning: Config not found, using defaults" >&2
fi
GitHub 저장소
연관 스킬
algorithmic-art
메타This Claude Skill creates original algorithmic art using p5.js with seeded randomness and interactive parameters. It generates .md files for algorithmic philosophies, plus .html and .js files for interactive generative art implementations. Use it when developers need to create flow fields, particle systems, or other computational art while avoiding copyright issues.
subagent-driven-development
개발This skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.
executing-plans
디자인Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.
cost-optimization
기타This Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.
