Skip to content

Add OpenCode Support - #125

Open
youenchene wants to merge 4 commits into
slackapi:mainfrom
youenchene:main
Open

Add OpenCode Support#125
youenchene wants to merge 4 commits into
slackapi:mainfrom
youenchene:main

Conversation

@youenchene

Copy link
Copy Markdown

Summary

Adds OpenCode support for the Slack Skills Plugin:

  • Repository-local OpenCode configuration with Slack MCP, seven canonical skills, and five namespaced slack-* commands.
  • Optional global installer, sync, and uninstall commands with ownership and symlink-safety protections.
  • Documentation and structural tests for the OpenCode integration.

Important: OpenCode authentication still requires an eligible Slack app client ID. Users must set SLACK_OPENCODE_CLIENT_ID before running opencode mcp auth slack; no client ID or secret is included in this repository.

This is an LLM-assisted proposal. I have tried to keep it safe and aligned with the repository’s conventions, but I welcome candid review and am happy to revise or reduce the approach if it does not meet the project’s standards.

Preview

No visual UI changes.

Testing

Passed locally:

  • make test-unit
  • make lint
  • make typecheck

make test was also run. Its unit-test portion passed, but eval tests could not run because no GEMINI_API_KEY / GEMINI_API_KEY_* is configured locally. These evals require external credentials and should run in the upstream CI environment.

Notes

  • The installer does not write secrets or a Slack client ID.
  • It preserves existing user configuration and avoids following symlinked configuration or installed files.
  • The global installer is optional; repository-local OpenCode support remains available.

Requirements

  • I've read and understood the Contributing Guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've run make test and the tests pass. (except gemini needed a key)

@youenchene
youenchene requested a review from a team as a code owner August 20, 2026 14:42
@changeset-bot

changeset-bot Bot commented Aug 20, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: fba6742

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
slack Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@youenchene youenchene mentioned this pull request Aug 20, 2026
@hello-ashleyintech

Copy link
Copy Markdown

hi, @youenchene! Thanks so much for submitting this PR!

I am checking internally right now to see if we have progressed in setting up OpenCode as a supported client on the Slack side, which will determine if this PR is feasible or not. Will drop in with an update!

@WilliamBergamin WilliamBergamin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hi @youenchene thanks for your interest and contribution to the project 💯

Supporting Open code is something we want to add in this project but I think we might want to follow to config hook pattern similar to this https://github.com/obra/superpowers/blob/main/.opencode/plugins/superpowers.js

@youenchene

Copy link
Copy Markdown
Author

Hi @youenchene thanks for your interest and contribution to the project 💯

Supporting Open code is something we want to add in this project but I think we might want to follow to config hook pattern similar to this https://github.com/obra/superpowers/blob/main/.opencode/plugins/superpowers.js

I just submitted a new version. Tell what you think.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants