-
Notifications
You must be signed in to change notification settings - Fork 269
docs: add Slack + Teams cross-platform skill page #2819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
umangsehgal
wants to merge
3
commits into
main
Choose a base branch
from
docs/slack-plus-teams-skill
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| --- | ||
| sidebar_position: 3 | ||
| summary: Use the Slack + Teams expert system to build bots that run on both Slack and Microsoft Teams from a single codebase, with AI-assisted development. | ||
| --- | ||
|
|
||
| # Slack + Teams | ||
|
|
||
| [microsoft/slack-plus-teams](https://github.com/microsoft/slack-plus-teams) is a knowledge base for AI coding agents (Claude Code, Cursor, GitHub Copilot) that build bots targeting **both Slack and Microsoft Teams**. It's not a library — it's a collection of micro-expert files that teach your agent how to bridge the two platforms: Block Kit ↔ Adaptive Cards, identity and SSO mapping, divergent event and file APIs, and transport and deploy targets that work for both. | ||
|
|
||
| The Teams side targets `@microsoft/teams.apps` — the same SDK these docs cover. | ||
|
|
||
| ## When to use it | ||
|
|
||
| - You run a bot on Slack today and want to add Teams support (or vice versa). | ||
| - You maintain one codebase that serves both platforms. | ||
| - You're scoping a migration and need a clear picture of the gap between Slack and Teams APIs before writing code. | ||
|
|
||
| For Teams-only development, use the [`teams-dev` agent skill](./agent-skills) instead. | ||
|
|
||
| ## What's inside | ||
|
|
||
| - **27 bridge experts** — every cross-platform conversion category, each with a GREEN/YELLOW/RED gap analysis. | ||
| - **53 platform experts** — 35 Teams + 18 Slack micro-experts covering SDKs, OAuth, modals, Web API, shortcuts, and more. | ||
| - **Three working TypeScript examples** — dual-platform bot, Slack-add-Teams, Teams-add-Slack. | ||
| - **Platform comparison guides** — [feature gaps](https://github.com/microsoft/slack-plus-teams/blob/main/docs/feature-gaps.md), [UI components](https://github.com/microsoft/slack-plus-teams/blob/main/docs/ui-components.md), [identity and auth](https://github.com/microsoft/slack-plus-teams/blob/main/docs/identity-and-auth.md), [infrastructure](https://github.com/microsoft/slack-plus-teams/blob/main/docs/infrastructure.md). | ||
|
|
||
| TypeScript / JavaScript is the Tier 1 language. Python adapts the same patterns; Java, C#, and REST-only stacks have dedicated guidance. | ||
|
|
||
| ## Set it up | ||
|
|
||
| Tell your AI agent to read the onboarding playbook directly from GitHub: | ||
|
|
||
| ``` | ||
| Read https://raw.githubusercontent.com/microsoft/slack-plus-teams/main/ONBOARD.md | ||
| and treat any reference to `slack-plus-teams/<path>` as | ||
| `https://raw.githubusercontent.com/microsoft/slack-plus-teams/main/<path>`. | ||
| Then follow its steps for my project. | ||
| ``` | ||
|
|
||
| The playbook detects your stack and loads only the relevant experts on demand — no clone required, and content stays current with `main`. | ||
|
|
||
| **Prefer to work offline?** Clone alongside your project and point your agent at the local copy: | ||
|
|
||
| ```bash | ||
| git clone https://github.com/microsoft/slack-plus-teams | ||
| ``` | ||
|
|
||
| ``` | ||
| Read slack-plus-teams/ONBOARD.md and follow its steps for my project. | ||
| ``` | ||
|
|
||
| See the [repo README](https://github.com/microsoft/slack-plus-teams#readme) for additional setup patterns across Claude Code, GitHub Copilot, and Cursor. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the wording here is a little confusing - mentioning Block Kit but not Teams SDK, then pointing to Adaptive Cards. Consider rewording a little?