safe-terminal-runner
Installation
SKILL.md
Terminal & Script Execution Rules
When executing scripts or database operations that contain complex logic, environment variables, or special characters (such as single/double quotes, parentheses, %, $, etc.) in Node.js or Python, you MUST strictly adhere to the following rules:
🚫 PROHIBITED
- NEVER use inline single-line scripts like
node -e "..."orpython -c "..."to execute complex logic. - NEVER construct complex strings containing SQL queries, JSON parsing, or intricate regular expressions directly within terminal commands. This prevents escaping errors and command alias conflicts in environments like Windows PowerShell or Bash (e.g., misinterpreting
%asForEach-Object).
✅ MANDATORY PROCESS
When you need to run one-off scripts (e.g., updating database schemas, migrating data, testing APIs), you must follow this workflow: