bun-validator

Validate Bun workspace configuration and detect monorepo issues.

2|1|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/genfeedai/genfeed.ai --skill bun-validator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bun-validator
Source: https://github.com/genfeedai/genfeed.ai/tree/main/.agents/skills/bun-validator
Command: npx skills add https://github.com/genfeedai/genfeed.ai --skill bun-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Bun workspace configuration often suffers from misconfigurations in monorepos, leading to non-deterministic installs and hidden issues. This Skill provides automated checks and guidance to ensure Bun setups are healthy and predictable across multiple workspaces.

Core Features & Use Cases

  • Validates Bun version and catalog usage to enable centralized version control
  • Checks root and workspace configurations, lockfile placement, and local dependency declarations to enforce best practices
  • Produces actionable fixes and guidance for CI pipelines and monorepo maintenance

Quick Start

Run the validator from the repository root to scan your Bun workspace configuration.

Frequently Asked Questions about bun-validator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate my Bun workspace configuration in a monorepo?

You can validate Bun workspaces by running the validator from the repository root. It checks root package.json workspace definitions, lockfile placement, and local dependency declarations to enforce best practices and prevent non-deterministic installs.

Why does my Bun monorepo have non-deterministic installs?

Non-deterministic installs in a Bun monorepo usually result from misconfigured workspace settings. The validator detects these issues by checking local dependency declarations and ensuring they use the workspace protocol with optional catalogs for centralized version control.

Does Bun 1.3 catalog usage work with workspace protocol dependencies?

Yes, Bun 1.3+ supports catalogs for centralized version control alongside the workspace protocol. The validator checks your Bun version and catalog usage to ensure local workspace dependencies are correctly declared and aligned with these features.

Can I audit existing Bun workspaces for CI pipeline issues?

Yes, you can audit existing Bun workspaces for CI pipelines. The validator produces actionable fixes and guidance for monorepo maintenance, ensuring your Bun setup is healthy and predictable across continuous integration environments.

What are common lockfile placement issues in Bun workspaces?

Common lockfile placement issues in Bun workspaces involve incorrect file locations that disrupt dependency resolution. The validator scans lockfile placement during its workspace configuration check to detect these hidden issues and ensure predictable installs.

Do I need Bun installed before validating workspace configurations?

Yes, Bun must be installed before validating workspace configurations. The validator explicitly ensures Bun is installed on your system before proceeding to check root package.json definitions and local workspace dependency declarations.