Script

Use when creating a new command-line script or standalone executable from scratch. Covers language selection and defers to a language-specific skill for conventions and templates.

LandonSchropp Updated 1 repo stars

File contents

Choose the language

Pick the language that makes the task simplest:

  • Bash: orchestrating CLI tools (git, grep, jq, curl) and piping commands. Avoid when logic grows complex or you need data structures.
  • Ruby: file parsing and text manipulation, especially with regular expressions. Rich standard library with no dependencies.
  • Bun/TypeScript: external NPM packages, complex data transformation, or type safety. Use when correctness matters.

The best choice is the one that's simplest for the job.

Next steps

Once you've picked a language, follow its skill:

  • REQUIRED: Use the ls-scripting:bash-script skill for Bash
  • REQUIRED: Use the ls-scripting:ruby-script skill for Ruby
  • REQUIRED: Use the ls-scripting:bun-script skill for Bun/TypeScript

LandonSchropp/agent-toolkit/tree/main/plugins/ls-scripting/skills/script commit 10a507811a

Frequently asked questions

npx skillmds@latest add landonschropp/script