A collection of universal AI workflow patterns for Windsurf IDE. These workflows help AI agents work more effectively by providing structured approaches to common development tasks.
Run the following command in your terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/theplant/global_workflows/HEAD/install.sh)"This will install the workflows to ~/.codeium/windsurf/global_workflows.
Apply systematic root cause analysis when debugging. This workflow ensures problems are traced backward through the call chain to find the original trigger, rather than applying superficial fixes that mask symptoms.
Key principles:
- Trace problems backward through the call chain
- Fix the source, not the symptom
- Never give up on complex issues
- Write failing tests before fixing bugs
A universal pattern where AI owns the full feedback loop: writing automated checks first, implementing to satisfy them, and iterating until all validations pass.
Key principles:
- Define objective success criteria before writing code
- Automated checks must complete in under 30 seconds
- Iterate until all checks pass
- Never present code that "might work"
In Windsurf, type the workflow name as a slash command:
/theplant.root-cause-tracing
or
/theplant.self-correction-loop
The AI will then follow the structured workflow to complete your task.
To remove the workflows:
rm -rf ~/.codeium/windsurf/global_workflowsMIT License - see LICENSE for details.