Customization
Workflows
Workflows are reusable Markdown task templates. Save any multi-step process once, then invoke it with a slash command.
What Are Workflows?
A workflow is a .md file that describes a sequence of steps for DevcoreAI to follow. Unlike Rules (which are always-on instructions), workflows are invoked on demand via a slash command.
Good candidates for workflows: deployment checklists, PR preparation, database migration steps, release preparation, code review processes.
Where Workflows Live
Project workflows
.clinerules/workflows/Committed to version control — shared with your whole team.
Global workflows
~/Documents/DevcoreAI/Workflows/Personal workflows available across all projects.
Invoking a Workflow
A workflow file named deploy.md becomes available as /deploy. Type / in the chat input to see all available workflows alongside built-in commands.
Workflow Structure
A workflow is a plain Markdown file. Use headings for steps and natural language to describe what the agent should do at each stage. You can include specific commands, file paths, or examples.
.clinerules/workflows/release.md
/release# Release Preparation ## Step 1: Run the full test suite Execute all tests and report any failures. Do not proceed if tests fail. ## Step 2: Check for type errors Run TypeScript compilation and fix any type errors found. ## Step 3: Build for production Run the production build and verify it completes without errors. ## Step 4: Summarize changes Use /explain-changes to generate a summary of all changes since the last release tag. ## Step 5: Update CHANGELOG.md Add a new entry at the top of CHANGELOG.md with today's date and the change summary from Step 4.
What Workflows Can Do
Natural language
Describe goals in plain English. The agent decides how to accomplish them.
Terminal commands
Reference exact commands like npm run build to ensure reproducibility.
Other slash commands
Workflows can reference built-in commands like /explain-changes.
MCP tools
Trigger MCP server actions as part of the workflow steps.
Creating a Workflow
- 1Open the Workflows panel from the DevcoreAI sidebar menu
- 2Click + New Workflow and give it a name (this becomes the slash command)
- 3Write the steps in Markdown — use headings for each stage
- 4Save the file; it immediately becomes available as /workflow-name