Bun YAML

Use Bun's built-in support for YAML files through both runtime APIs and bundler integration

9 stars 1 forksOther

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add jarle/bun-skills --skill Bun YAML
Manual install
git clone --depth 1 https://github.com/jarle/bun-skills.git /tmp/bun-skills
mkdir -p ~/.claude/skills
cp -r /tmp/bun-skills/skills/bun-runtime-yaml ~/.claude/skills/Bun-YAML

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# YAML

> Use Bun's built-in support for YAML files through both runtime APIs and bundler integration

In Bun, YAML is a first-class citizen alongside JSON and TOML. You can:

* Parse YAML strings with `Bun.YAML.parse`
* `import` & `require` YAML files as modules at runtime (including hot reloading & watch mode support)
* `import` & `require` YAML files in frontend apps via bun's bundler

***

## Conformance

Bun's YAML parser currently passes over 90% of the official YAML test suite. While we're actively working on reaching 100% conformance, the current implementation covers the vast majority of real-world use cases. The parser is written in Zig for optimal performance and is continuously being improved.

***

## Runtime API

### `Bun.YAML.parse()`

Parse a YAML string into a JavaScript object.

```ts  theme={"theme":{"light":"github-light","dark":"dracula"}}
import { YAML } from "bun";
const text = `
name: John Doe
age: 30
email: john@example.com
hobbies:
  - reading
  - coding
  - hiking
`;

const data = YAML.parse(text);
console.log(data);
// {
//   name: "John Doe",
//   age: 30,
//   email: "john@example.com",
//   hobbies: ["reading", "coding", "hiking"]
// }
```

#### Multi-document YAML

When parsing YAML with multiple documents (separated by `---`), `Bun.YAML.parse()` returns an array:
Read the full skill on GitHub

Details

Skill name
Bun YAML
Path
skills/bun-runtime-yaml/SKILL.md
License
MIT
Repo updated
24 February 2026

FAQ

What does the Bun YAML skill do?

Use Bun's built-in support for YAML files through both runtime APIs and bundler integration

How do I install the Bun YAML skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add jarle/bun-skills --skill Bun YAML. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Bun YAML popular?

It lives in jarle/bun-skills, which has 9 GitHub stars and 1 forks.

Related skills

Browse the most popular Claude skills, all other skills, or write your own with the skills generator.