MCP HubMCP Hub
스킬 목록으로 돌아가기

json-config-loader

vamseeachanta
업데이트됨 Today
11 조회
3
2
3
GitHub에서 보기
기타bashconfigjsonyamlparsingjqconfiguration

정보

이 스킬은 jq와 같은 도구를 사용하여 INI, key=value, JSON 파일에 대한 bash 구성 파싱 패턴을 제공합니다. bash 스크립트에 설정을 로드하거나, JSON 보고서를 생성하거나, 연관 배열로 설정을 관리하는 데 이상적입니다. Python이 더 적합한 복잡한 중첩 구성에는 사용하지 않는 것이 좋습니다.

빠른 설치

Claude Code

추천
기본
npx skills add vamseeachanta/workspace-hub
플러그인 명령대체
/plugin add https://github.com/vamseeachanta/workspace-hub
Git 클론대체
git clone https://github.com/vamseeachanta/workspace-hub.git ~/.claude/skills/json-config-loader

Claude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요

문서

Json Config Loader

When to Use This Skill

Use when:

  • Loading configuration from files into bash scripts
  • Parsing key=value or INI-style configuration files
  • Working with JSON data using jq
  • Generating JSON reports from bash
  • Managing configuration with associative arrays

Avoid when:

  • Complex nested configuration (consider Python instead)
  • Real-time configuration changes (use a daemon)
  • Configuration with complex validation rules

Complete Example: Config Manager

Full configuration management with multiple formats:

#!/bin/bash
# ABOUTME: Universal configuration manager
# ABOUTME: Supports key=value, JSON, and environment overrides

set -e

# ─────────────────────────────────────────────────────────────────
# Configuration Storage
# ─────────────────────────────────────────────────────────────────

declare -A CONFIG
CONFIG_FILE=""
CONFIG_FORMAT=""

# ─────────────────────────────────────────────────────────────────
# Format Detection
# ─────────────────────────────────────────────────────────────────

detect_format() {
    local file="$1"

    case "${file##*.}" in

*See sub-skills for full details.*

## Resources

- [jq Manual](https://stedolan.github.io/jq/manual/)
- [yq Documentation](https://mikefarah.gitbook.io/yq/)
- [Bash Associative Arrays](https://www.gnu.org/software/bash/manual/html_node/Arrays.html)

---

## Version History

- **1.0.0** (2026-01-14): Initial release - extracted from workspace-hub configuration scripts

## Sub-Skills

- [1. Key=Value Configuration Parsing (+1)](1-keyvalue-configuration-parsing/SKILL.md)
- [3. JSON Report Generation](3-json-report-generation/SKILL.md)
- [4. Multi-Section INI Parsing](4-multi-section-ini-parsing/SKILL.md)
- [5. Environment Variable Configuration](5-environment-variable-configuration/SKILL.md)
- [6. YAML Configuration (via yq)](6-yaml-configuration-via-yq/SKILL.md)
- [1. Always Provide Defaults (+4)](1-always-provide-defaults/SKILL.md)

GitHub 저장소

vamseeachanta/workspace-hub
경로: .claude/skills/_core/bash/json-config-loader

연관 스킬

network-security-setup

개발

This skill configures Claude Code sandbox network isolation by setting up trusted domain whitelists and custom access policies. It helps developers secure code execution by managing environment variables and preventing unauthorized network access. Use it to implement zero-trust architecture and prevent prompt injection attacks via network controls.

스킬 보기

when-creating-skill-template-use-skill-builder

기타

This skill generates properly structured Claude Code Skills with complete YAML frontmatter, progressive disclosure documentation, and organized directory layouts. It ensures new skills follow best practices and specification requirements while creating all necessary files including SKILL.md, README.md, and process diagrams. Developers should use it when creating reusable skills to maintain consistency and compliance with Claude's skill framework.

스킬 보기

sandbox-configurator

개발

The sandbox-configurator skill automatically configures Claude Code's execution environment with security boundaries for file system and network isolation. It enables developers to define trusted domains, manage file permissions, and control network access for secure code execution. Use this skill when you need to set up a secure, isolated sandbox for running untrusted code or building applications.

스킬 보기

usage-tracker

기타

The usage-tracker skill enables developers to track and analyze tool or resource usage over time through timestamped logging and reporting. It's designed for generating periodic usage reports, monitoring quotas, and detecting usage trends, but is not suitable for real-time or high-frequency event tracking. Key capabilities include daily/weekly/monthly breakdowns and pattern analysis for building dashboards.

스킬 보기