Docs / Agent
Workflows & slash-commands.
What are workflows?
Workflows are step-by-step instruction files that the agent follows when you invoke a slash-command. They are stored as Markdown files in .rabbit-ide/workflows/ (or .devin/workflows/).
File format
--- description: Deploy the application to staging --- 1. Run the test suite: `npm test` 2. Build the production bundle: `npm run build` 3. Deploy to staging: `./deploy.sh staging` 4. Verify the deployment by opening https://staging.example.com
Using a workflow
In the chat panel, type /deploy to run the workflow defined in .rabbit-ide/workflows/deploy.md. The agent reads the file and executes each step, asking for confirmation on destructive operations.
Turbo mode
Add a // turbo comment above a step to let the agent auto-run it without confirmation. Only safe for non-destructive commands.
1. Install dependencies // turbo 2. Create the build directory 3. Run the migration (requires approval)
Built-in slash-commands
/test-- run the project test suite/lint-- run linter and fix issues/deploy-- deploy using project workflow/review-- review staged changes/explain-- explain the current file or selection
Custom workflows override built-ins. Place your file in the workflows directory with the matching name.