Skip to content

feat(methods): add slackbot.skills.list method example - #116

Draft
zimeg wants to merge 1 commit into
zimeg-feat-slackbot-skills-examples-updatefrom
zimeg-feat-slackbot-skills-examples-list
Draft

zimeg wants to merge 1 commit into
zimeg-feat-slackbot-skills-examples-updatefrom
zimeg-feat-slackbot-skills-examples-list

Conversation

@zimeg

@zimeg zimeg commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Summary

This pull request adds a method example for slackbot.skills.list in methods/src/main/java/slackbot/skills/SlackbotSkillsList.java, and lists it in methods/README.md.

  • The arguments follow the order of the reference page, with values from its response examples.
  • cursor is left out because it needs a previous response.

This is part 4 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. It replaces #112.

  1. feat(methods): add slackbot.skills.create method example #113 slackbot.skills.create
  2. feat(methods): add slackbot.skills.info method example #114 slackbot.skills.info
  3. feat(methods): add slackbot.skills.update method example #115 slackbot.skills.update
  4. feat(methods): add slackbot.skills.list method example #116 slackbot.skills.list 👈 this pull request
  5. feat(methods): add slackbot.skills.library.add method example #117 slackbot.skills.library.add
  6. feat(methods): add slackbot.skills.library.remove method example #118 slackbot.skills.library.remove
  7. feat(methods): add admin.slackbot.skills.list method example #119 admin.slackbot.skills.list
  8. feat(methods): add admin.slackbot.skills.publish method example #120 admin.slackbot.skills.publish
  9. feat(methods): add admin.slackbot.skills.setAutoEnabled method example #121 admin.slackbot.skills.setAutoEnabled
  10. feat(methods): add admin.slackbot.skills.unpublish method example #122 admin.slackbot.skills.unpublish
  11. feat(methods): add slackbot.skills.delete method example #123 slackbot.skills.delete

Dependency: stays a draft

This depends on slackapi/java-slack-sdk#1688, which adds slackbotSkillsList to slack-api-client. mvn compile fails against the pinned 1.54.0 until that ships in a release, as expected. This PR stays a draft until then, and the slack-api-client pin gets bumped to that release in this stack.

Testing

With slackapi/java-slack-sdk#1688 installed locally (./scripts/install_local.sh) and the pin pointed at that snapshot:

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

All 11 examples in this stack ran in order against an Enterprise Grid developer sandbox, with the placeholder IDs swapped for real ones, from creating a skill with a real MCP server through deleting it. Each returned ok.

🤖 Generated with Claude Code

Adds an example that calls slackbot.skills.list with the arguments from its
reference page, and lists it in the methods README.

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