Skip to content

feat(methods): add slackbot.skills and admin.slackbot.skills method examples - #112

Closed
zimeg wants to merge 1 commit into
mainfrom
zimeg-feat-slackbot-skills-examples
Closed

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

Conversation

@zimeg

@zimeg zimeg commented Nov 11, 2026

Copy link
Copy Markdown
Member

Summary

This pull request adds an example for each of the 11 Slackbot skills Web API methods.

  • slackbot.skills.{create,delete,info,list,update} are in methods/src/main/java/slackbot/skills/, and slackbot.skills.library.{add,remove} are in slackbot/skills/library/.
  • admin.slackbot.skills.{list,publish,setAutoEnabled,unpublish} are in methods/src/main/java/admin/slackbot/skills/.
  • Each package has a manifest.json with the scopes its methods need, and the README lists every method.
  • Each example sets the arguments documented on its reference page. Values come from the docs' response examples, or from the documented default where there is one. cursor is left out, and slackbot.skills.create sends instructions rather than canvas_id, because only one of the two can be sent.

Dependency: stays a draft

This depends on slackapi/java-slack-sdk#1683 shipping in a published slack-api-client release. Until then mvn compile fails against the pinned 1.54.0, as expected. The pin gets bumped once that release is out, and this PR stays a draft until then.

Testing

With slackapi/java-slack-sdk#1683 installed locally as 1.54.1-SNAPSHOT and the pin changed for the run only (not committed), I ran all 11 examples with mvn compile exec:java -Dexec.mainClass=<class> against an Enterprise Grid developer sandbox:

  • admin.slackbot.skills.list and slackbot.skills.list returned ok: true.
  • The other 9 returned the expected errors for the placeholder IDs: skill_not_found, failed_for_some_skills with failed_skills, and mcp_server_not_found with invalid_mcp_servers. This shows each request and its typed response round-trip.

🤖 Generated with Claude Code

…xamples

Adds an example for each of the 11 Slackbot skills methods under
methods/src/main/java/slackbot/skills and admin/slackbot/skills, with a
manifest per namespace and README entries.

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

zimeg commented Nov 12, 2026

Copy link
Copy Markdown
Member Author

Closing in favor of a stack with one pull request per method example: #113 through #123. The branch is kept.

@zimeg zimeg closed this Nov 12, 2026
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