Skip to content

feat(methods): add slackbot.skillSets.create method example - #148

Draft
zimeg wants to merge 1 commit into
mainfrom
zimeg-feat-slackbot-skill-sets-examples-create
Draft

zimeg wants to merge 1 commit into
mainfrom
zimeg-feat-slackbot-skill-sets-examples-create

Conversation

@zimeg

@zimeg zimeg commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Summary

This pull request adds a method example for slackbot.skillSets.create in methods/src/main/java/slackbot/skillSets/SlackbotSkillSetsCreate.java, and lists it in methods/README.md.

  • The arguments follow the order of the reference page, with values from its response examples.
  • Adds slackbot/skillSets/manifest.json with the scopes this folder's methods need.

This is part 1 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.

  1. feat(methods): add slackbot.skillSets.create method example #148 slackbot.skillSets.create 👈 this pull request
  2. feat(methods): add slackbot.skillSets.delete method example #149 slackbot.skillSets.delete
  3. feat(methods): add slackbot.skillSets.info method example #150 slackbot.skillSets.info
  4. feat(methods): add slackbot.skillSets.items.add method example #151 slackbot.skillSets.items.add
  5. feat(methods): add slackbot.skillSets.items.remove method example #152 slackbot.skillSets.items.remove
  6. feat(methods): add slackbot.skillSets.library.add method example #153 slackbot.skillSets.library.add
  7. feat(methods): add slackbot.skillSets.library.remove method example #154 slackbot.skillSets.library.remove
  8. feat(methods): add slackbot.skillSets.list method example #155 slackbot.skillSets.list
  9. feat(methods): add slackbot.skillSets.update method example #156 slackbot.skillSets.update

Dependency

This depends on slackapi/java-slack-sdk#1727, which adds slackbotSkillSetsCreate to slack-api-client. It has merged on main and ships in the upcoming v1.56.1. The build fails until that release is out and the slack-api-client pin in methods/pom.xml moves to 1.56.1, so this stays a draft until then.

Testing

  1. cd methods and export SLACK_TOKEN=... with a bot or user token with the skills:write scope.
  2. mvn compile exec:java -Dexec.mainClass=slackbot.skillSets.SlackbotSkillSetsCreate and check the response. Replace placeholder IDs like F0789IJKL with real ones from your workspace to see ok.

All 9 examples in this stack ran against a developer workspace with slack-api-client built from main, with the placeholder IDs swapped for real ones, from creating a skill set through deleting it. Each returned ok.

🤖 Generated with Claude Code

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant