bun-test-fix

Community

Align Bun test files with AGENTS.md rules.

Authorryan-mahoney
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Fixes test files to comply with Bun test rules defined in AGENTS.md, eliminating common pitfalls in test suites.

Core Features & Use Cases

  • Audit a target test file against AGENTS.md Test Rules and rewrite it to use bun:test, replacing legacy assertion libraries and modernizing mocks with deps injection when supported.
  • Ensure deterministic, robust tests by removing mock leakage and aligning with Bun's testing conventions across JavaScript/TypeScript projects.

Quick Start

Audit a specified test file to rewrite it for Bun tests and proper deps-injection where applicable.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: bun-test-fix
Download link: https://github.com/ryan-mahoney/ryan-llm-skills/archive/main.zip#bun-test-fix

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.