Repository navigation
feat: add slackbot.skillSets methods - #1727
Open
samkantor123 wants to merge 1 commit into
Open
samkantor123 wants to merge 1 commit into
samkantor123 wants to merge 1 commit into
Conversation
Add the slackbot.skillSets.create, update, delete, info, list, items.add, items.remove, library.add, and library.remove methods to the sync and async clients, with a SkillSet model, rate limit tiers, and sample responses. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
samkantor123
marked this pull request as ready for review
November 25, 2026 18:47
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1727 +/- ##
============================================
+ Coverage 74.06% 74.19% +0.13%
- Complexity 4828 4872 +44
============================================
Files 490 490
Lines 15033 15114 +81
Branches 1584 1586 +2
============================================
+ Hits 11134 11214 +80
+ Misses 2972 2969 -3
- Partials 927 931 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request adds the nine Slackbot skill sets methods to the sync and async clients. Docs pages for these methods are publishing soon.
slackbot.skillSets.create:slackbotSkillSetsCreatetakesdisplayNameanddescription.slackbot.skillSets.update:slackbotSkillSetsUpdatetakesskillSetId,displayName, anddescription. An emptydescriptionclears it.slackbot.skillSets.delete:slackbotSkillSetsDeletetakesskillSetId.slackbot.skillSets.info:slackbotSkillSetsInfotakesskillSetIdand returnsskillSetanditems(skillIdandskill, which is null for unavailable skills).slackbot.skillSets.list:slackbotSkillSetsListtakesfilter,cursor, andlimit.slackbot.skillSets.items.add:slackbotSkillSetsItemsAddtakesskillSetIdandskillIds. Partial failures returnfailedSkills.slackbot.skillSets.items.remove:slackbotSkillSetsItemsRemovetakesskillSetIdandskillIds. Partial failures returnfailedSkills.slackbot.skillSets.library.add:slackbotSkillSetsLibraryAddtakesskillSetId.slackbot.skillSets.library.remove:slackbotSkillSetsLibraryRemovetakesskillSetId.A new
com.slack.api.model.slackbot.SkillSetmodel holds the skill set fields.createanddeleteare Tier 2, and the others are Tier 3. These follow theslackbot.skillsmethods added in #1685 through #1695, as a single pull request.Testing
./scripts/run_no_prep_tests.shon JDK 17:BUILD SUCCESS, 1,687 tests, 0 failures, 0 errors, and a clean working tree afterward. That includes 528 inslack-api-clientand theMethodsTestcoverage check.test_locally.api.methods.SlackbotTestcalls each new method, sync and async, against the mock server and parses sample responses, includingfailed_skillsand a nullskillininfoitems.test_locally.api.methods.RequestFormBuilderTestchecks thatskill_idsis comma-joined and that an emptydescriptionis sent.listanditems.add) against a live workspace with a user token. Each request reached its endpoint, authenticated, passed argument validation, and parsed. A request missingskill_set_idreturnedinvalid_argumentsas expected. Skill sets aren't available on that workspace yet, so I couldn't test the success responses there.test_with_remote_apis.methods.slackbot_skill_sets_Test, withSLACK_SDK_TEST_BOT_TOKEN(skills:read,skills:write). It creates a skill and a skill set, runs every method, and deletes both at the end.Category
Requirements
🤖 Generated with Claude Code