agentsclimarketplace

Bun workspace

Skill theseus-run/theseus/.agents/skills/bun-workspace

the harness rebuilds itself — agents rewrite agents, skills replace skills.

Install
npx -y skills add theseus-run/theseus --skill bun-workspace

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when working with Bun package management, Bun workspaces, bun.lock, package scripts, Bun runtime APIs, Bun build commands, or Node/npm-to-Bun command translation in this repo.

SKILL.md

2.6 KB, as published. Nobody here has run it

Bun Workspace

Use this skill for Bun runtime and workspace operations.

Repo Facts

  • Package manager: Bun.
  • Workspace root: package.json with workspaces: ["packages/*"].
  • Lockfile: bun.lock; do not hand-edit it.
  • Root scripts:
    • bun run lint
    • bun run test
    • bun run typecheck
    • bun run effect:diagnostics
    • bun run effect:ls:check
    • bun run effect:ls:patch
  • Package-local scripts exist under packages/*/package.json.

Root Scripts

  • bun run effect:diagnostics - Effect language-service diagnostics for configured non-web packages.
  • bun run effect:ls:check - check whether local TypeScript is patched for Effect diagnostics.
  • bun run effect:ls:patch - patch local TypeScript so Effect diagnostics surface through build-time checks.
  • bun run lint - Biome check.
  • bun run test - Bun tests.
  • bun run typecheck - TypeScript checks for the configured packages.

Command Rules

  • Read the relevant package.json before running scripts.
  • Prefer existing scripts over raw binaries.
  • Use bun run <script> for scripts.
  • Use bunx <tool> only when no script exists and the tool is already an intended dev tool.
  • Use bun add, bun add -d, and bun remove for dependency changes.
  • Use workspace dependencies as workspace:* for local packages.
  • Do not introduce npm, pnpm, yarn, or npx commands unless the user explicitly asks.

Workspace Rules

  • Run broad checks from the root when cross-package types or exports changed.
  • Run package-local scripts when the change is isolated and the package has the script.
  • Keep package exports aligned with source entrypoints.
  • Do not edit generated dist/ output unless the task explicitly requires build artifacts.
  • If dependency installation or update is needed, expect bun.lock to change.

Bun Runtime APIs

  • Use Bun-native APIs when the package already targets Bun:
    • Bun.file / Bun.write for simple file IO.
    • Bun.spawn for subprocesses.
    • bun:sqlite for SQLite.
  • Normalize Bun API failures at the boundary; do not leak raw foreign errors through domain code.
  • Keep browser-safe packages free of Bun-only APIs.

Verification

  • Package manager or workspace changes: bun install --frozen-lockfile if checking lockfile integrity.
  • Cross-package TypeScript changes: bun run typecheck.
  • Script or runtime changes: run the relevant package script first, then root checks if the change crosses packages.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.