Skip to content

Commit f57ec31

Browse files
authored
Merge pull request #564 from mulesoft/W-20925734-rules-workflows-examples-fa
W-20925734-rules-workflows-examples-fa
2 parents d8471d7 + 846d6b7 commit f57ec31

1 file changed

Lines changed: 29 additions & 11 deletions

File tree

modules/ROOT/pages/a4d-workflows-commands.adoc

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,59 @@
11
= Workflows and Rules
22

3-
Rules and Workflows allow developers to customize how MuleSoft Dev Agent operates within their project.
3+
Rules and Workflows allow developers to customize how Mulesoft Vibes operates within their project.
44

5-
== Add Workflows and Rules
6-
7-
Rules Define natural-language constraints or guidelines for how Dev Agent should generate content.
5+
Rules Define natural-language constraints or guidelines for how Mulesoft Vibes should generate content.
86

97
You can use rules to enforce naming conventions, ensure consistent error handling, or maintain coding standards across your workspace.
108
Rules can be defined at two levels:
119

12-
* *Global* – Applies to all prompts sent to Dev Agent.
10+
* *Global* – Applies to all prompts sent to Mulesoft Vibes.
1311
1412
* *Workspace* – Applies only to the active workspace.
1513
1614
Workflows create predefined multi-step tasks that Dev Agent executes automatically.
1715

18-
Workflows let you streamline repeated development steps and can be triggered using slash commands (for example, `/workflow-name`) in the Dev Agent panel.
16+
Workflows let you streamline repeated development steps and can be triggered using slash commands (for example, `/workflow-name`) in the Mulesoft Vibes panel.
1917

20-
=== Add rules or workflows
18+
== Add Workflows or Rules
2119

22-
. Open MuleSoft Dev Agent in the sidebar.
20+
. Open MuleSoft Mulesoft Vibes in the sidebar.
2321
. Select *Settings*.
2422
. In the *Rules and Workflows* section, choose whether you want to add a rule or a workflow.
2523
. Select *Add Rule* or *Add Workflow*.
2624
. Provide the required information:
27-
* For rules, enter the natural-language instruction you want Dev Agent to follow.
25+
* For rules, enter the natural-language instruction you want Mulesoft Vibes to follow.
2826
* For workflows, enter a name, an optional description, and the steps the workflow should run.
2927
. Select *Save*.
3028

3129
You can edit or delete existing rules and workflows from the same section.
3230

31+
=== Rule examples
32+
33+
You can use rules to guide how Mulesoft Vibes generates or validates content. For example:
34+
35+
* *Naming convention rule*: Instruct Mulesoft Vibes to ensure that all API names follow your organization’s naming standards.
36+
37+
* *Validation rule*: Require that every API specification includes version information before generating related files.
38+
39+
* *Security rule*: Ask Mulesoft Vibes to flag endpoints that expose sensitive data without authentication.
40+
41+
==== Workflow examples
42+
43+
Workflows define a sequence of steps that Mulesoft Vibes executes to complete a task. For example:
44+
45+
* *API design validation workflow*: Validate an API specification, check naming conventions, verify security requirements, and generate a summary of issues.
46+
47+
* *API creation workflow*: Generate an API specification, apply validation rules, suggest improvements, and save the final version to the workspace.
48+
49+
* *Troubleshooting workflow*: Analyze an error, identify the root cause, propose a fix, and update the configuration if needed.
50+
3351
== Add Commands
3452

35-
Commands provide quick shortcuts for interacting with MuleSoft Dev Agent.
53+
Commands provide quick shortcuts for interacting with Mulesoft Vibes.
3654
You can invoke any command by typing `/` in the prompt input box.
3755

38-
Dev Agent includes several built-in commands:
56+
Mulesoft Vibes includes several built-in commands:
3957

4058
* `/newrule` — Create a new rule based on the current conversation.
4159
* `/newchat` — Start a new chat that carries over context from your current task.

0 commit comments

Comments
 (0)