# Bun Development

> Develop JavaScript and TypeScript projects with Bun and bunx.

- Skill: `felinics/bun-development` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add felinics/bun-development`
- Raw SKILL.md: https://api.skillmd.com/api/skills/felinics/bun-development/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: felinics (https://skillmd.com/u/felinics)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/felinics/bun-development

---


# Bun Development

## Project conventions
Inspect `package.json`, Bun configuration, lockfiles and repository instructions. Use Bun when the project already uses it or the user selected it. Do not convert npm/pnpm projects merely because Bun is installed.

## Workflow
Check `bun --version`. Install a locked checkout with `bun install --frozen-lockfile`. Use `bun run <script>` for existing scripts and `bun test` when the project uses Bun's test runner. Use project-pinned packages when invoking tools through bunx.

## Validation
Bun executing TypeScript does not replace static type checking. Run the project's typecheck and build scripts as well as relevant tests. Check compatibility with the actual production runtime if it differs from Bun.

Reference: https://bun.sh/docs

