Back to library
AI
tutorial

Create Custom Slash Commands to Reuse Your Workflows

Turn repetitive multi-step AI workflows into reusable commands.

Save your frequent multi-step AI workflows as custom slash commands to automate recurring marketing or coding rituals.

Qwen

The Scenario

You frequently perform a specific sequence of actions, such as generating an article cover in four styles or publishing code summaries to a specific channel.

Before & after

The old way

You manually type out long, multi-step prompts or shell commands every time you need to generate images or marketing copy. This repetitive task takes 5–10 minutes each time.

With AI

Define the workflow once and save it as a custom slash command for instant reuse. Future execution takes only seconds.

The Prompt

/save-workflow [NAME_OF_COMMAND] [DESCRIPTION_OF_STEPS_TAKEN]

Qwen Code allows you to save successful multi-step workflows as personalized slash commands, essentially creating a library of custom 'skills' for recurring tasks.

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."