Repository navigation
Conversation
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
This was referenced Dec 1, 2026
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 a method example for
slackbot.skillSets.items.addinmethods/src/main/java/slackbot/skillSets/items/SlackbotSkillSetsItemsAdd.java, and lists it inmethods/README.md.slackbot/skillSets/items/manifest.jsonwith the scopes this folder's methods need.This is part 4 of 9 in a stack that adds the Slackbot skill sets method examples one at a time, in sorted order. Each pull request builds on the one before it and merges on its own, bottom to top.
slackbot.skillSets.createslackbot.skillSets.deleteslackbot.skillSets.infoslackbot.skillSets.items.add👈 this pull requestslackbot.skillSets.items.removeslackbot.skillSets.library.addslackbot.skillSets.library.removeslackbot.skillSets.listslackbot.skillSets.updateDependency
This depends on slackapi/java-slack-sdk#1727, which adds
slackbotSkillSetsItemsAddtoslack-api-client. It has merged onmainand ships in the upcomingv1.56.1. The build fails until that release is out and theslack-api-clientpin inmethods/pom.xmlmoves to1.56.1, so this stays a draft until then.Testing
cd methodsandexport SLACK_TOKEN=...with a bot or user token with theskills:writescope.mvn compile exec:java -Dexec.mainClass=slackbot.skillSets.items.SlackbotSkillSetsItemsAddand check the response. Replace placeholder IDs likeF0789IJKLwith real ones from your workspace to seeok.All 9 examples in this stack ran against a developer workspace with
slack-api-clientbuilt frommain, with the placeholder IDs swapped for real ones, from creating a skill set through deleting it. Each returnedok.🤖 Generated with Claude Code