yaml-json-toml-loader
Generate multi-format configuration file loaders for YAML, JSON, and TOML formats.
Profile →npx skills add a5c-ai/babysitter --skill yaml-json-toml-loader --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# YAML/JSON/TOML Loader Generate multi-format config file loaders. ## Generated Patterns ```typescript import fs from 'fs'; import path from 'path'; import yaml from 'yaml'; import toml from '@iarna/toml'; type ConfigFormat = 'json' | 'yaml' | 'toml' | 'auto'; export function loadConfigFile(filepath: string, format: ConfigFormat = 'auto'): unknown { const content = fs.readFileSync(filepath, 'utf-8'); const ext = format === 'auto' ? path.extname(filepath).toLowerCase() : `.${format}`; switch (ext) { case '.json': return JSON.parse(content); case '.yaml': case '.yml': return yaml.parse(content); case '.toml': return toml.parse(content); default: throw new Error(`Unknown config format: ${ext}`); } } export function saveConfigFile(filepath: string, data: unknown, format: ConfigFormat = 'auto'): void { const ext = format === 'auto' ? path.extname(filepath).toLowerCase() : `.${format}`; let content: string; switch (ext) { case '.json': content = JSON.stringify(data, null, 2); break; case '.yaml': case '.yml': content = yaml.stringify(data); break; case '.toml': content = toml.stringify(data as any); break; default: throw new Error(`Unknown format: ${ext}`); } fs.writeFileSync(filepath, c
- Generated Patterns
- Target Processes
What does the yaml-json-toml-loader skill do?
Generate multi-format configuration file loaders for YAML, JSON, and TOML formats.
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill yaml-json-toml-loader --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.