Save and Reuse Frequent Workflows as Slash Commands
Convert complex multi-step prompts into reusable slash commands.
Save time on repetitive prompts by turning successful workflows into custom slash commands that can be invoked with a single word.
The Scenario
You frequently perform the same sequence of actions, such as generating e-commerce marketing copy and publishing it to WeChat.
Before & after
You manually type long instructional prompts every time you need the AI to perform a specific multi-step task, such as 'clean up imports, then write a test file.' (Time cost: 3–5 minutes per instance)
Define a custom slash command for your recurring task, then trigger it instantly whenever needed. (Time cost: 1 minute for one-time setup; 5 seconds to reuse)
The Prompt
/save [COMMAND_NAME] [INSTRUCTIONS_FOR_WORKFLOW]
Qwen Code now allows saving complex agentic workflows as custom slash commands, effectively creating 'macros' for your coding AI.
Source
Qwen Code Blog: AI Coding Updates and Guides | Qwen Code Docs"workflows can be saved as slash commands and reused"
