Skip to content

Commit c6eada6

Browse files
committed
fix: correct link instructions in SKILL.md for fetch_data and mutate_data
1 parent 9ec6183 commit c6eada6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

custom/skills/fetch_data/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ To find specific data record you should use filters. ILIKE filters are preferred
1212

1313
For long texts show only several first words and add "..." at the end (only if user did not request this field specifically).
1414

15-
Also when you communicate with user about record, add related link to this record. For example /{BASE_URL}/resource/{resourceId}/show/{primary key}. Use _label from `get_resource_data` as anchor text for link (use markdown link).
15+
Also when you communicate with user about record, add related link to this record. For example /{BASE_URL}/resource/{resourceId}/show/{primary key}. Use _label from `get_resource_data` as anchor text for link (use markdown link). Links shoudl be always relative path, starting with slash.

custom/skills/mutate_data/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ Use `start_custom_action` and `start_custom_bulk_action` for resource actions.
2121
Before performing any state mutation including action calls edit/delete please fetch record which is going to be edited/deleted and show user record in format field → value (show several most important fields which can help user to understand what exactly record he is going to edit or delete).
2222

2323
For field values with long texts show only several first words and add "..." at the end.
24-
Also please add related link to record with will be changed. For example /{BASE_URL}/resource/{resourceId}/show/{primary key}. Use _label from `get_resource_data` as anchor text for link (use markdown link).
24+
Also please add related link to record with will be changed. For example /{BASE_URL}/resource/{resourceId}/show/{primary key}. Use _label from `get_resource_data` as anchor text for link (use markdown link). Links shoudl be always relative path, starting with slash.
25+
2526
And in the same message ask user for final confirmation.
2627

2728
When creating new record, show user all data which you gona create and in same message ask for confirmation.

0 commit comments

Comments
 (0)