Agent Skills: ts-skill

Runs a TypeScript file directly with Bun

UncategorizedID: darrenhinde/Opencode-skills-example/ts-skill

Install this agent skill to your local

pnpm dlx add-skill https://github.com/darrenhinde/Opencode-skills-example/tree/HEAD/.opencode/skill/ts-skill

Skill Files

Browse the full folder contents for ts-skill.

Download Skill

Loading file tree…

.opencode/skill/ts-skill/SKILL.md

Skill Metadata

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