Skip to content

feat: add slackbot.skills.update method example - #371

Draft
zimeg wants to merge 4 commits into
zimeg-feat-slackbot-skills-examples-infofrom
zimeg-feat-slackbot-skills-examples-update
Draft

zimeg wants to merge 4 commits into
zimeg-feat-slackbot-skills-examples-infofrom
zimeg-feat-slackbot-skills-examples-update

Conversation

@zimeg

@zimeg zimeg commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Summary

This pull request adds a method example for slackbot.skills.update in methods/src/slackbot/skills/slackbot_skills_update.py, and lists it in methods/README.md.

  • The arguments follow the order of the reference page, with values from its response examples.

This is part 3 of 11 in a stack that adds the Slackbot skills method examples 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.

  1. feat: add slackbot.skills.create method example #369 slackbot.skills.create
  2. feat: add slackbot.skills.info method example #370 slackbot.skills.info
  3. feat: add slackbot.skills.update method example #371 slackbot.skills.update 👈 this pull request
  4. feat: add slackbot.skills.list method example #372 slackbot.skills.list
  5. feat: add slackbot.skills.library.add method example #373 slackbot.skills.library.add
  6. feat: add slackbot.skills.library.remove method example #374 slackbot.skills.library.remove
  7. feat: add admin.slackbot.skills.list method example #375 admin.slackbot.skills.list
  8. feat: add admin.slackbot.skills.publish method example #376 admin.slackbot.skills.publish
  9. feat: add admin.slackbot.skills.setAutoEnabled method example #377 admin.slackbot.skills.setAutoEnabled
  10. feat: add admin.slackbot.skills.unpublish method example #378 admin.slackbot.skills.unpublish
  11. feat: add slackbot.skills.delete method example #379 slackbot.skills.delete

Dependency: stays a draft

This depends on slackapi/python-slack-sdk#2019, which adds slackbot.skills.update to slack_sdk. The methods type check fails against the currently pinned slack_sdk until that ships in a release. This PR stays a draft until then, and the slack_sdk pin gets bumped to that release in this stack.

Testing

With slackapi/python-slack-sdk#2019 installed locally:

  1. cd methods/src/slackbot/skills && slack install --environment local, then export SLACK_TOKEN=... with the app's bot token (skills:write).
  2. slack run slackbot_skills_update.py and confirm the response. Replace placeholder IDs like F0123ABCD with real ones from your workspace to see ok.

🤖 Generated with Claude Code

zimeg and others added 3 commits November 11, 2026 20:11
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
…e page does

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 python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant