Compute Over Bash

Reach for the `compute` tool (sandboxed JavaScript) instead of shelling out to `python3 -c`, `node -e`, `bc`, `expr`, or `jq` whenever the task is pure calculation or data transformation - arithmetic, big-number math, base/radix conversion, date math, string/regex work, reshaping JSON, hashing (sha256), base64, or UTF-8 byte work. Skip it - and use bash - the moment the task needs files, network, environment, subprocesses, or anything asynchronous.

weikinhuang 5406bc7 3.9 KB Updated

File contents

weikinhuang/dotfiles/tree/main/config/pi/skills/compute-over-bash commit 5406bc79bb

Frequently asked questions

npx skillmds@latest add weikinhuang/compute-over-bash