Skip to content

feat(methods): add admin.slackbot.skills.unpublish method example - #405

Merged
zimeg merged 56 commits into
mainfrom
zimeg-feat-slackbot-skills-examples-admin-unpublish
Nov 14, 2026
Merged

zimeg merged 56 commits into
mainfrom
zimeg-feat-slackbot-skills-examples-admin-unpublish

Conversation

@zimeg

@zimeg zimeg commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Summary

This pull request adds a method example for admin.slackbot.skills.unpublish in methods/src/admin/slackbot/skills/admin-slackbot-skills-unpublish.js, 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 10 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 #390.

  1. feat(methods): add slackbot.skills.create method example #396 slackbot.skills.create
  2. feat(methods): add slackbot.skills.info method example #397 slackbot.skills.info
  3. feat(methods): add slackbot.skills.update method example #398 slackbot.skills.update
  4. feat(methods): add slackbot.skills.list method example #399 slackbot.skills.list
  5. feat(methods): add slackbot.skills.library.add method example #400 slackbot.skills.library.add
  6. feat(methods): add slackbot.skills.library.remove method example #401 slackbot.skills.library.remove
  7. feat(methods): add admin.slackbot.skills.list method example #402 admin.slackbot.skills.list
  8. feat(methods): add admin.slackbot.skills.publish method example #403 admin.slackbot.skills.publish
  9. feat(methods): add admin.slackbot.skills.setAutoEnabled method example #404 admin.slackbot.skills.setAutoEnabled
  10. feat(methods): add admin.slackbot.skills.unpublish method example #405 admin.slackbot.skills.unpublish 👈 this pull request
  11. feat(methods): add slackbot.skills.delete method example #406 slackbot.skills.delete

Dependency

This depends on slackapi/node-slack-sdk#2840, which adds admin.slackbot.skills.unpublish to @slack/web-api. It shipped in v8.4.0, and #418 bumped the @slack/web-api pin in methods/package.json to ^8.4.0 on main.

Testing

  1. cd methods/src/admin/slackbot/skills && slack install --environment local, then export SLACK_TOKEN=... with the app's user token.
  2. slack run admin-slackbot-skills-unpublish.js 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 10 commits November 11, 2026 22:25
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg and others added 6 commits November 13, 2026 11:33
Mirrors Michael's suggestion on bolt-java-examples#116: filter "owned"
shows off the argument better than the "library" default, and limit 100
is already the default.

Co-authored-by: Michael Brooks <21328+mwbrooks@users.noreply.github.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
…o zimeg-feat-slackbot-skills-examples-admin-list
…meg-feat-slackbot-skills-examples-admin-publish
…imeg-feat-slackbot-skills-examples-library-remove
… zimeg-feat-slackbot-skills-examples-admin-set-auto-enabled
zimeg and others added 13 commits November 13, 2026 15:32
… zimeg-feat-slackbot-skills-examples-admin-set-auto-enabled
…led' into zimeg-feat-slackbot-skills-examples-admin-unpublish
… the readme

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
…feat-slackbot-skills-examples-list

# Conflicts:
#	methods/README.md
…dd in the readme

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
…imeg-feat-slackbot-skills-examples-library-remove

# Conflicts:
#	methods/README.md
…o zimeg-feat-slackbot-skills-examples-admin-list
…emove in the readme

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
…t in the readme

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
…meg-feat-slackbot-skills-examples-admin-publish

# Conflicts:
#	methods/README.md
… zimeg-feat-slackbot-skills-examples-admin-set-auto-enabled
…led' into zimeg-feat-slackbot-skills-examples-admin-unpublish
@zimeg
zimeg marked this pull request as ready for review November 14, 2026 00:20
@zimeg
zimeg requested a review from a team as a code owner November 14, 2026 00:20

@mwbrooks mwbrooks left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Thanks @zimeg! Unpublish rounds out the admin catalogue flow nicely.

@zimeg
zimeg changed the base branch from zimeg-feat-slackbot-skills-examples-admin-set-auto-enabled to main November 14, 2026 04:48
@zimeg
zimeg merged commit 34627e4 into main Nov 14, 2026
7 checks passed
@zimeg
zimeg deleted the zimeg-feat-slackbot-skills-examples-admin-unpublish branch November 14, 2026 04:49
@zimeg

zimeg commented Nov 17, 2026

Copy link
Copy Markdown
Member Author

🌟 Thanks for the kind review @mwbrooks! admin.slackbot.skills.unpublish landed with the rest of the stack.

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

Labels

enhancement New feature or request javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants