Workflows
The Workflows panel (devManager.workflowsView) runs repeatable pipelines without leaving the editor: lint/test/deploy scripts, Claude-powered review steps, visual regression baselines, and coverage thresholds.
Requirements
- Open a SnakeFlow project (workspace folder with
devManager.project.*configured). - For AI steps: set
devManager.workflows.anthropicApiKey(or use the environment your Claude CLI expects) and pick a model via SnakeFlow: Select AI Model. - For browser / Lighthouse / visual steps: dev servers and URLs configured in workflow definitions or project settings.
Sidebar
Activity Bar → SnakeFlow → Workflows. Title-bar actions (when available):
- New Custom Workflow — define steps in settings (
devManager.workflows.custom). - Test Branch Changes — run checks against the current branch diff.
- Stop / Show Workflow Logs while a run is active.
Custom workflows
Store definitions in workspace settings:
"devManager.workflows.custom": [ { "id": "smoke", "label": "Smoke test", "steps": [ { "type": "command", "command": "npm run lint" }, { "type": "command", "command": "npm test -- --run" } ] }]Run from the tree (Run Custom Workflow) or Command Palette. See All settings — Workflows for timeouts, coverage minimums, visual tolerance, test accounts, and viewport flags.
Built-in workflow types
| Area | What it does |
|---|---|
| AI review | Sends branch context to Claude with cost/watchdog limits (maxCostUsd, watchdogSeconds). |
| Visual regression | Captures screenshots per viewport; compare against corpus (Open Regression Corpus / Prune Regression Corpus). |
| Coverage gate | Fails the run when coverage is below devManager.workflows.minCoverage. |
| Deploy CI | SnakeFlow: Deploy CI Workflow (GitHub Actions) — scaffold or update workflow files. |
Headless CLI
The packaged snakeflow-workflow-run binary (see extension bin/) can execute workflows from CI or a terminal when the VS Code UI is not available.
Related
- Command palette — Workflows
- Configuration — Workflows
- Quality Hub — batch checks via
Ctrl+Alt+F(complementary to workflow pipelines)