Create Reusable Slash Commands for Frequent Workflows
Turn repetitive multi-step AI tasks into permanent, reusable slash commands.
Save complex AI workflows as custom slash commands to eliminate repetitive prompting and streamline your daily development routine.
The Scenario
You frequently perform the same sequence of setup or maintenance tasks, such as generating a daily summary of Git changes and publishing them to a internal channel.
Before & after
Repeating the same developer workflows (like running linting, tests, and then a build) requires typing the same commands manually every time, taking 5–10 minutes daily.
Define a sequence of actions once, then save them as a custom slash command. Executing the reusable workflow takes less than 1 minute.
The Prompt
/save-workflow [WORKFLOW_NAME] [SEQUENCE_OF_STEPS_OR_LAST_ACTION]
Introduced in v0.19.2, this feature allows users to convert successful workflows into permanent, shorthand commands within the Qwen Code terminal environment.
Source
Qwen Code Blog: AI Coding Updates and Guides | Qwen Code Docs"workflows can be saved as slash commands and reused, and the UI got a major slim-down."
