/run-workflow?
A workflow is a predefined sequence of instructions or tasks designed to accomplish a particular objective.
The /run-workflow command is intended to execute an existing workflow rather than asking the AI to figure out every step from scratch.
In simple words: Create a reusable process once and execute it whenever required.
For example, imagine you regularly need to:
- Analyze Laravel code.
- Find potential bugs.
- Run automated tests.
- Review code quality.
- Generate a development report.
Instead of explaining these steps every time, you can organize them into a reusable workflow.
Practical example: Laravel application audit
Suppose you want to audit your Capscom Laravel application.
Use:
This is a particularly good use case because many files can be reviewed independently.
Can we reuse workflows?
Important feature
Yes. You can ask Antigravity to save a generated workflow script in your project.
For example:
Later, you can execute it again:
This makes repeated development processes easier to automate.
Practical exercise
Try this prompt in your Antigravity project: