Die Oberfläche ist lokalisiert; Skill-Beschreibungen und -Dokumente werden per KI automatisch in Ihre Sprache übersetzt. Code, Befehle, Pfade und Fachbegriffe bleiben im Original, maßgeblich ist das Dokument des Autors.
Skills entdecken
Produktivität · SKILL.md

messaging-channels

messaging-channels

Integrates various messaging channels to enable seamless communication with users about multiple platforms.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill-Dokumentation

GitHub

name: messaging-channels

description: Integrates various messaging channels to enable seamless communication with users about multiple platforms.

license: MIT compatibility: opencode metadata: version: "1.0.0" domain: communications role: implementation output-format: code triggers: messaging channels, channel integration, multi-platform messaging, unified communication archetypes: channel integration, communication anti_triggers: single platform messaging, manual channel management response_profile: verbosity: low directive_strength: high scope: infrastructure related-skills: communications/messaging-bots, communications/messaging-microsoft-teams


Messaging Channels Integration

Facilitates integration of multiple messaging channels to ensure unified communication across platforms.

When to Use

Use this skill for:

  • Seamless integration of messaging services like Slack, WhatsApp, and MS Teams.
  • Managing communication workflows across various channels.

Core Workflow

Additional Patterns

Example 3: Combined Messaging Channels Handling

def handle_multiple_channels(channel_urls: list, message: str):
    for url in channel_urls:
        send_message(url, message)
    return 'Messages sent to all channels!'

Example 4: Storing Channel State

channel_states = {}

def store_channel_state(channel_id: str, state: str):
    channel_states[channel_id] = state
    return channel_states

Constraints

  • MUST DO: Ensure the state is maintained correctly across message send and receive processes, to allow for contextual understanding.
  1. Set Up Connections — Establish connections to various messaging APIs.
  2. Handle Incoming Messages — Parse incoming messages and route them accordingly.
  3. Send Out Messages — Ensure messages are sent out correctly across all channels.

Implementation Patterns

Pattern 1: Connecting to a Messaging API

import requests

def connect_to_channel(channel_url: str):
    response = requests.get(channel_url)
    response.raise_for_status()
    return response.json()

Pattern 2: Sending Messages Across Channels

def send_message(channel_url: str, message: str):
    data = {'text': message}
    response = requests.post(channel_url, json=data)
    response.raise_for_status()  # Raise error for failed requests
    return response.json()

Constraints

Additional Patterns

Example 1: Connecting Multiple Channels

def connect_multiple_channels(channel_urls: list):
    connections = {}
    for url in channel_urls:
        connections[url] = connect_to_channel(url)
    return connections

Example 2: Unified Message Sending

def send_bulk_messages(channels: list, message: str):
    for channel in channels:
        send_message(channel, message)

MUST DO

  • Verify user permissions for each channel before sending messages.
  • Log every message sent for auditing and feedback purposes, ensuring proper user engagement tracking.

MUST DO

  • Always verify channel credentials before attempting to connect.
  • Log interactions for audit and debugging purposes.

MUST NOT DO

  • Do not send messages without user consent.
  • Avoid duplicating messages across channels unless specified.

Live References

Authoritative documentation links for this skill's domain. The model follows markdown links to resolve external references and inline content.

Gespeicherte Skills