/fuse-typescript:ts-runtime-bunfrom fuse-typescript
Runs TypeScript natively on Bun 1.4.x: bunfig.toml config, bun test (Jest-compatible), Bun.build/--compile bundling, and workspaces monorepos. Covers Bun-vs-Node tradeoffs; type-check separately with tsc --noEmit.
Ships in fuse-typescript. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
It also covers the Bun-vs-Node tradeoff — Bun runs .ts/.tsx natively with no transpile step and does not down-convert modern syntax, but neither its runtime nor bundler perform type checking, so tsc --noEmit stays in CI regardless.
Out of scope: Node.js runtime setup (native type stripping, node:test) belongs to ts-runtime-node; tsconfig details belong to ts-config.
Before ANY implementation, spawn 3 agents in parallel, one Agent call each with a name:
package.json, bunfig.toml, tsconfig.jsonAfter implementation, run fuse-ai-pilot:sniper for validation.
.ts/.tsx directly on Bun with no separate transpile stepbunfig.toml ([test] coverage thresholds, JUnit reporter, preload)Bun.build / bun build, or producing a --compile single-file binarynode:test → use ts-runtime-node.ts/.tsx natively - Its transpiler handles TS + JSX with no config; unlike Node, .tsx, enum, and decorators work at runtime.tsc typechecking.bunfig.toml is Bun-only - It complements, never replaces, package.json and tsconfig.json; CLI flags override bunfig values.bun test is Jest-compatible - Import from bun:test; not every Jest feature is implemented.tsc --noEmit (or bun x tsc) in CI; Bun's runtime and bundler do no type checking.monorepo/
├── package.json # "workspaces": ["packages/*"]
├── bunfig.toml # [test] coverage + [test.reporter] junit
├── bun.lock
├── tsconfig.json
└── packages/
├── core/ # bun:test, Bun.build
└── cli/ # bun build --compile → binary
→ See bun-project-setup.md for a complete setup
| Topic | Reference | When to Consult |
|---|---|---|
| bunfig + test | bunfig-test.md | Coverage thresholds, JUnit, preload, watch |
| Build + compile | build-compile.md | Bun.build, single-file executables, cross-compile |
| Workspaces | workspaces.md | Monorepo layout, workspace:*, --filter, catalogs |
| Bun vs Node | references/bun-vs-node.md | Choosing a runtime; transpiler differences |
| Template | When to Use |
|---|---|
| bun-project-setup.md | Starting a Bun TS project or monorepo |
bunfig.toml for CIbun test --coverage and --reporter=junit --reporter-outfile in pipelines--compile --target= to cross-compile CLIs for other platformsbun build as a typechecker — run tsc --noEmit alongside ittsconfig settings into bunfig.toml — Bun reads tsconfig directlyWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
7 skills in this plugin
/ts-configUse when creating or migrating a tsconfig.json, choosing module/moduleResolution, or fixing TS 6.0 deprecations that are hard errors in TS 7.0. Not for language syntax (ts-language-patterns)./ts-language-patternsUse when writing or reviewing modern TS syntax — const type parameters, using/await using, standard decorators, satisfies, or LLM anti-patterns (legacy enum/namespace). Not for tsconfig (ts-config)./ts-lint-formatUse when choosing or configuring a TS linter/formatter — Biome 2.x vs ESLint 10 flat config + typescript-eslint typed linting. Not for type checking itself (ts-config).npx claudepluginhub fusengine/claude-plugins --plugin fuse-typescriptOther plugins' skills for the same job