File tree Expand file tree Collapse file tree
methods/src/slackbot/skills Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111# Call the slackbot.skills.create method
1212response = client .slackbot_skills_create (
1313 display_name = "Daily priorities" ,
14- category = "productivity " ,
14+ instructions = "# Purpose \n Suggest the three most important things to work on today. " ,
1515 description = "Reviews information from Slack and your calendar to suggest priorities for the day." ,
16+ category = "productivity" ,
1617 example_prompt = "Run {skill} for today" ,
17- instructions = "# Purpose\n Suggest the three most important things to work on today." ,
1818 mcp_servers = [
1919 {
20+ "service_type" : "app" ,
2021 "app_id" : "A0123ABCD" ,
2122 "server_id" : "Amcp0456EFGH" ,
22- "service_type" : "app" ,
2323 },
2424 ],
2525)
Original file line number Diff line number Diff line change 1111# Call the slackbot.skills.update method
1212response = client .slackbot_skills_update (
1313 skill_id = "F0123ABCD" ,
14- category = "productivity" ,
15- description = "Reviews information from Slack and your calendar to suggest priorities for the day." ,
1614 display_name = "Daily priorities" ,
17- example_prompt = "Run {skill} for today" ,
1815 instructions = "# Purpose\n Suggest the three most important things to work on today." ,
16+ description = "Reviews information from Slack and your calendar to suggest priorities for the day." ,
17+ category = "productivity" ,
18+ example_prompt = "Run {skill} for today" ,
1919 mcp_servers = [
2020 {
21+ "service_type" : "app" ,
2122 "app_id" : "A0123ABCD" ,
2223 "server_id" : "Amcp0456EFGH" ,
23- "service_type" : "app" ,
2424 },
2525 ],
2626)
You can’t perform that action at this time.
0 commit comments