You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/refguide/mendix-ai-assistance/maia-make/maia-agent-skills.md
+25-4Lines changed: 25 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,15 +21,19 @@ Instead of typing the same context into every chat, you define agent skills once
21
21
22
22
Use agent skills to equip Maia with the domain knowledge and conventions it needs, whether those are company-wide standards or team-specific workflows. For example, a skill capturing your company's Mendix naming conventions means Maia applies them consistently whenever it generates entities, attributes, or microflows without you having to mention them each time.
23
23
24
+
Since Studio Pro 11.12, Maia supports not only project-level skills, but also skills for all application (non-protected) modules. These skills are exportable together with the module in which they are contained
25
+
and can help you split your skills better.
26
+
24
27
For guidance on writing effective skills, see [Best Practices for Skill Creators](https://agentskills.io/skill-creation/best-practices) and [Optimizing Skill Descriptions](https://agentskills.io/skill-creation/optimizing-descriptions) in the [Agent Skills documentation](https://agentskills.io/).
25
28
26
29
## Creating an Agent Skill {#creating-a-skill}
27
30
28
31
To create a new agent skill in Studio Pro, follow these steps:
29
32
30
-
1. In the **App Explorer**, expand **Maia** > **skills**.
31
-
2. Right-click **skills** and click **Add** > **Skill**.
32
-
3. Enter a name for the skill.
33
+
1. In the **App Explorer**, find either the **Maia** node under **App** for project-level skills, or **Maia** node under a module if you wish to add skills for a module.
34
+
1. Expand this node to **Maia** > **skills**.
35
+
1. Right-click **skills** and click **Add** > **Skill**.
36
+
1. Enter a name for the skill.
33
37
34
38
Studio Pro creates the `SKILL.md` file. You can continue adding the skill content.
35
39
@@ -60,6 +64,8 @@ The `name` field must match the skill's parent directory name exactly. A mismatc
60
64
61
65
Skills are stored in the `skillssource/` directory at the root of your application directory. You can also manage skills directly in the file system, for example, to copy in skills from another project. After making changes in the file system, go to **App** > **Synchronize App Directory** (keyboard shortcut: <kbd>F4</kbd>) to make the changes visible in Studio Pro.
62
66
67
+
Project-level skills are stored directly under `skillssource` directory:
68
+
63
69
```
64
70
skillssource/
65
71
your-skill/
@@ -69,13 +75,26 @@ skillssource/
69
75
NOTES.md
70
76
```
71
77
78
+
Skills for particular modules are stored under `_modules` subdirectory:
79
+
80
+
```
81
+
skillssource/
82
+
_modules/
83
+
<module_name>/
84
+
your-skill/
85
+
SKILL.md
86
+
references/
87
+
GLOSSARY.md
88
+
NOTES.md
89
+
```
90
+
72
91
## Adding Reference Files {#reference-files}
73
92
74
93
Reference files let you keep your skill focused by moving supplementary content into separate documents, such as a glossary of domain terms, a data dictionary, or detailed architecture notes. Maia accesses reference file content on demand, only when relevant to your request.
75
94
76
95
To add a reference file to a skill, follow these steps:
77
96
78
-
1. In the **App Explorer**, under **Maia** > **skills**, right-click the skill you want to add a reference to.
97
+
1. In the **App Explorer**, under **Maia** > **skills** (either under **App** or for a particular module), right-click the skill you want to add a reference to.
79
98
2. Click **Add** > **Reference**.
80
99
3. Enter a name for the reference file.
81
100
@@ -85,6 +104,8 @@ For more information on how skills and reference files load, and when they apply
85
104
86
105
At the start of each chat session, Maia becomes aware of all agent skills in your project. As you work, Maia picks up the relevant skill content automatically. You do not need to reference or invoke skills explicitly.
87
106
107
+
Make sure to provide informative description of a skill as this is the only information Maia uses to decide whether to read your skill.
108
+
88
109
If you add or edit a skill while a session is active, those changes take effect the next time you start a chat.
0 commit comments