Learn how to transform a multi-step, interactive AI workflow into a single, executable bash script using Cursor's "rules," MCP tools, and the command line.