Skip to content

feat: add slackbot.skills.library.add method - #2835

Draft
zimeg wants to merge 3 commits into
zimeg-feat-slackbot-skills-listfrom
zimeg-feat-slackbot-skills-library-add
Draft

zimeg wants to merge 3 commits into
zimeg-feat-slackbot-skills-listfrom
zimeg-feat-slackbot-skills-library-add

Conversation

@zimeg

@zimeg zimeg commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Summary

This pull request adds the slackbot.skills.library.add method to @slack/web-api.

  • client.slackbot.skills.library.add({ skill_id }) turns a skill on in the caller's library.
  • SlackbotSkillsLibraryAddResponse is generated with scripts/code_generator.rb from the json-logs/samples/api/slackbot.skills.library.add.json sample recorded live in feat: add slackbot.skills.library.add method java-slack-sdk#1689.
  • Adds type tests and a minor changeset.

This is part 5 of 11 in a stack that adds the Slackbot skills methods one at a time, following a skill from creation to deletion. Each pull request builds on the one before it and merges on its own, bottom to top. It replaces #2830.

  1. feat: add slackbot.skills.create method #2831 slackbot.skills.create
  2. feat: add slackbot.skills.info method #2832 slackbot.skills.info
  3. feat: add slackbot.skills.update method #2833 slackbot.skills.update
  4. feat: add slackbot.skills.list method #2834 slackbot.skills.list
  5. feat: add slackbot.skills.library.add method #2835 slackbot.skills.library.add 👈 this pull request
  6. feat: add slackbot.skills.library.remove method #2836 slackbot.skills.library.remove
  7. feat: add admin.slackbot.skills.list method #2837 admin.slackbot.skills.list
  8. feat: add admin.slackbot.skills.publish method #2838 admin.slackbot.skills.publish
  9. feat: add admin.slackbot.skills.setAutoEnabled method #2839 admin.slackbot.skills.setAutoEnabled
  10. feat: add admin.slackbot.skills.unpublish method #2840 admin.slackbot.skills.unpublish
  11. feat: add slackbot.skills.delete method #2841 slackbot.skills.delete

Testing

  1. Call client.slackbot.skills.library.add({ skill_id }) and confirm ok.

Each layer of this stack was checked against an Enterprise developer sandbox by running every method added so far, in order, with that layer's WebClient.

Requirements

🤖 Generated with Claude Code

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:typescript issues that specifically impact using the package from typescript projects enhancement M-T: A feature request for new functionality pkg:web-api applies to `@slack/web-api` semver:minor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant