Skip to main content

bunjs

Bun and TypeScript toolkit. A /bunjs:bun index routes any task to the right one of eight task-shaped skills — setup, HTTP, errors, testing, security, production, performance, TUI — each shipping copyable code verified against Bun. Only Bun is tested.

Version0.4.1
Marketplacemagus
Commands9
Subagents0
Skills9
MCP serverno
Hooksno

Install

claudeup

Find bunjs on the Plugins tab and turn it on. claudeup registers the magus marketplace if you do not have it, and installs what the plugin needs to actually run — binaries, MCP servers, CLI tools.

For a team, press s to save your plugins as a profile and commit it. Everyone else runs claudeup install — see Teams and profiles.

Prefer to do it by hand? Installing Magus has the manual path.

How to run these: Bun and TypeScript tasks — what to type, what it asks you, and which options change the outcome.

Commands

CommandWhat it does
/bunjs:bunRoute a Bun/TypeScript task to the right bunjs skills. Loads the index, reads only what the task needs, then does the work.
/bunjs:errorsAdd or review error handling and resilience in a Bun/TypeScript service. Loads the errors skill, then works the task through its workflow.
/bunjs:http-serviceBuild, review or debug a Bun HTTP service. Loads the http-service skill, then works the task through its workflow.
/bunjs:performanceDiagnose or fix Bun/TypeScript performance. Loads the performance skill, then works the task through its workflow.
/bunjs:productionPrepare a Bun service for production. Loads the production skill, then works the task through its workflow.
/bunjs:project-setupStart or restructure a Bun/TypeScript project. Loads the project-setup skill, then works the task through its workflow.
/bunjs:securityHarden or security-review a Bun/TypeScript service. Loads the security skill, then works the task through its workflow.
/bunjs:testingWrite, fix or review Bun tests. Loads the testing skill, then works the task through its workflow.
/bunjs:tuiBuild, review or debug an OpenTUI terminal UI. Loads the tui skill, then works the task through its workflow.

Skills

How you get it
Claude can reach for it on its own
You invoke it by name

Why a skill lands in one row or another

SkillWhat it covers
bunjs:bunRouter for the eight Bun/TypeScript skills — setup, HTTP, errors, testing, security, production, performance, TUI. Says which to read for a task, without loading them. Any Bun or TS work.
bunjs:errors4 more docsError handling and resilience for Bun/TypeScript — operational vs programmer errors, AppError hierarchy, centralized handler, boundary validation, timeout/retry/circuit breaker.
bunjs:http-serviceBuild or review a Bun HTTP service — Bun.serve declarative routes, middleware composition, request context, status/ETag/streaming helpers, graceful lifecycle.
bunjs:performanceDiagnose and fix Bun/TypeScript performance — event-loop blocking, measured native fast paths, benchmarking that does not lie, streaming, caching, workers, memory.
bunjs:productionShip a Bun service — graceful shutdown ordering, structured logging, liveness vs readiness, multi-stage Docker, signals and PID 1, frozen lockfiles, CI.
bunjs:project-setupStart or restructure a Bun/TypeScript project — folder structure by business component, strict tsconfig, typed env config, workspaces and catalogs, bunfig, linting.
bunjs:securityHarden or review a Bun/TypeScript service — secrets, password and token handling, SQL injection, authn/authz, rate limiting, CORS and security headers, dependency audit.
bunjs:testing4 more docsWrite and fix Bun tests — bun:test surface, component tests over HTTP, doubles, coverage gating, flake control. Ships a tested harness, fake upstream and builders.
bunjs:tui30 more docsBuild, review, or debug OpenTUI terminal UIs — React JSX or core constructs, Yoga flexbox, gradient meters, colour screenshots. Any Bun/TypeScript TUI. Only Bun is tested;

Source

plugins/bunjs/ on GitHub, including its full README.