skills/bun-script/SKILL.md
Use when writing a TypeScript script with Bun. Covers the template, conventions, and required patterns.
npx skillsauth add LandonSchropp/agent-toolkit bun-scriptInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Start from the template at assets/template.ts. Copy it exactly and fill in the specific logic.
<name>.ts with kebab-case (e.g., extract-pr-number.ts)chmod +x)--flag-name (kebab-case). Only use positional args for very simple cases.outputDirectory, not output_directory)directory, not dir)0 for success, 1 for errors#!/usr/bin/env bun shebangcleye for argument parsing (auto-generates --help and separates unknown flags into argv.unknownFlags)Error: and go to stderr via console.errorError: The option --<option> is invalid.argv.showHelp() to print help after error messagesprocess.exit(1) on errortools
Use when a finished, reviewed branch is committed and needs to be merged into the default branch in a repo that integrates directly to `main` (not via pull request).
tools
Use when working with a stack of GitHub pull requests — creating branches, keeping the stack in sync, or merging in order. Covers Git Town setup, PR targeting, rebasing, and landing the stack.
tools
Use when writing or modifying tests in a Bun project
tools
Use when publishing or releasing a new version of an npm/pnpm/yarn/bun package to the registry. Covers package-manager detection, semver bump selection, tagging, pushing, scoped-package access, authentication, and one-time passwords (OTP).