bun-script

Automate Bun-based TypeScript script setup with a standard template and cleye argument parsing.

1|Updated Sep 1, 2025
One-click install
npx skills add https://github.com/LandonSchropp/agent-toolkit --skill bun-script
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bun-script
Source: https://github.com/LandonSchropp/agent-toolkit/tree/main/skills/bun-script
Command: npx skills add https://github.com/LandonSchropp/agent-toolkit --skill bun-script

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

Writing Bun-based TypeScript scripts often requires boilerplate setup and consistent conventions. This Skill provides a reusable template and a defined set of patterns to accelerate script development while enforcing best practices.

Core Features & Use Cases

  • Provides a starter template at assets/template.ts for Bun-powered TypeScript scripts.
  • Enforces conventions: kebab-case filenames, executable scripts, and clear flag handling using cleye.
  • Use Case: rapidly scaffold small tooling utilities that run under Bun with predictable behavior.

Quick Start

Create a new Bun script from the provided template and implement your logic.

Frequently Asked Questions about bun-script

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a Bun TypeScript script with standard conventions?

You can scaffold a Bun TypeScript script using a provided template that enforces kebab-case filenames, executable scripts, and clear flag handling using cleye for rapid prototyping.

What is the best way to set up argument parsing in a Bun script?

The best way to set up argument parsing in a Bun script is using cleye, which this Skill's template integrates to enforce clear flag handling and consistent script patterns across projects.

Do I need to manually add a shebang to my Bun TypeScript script?

No, you do not need to manually add a shebang to your Bun TypeScript script. The Skill automates the setup of the Bun-script workflow, satisfying requirements including the shebang and explicit error handling.

Can I use this template for rapid prototyping and small tooling utilities?

Yes, you can use this template for rapid prototyping and small tooling utilities. The Skill is applicable to building small tooling that runs under Bun with predictable behavior and consistent script patterns.

Why should I use a template for Bun scripting instead of writing from scratch?

Writing Bun-based TypeScript scripts from scratch requires boilerplate setup. Using a template enforces best practices, accelerates script development, and ensures explicit error handling across multiple projects.