ts-skill

直接使用Bun运行TypeScript文件

📖 中文导读:直接使用Bun运行TypeScript文件 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: ts-skill description: Runs a TypeScript file directly with Bun

What I do

I demonstrate how to run TypeScript files directly as skills using Bun.

How to use me

Run the TypeScript file from my base directory:

cd {base_directory}
bun run example.ts

This demonstrates:

  • ✅ Skills can use any language (TypeScript, Python, Bash, etc.)
  • ✅ Bun can execute TypeScript directly without compilation
  • ✅ TypeScript skills are fast and simple
  • ✅ Full type safety with TypeScript