Skip to content

feat(methods): add slackbot.skills.delete method example - #123

Merged
zimeg merged 89 commits into
mainfrom
zimeg-feat-slackbot-skills-examples-delete
Nov 13, 2026
Merged

zimeg merged 89 commits into
mainfrom
zimeg-feat-slackbot-skills-examples-delete

Conversation

@zimeg

@zimeg zimeg commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Summary

This pull request adds a method example for slackbot.skills.delete in methods/src/main/java/slackbot/skills/SlackbotSkillsDelete.java, 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 11 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
  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 👈 this pull request

Dependency: stays a draft

This depends on slackapi/java-slack-sdk#1695, which adds slackbotSkillsDelete 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#1695 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.SlackbotSkillsDelete 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

zimeg and others added 11 commits November 11, 2026 22:42
Adds an example that calls slackbot.skills.create with the arguments from its
reference page, and lists it in the methods README.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Adds an example that calls slackbot.skills.info with the arguments from its
reference page, and lists it in the methods README.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Adds an example that calls slackbot.skills.update with the arguments from its
reference page, and lists it in the methods README.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
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>
Adds an example that calls slackbot.skills.library.add with the arguments from its
reference page, and lists it in the methods README.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Adds an example that calls slackbot.skills.library.remove with the arguments from its
reference page, and lists it in the methods README.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Adds an example that calls admin.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>
Adds an example that calls admin.slackbot.skills.publish with the arguments from its
reference page, and lists it in the methods README.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Adds an example that calls admin.slackbot.skills.setAutoEnabled with the arguments from its
reference page, and lists it in the methods README.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Adds an example that calls admin.slackbot.skills.unpublish with the arguments from its
reference page, and lists it in the methods README.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Adds an example that calls slackbot.skills.delete with the arguments from its
reference page, and lists it in the methods README.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg and others added 3 commits November 12, 2026 17:00
…reate example

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
…pdate example

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg added 24 commits November 13, 2026 11:09
…meg-feat-slackbot-skills-examples-admin-publish
… zimeg-feat-slackbot-skills-examples-admin-set-auto-enabled
…led' into zimeg-feat-slackbot-skills-examples-admin-unpublish
…to zimeg-feat-slackbot-skills-examples-delete
…o zimeg-feat-slackbot-skills-examples-admin-list
…meg-feat-slackbot-skills-examples-admin-publish
… zimeg-feat-slackbot-skills-examples-admin-set-auto-enabled
…led' into zimeg-feat-slackbot-skills-examples-admin-unpublish
…to zimeg-feat-slackbot-skills-examples-delete
…meg-feat-slackbot-skills-examples-admin-publish
… zimeg-feat-slackbot-skills-examples-admin-set-auto-enabled
…led' into zimeg-feat-slackbot-skills-examples-admin-unpublish
…to zimeg-feat-slackbot-skills-examples-delete
… zimeg-feat-slackbot-skills-examples-admin-set-auto-enabled
…led' into zimeg-feat-slackbot-skills-examples-admin-unpublish
…to zimeg-feat-slackbot-skills-examples-delete
…led' into zimeg-feat-slackbot-skills-examples-admin-unpublish
…to zimeg-feat-slackbot-skills-examples-delete
…to zimeg-feat-slackbot-skills-examples-delete
@zimeg
zimeg changed the base branch from zimeg-feat-slackbot-skills-examples-admin-unpublish to main November 13, 2026 19:24
@zimeg

zimeg commented Nov 13, 2026

Copy link
Copy Markdown
Member Author

🎉 Thanks for the review @mwbrooks, landing slackbot.skills.delete now!

@zimeg
zimeg merged commit c59edf0 into main Nov 13, 2026
4 checks passed
@zimeg
zimeg deleted the zimeg-feat-slackbot-skills-examples-delete branch November 13, 2026 19:25
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.

2 participants