script-rules
Installation
SKILL.md
Script Rules
Rule (CRITICAL)
When creating scripts, follow this priority order:
- First choice: Shell script one-liners
- Second choice: TypeScript with Deno (only when variables or complex branching are necessary)
- Prohibited: Node.js and Python
Decision Flow
- Can it be done with a shell one-liner? -> Use shell script
- Does it need variables or complex logic? -> Use TypeScript with Deno (execute with
deno run <file>) - Never use Node.js or Python
Shebang (REQUIRED)
All script files MUST include a shebang line. This ensures scripts are executable with the correct interpreter.
Related skills