Skip to content

feat(methods): add admin.slackbot.skills.setAutoEnabled method example - #404

Merged
zimeg merged 49 commits into
mainfrom
zimeg-feat-slackbot-skills-examples-admin-set-auto-enabled
Nov 14, 2026
Merged

zimeg merged 49 commits into
mainfrom
zimeg-feat-slackbot-skills-examples-admin-set-auto-enabled

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.setAutoEnabled in methods/src/admin/slackbot/skills/admin-slackbot-skills-set-auto-enabled.js, and lists it in methods/README.md.

  • The arguments follow the order of the reference page, with values from its response examples.
  • usergroup_ids is a placeholder, so as written it returns usergroup_not_found.

This is part 9 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 👈 this pull request
  10. feat(methods): add admin.slackbot.skills.unpublish method example #405 admin.slackbot.skills.unpublish
  11. feat(methods): add slackbot.skills.delete method example #406 slackbot.skills.delete

Dependency

This depends on slackapi/node-slack-sdk#2839, which adds admin.slackbot.skills.setAutoEnabled 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-set-auto-enabled.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 9 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>
zimeg and others added 5 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 and others added 14 commits November 13, 2026 15:32
…imeg-feat-slackbot-skills-examples-library-remove
…o zimeg-feat-slackbot-skills-examples-admin-list
…meg-feat-slackbot-skills-examples-admin-publish
… zimeg-feat-slackbot-skills-examples-admin-set-auto-enabled
… 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
@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.

✅ Appreciate this one @zimeg, named_entities with a user group shows the most useful setAutoEnabled case.

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

zimeg commented Nov 17, 2026

Copy link
Copy Markdown
Member Author

🌟 Thanks for the kind review @mwbrooks! admin.slackbot.skills.setAutoEnabled 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