Skip to content

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

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/slackbot/skillSets/slackbot_skill_sets_create.py, and lists it in methods/README.md.

  • The arguments follow the order of the reference page, with values from its response examples.
  • This layer also adds the slackbot/skillSets/ app scaffold: .slack/, assets/, manifest.json, and __init__.py files, and bumps the slack_sdk pin in methods/pyproject.toml to 3.48.1.

This is part 1 of 9 in a stack that adds the Slackbot skill sets method examples one at a time, in sorted method 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 #429 slackbot.skillSets.create 👈 this pull request
  2. feat(methods): add slackbot.skillSets.delete method example #430 slackbot.skillSets.delete
  3. feat(methods): add slackbot.skillSets.info method example #431 slackbot.skillSets.info
  4. feat(methods): add slackbot.skillSets.items.add method example #432 slackbot.skillSets.items.add
  5. feat(methods): add slackbot.skillSets.items.remove method example #433 slackbot.skillSets.items.remove
  6. feat(methods): add slackbot.skillSets.library.add method example #434 slackbot.skillSets.library.add
  7. feat(methods): add slackbot.skillSets.library.remove method example #435 slackbot.skillSets.library.remove
  8. feat(methods): add slackbot.skillSets.list method example #436 slackbot.skillSets.list
  9. feat(methods): add slackbot.skillSets.update method example #437 slackbot.skillSets.update

Dependency: stays a draft

This depends on slackapi/python-slack-sdk#2084, which adds the slackbot.skillSets methods to slack_sdk and is merged but not yet released. The methods install fails until slack_sdk 3.48.1 is published, since #429 pins it, and the type check needs that release. This PR stays a draft until then.

Testing

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

  1. cd methods/src/slackbot/skillSets && slack install --environment local, then export SLACK_TOKEN=... with the app's bot token (skills:write).
  2. slack run slackbot_skill_sets_create.py and confirm the response. Use the returned skill_set.id with the other examples in this stack.

🤖 Generated with Claude Code

@zimeg zimeg added enhancement New feature or request python Pull requests that update python code labels Dec 1, 2026
@zimeg zimeg self-assigned this Dec 1, 2026
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