Agent skill
slack-api-common-issues
Sub-skill of slack-api: Common Issues (+1).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/business/communication/slack-api/common-issues
SKILL.md
Common Issues (+1)
Common Issues
Issue: Bot not responding to messages
# Verify bot has correct scopes
# Check Event Subscriptions are enabled
# Ensure Request URL is verified
# Debug with logging
import logging
logging.basicConfig(level=logging.DEBUG)
@app.event("message")
def debug_messages(body, logger):
logger.info(f"Received message event: {body}")
Issue: Interactive components not working
# Ensure Interactive Components URL is set
# Check action_id matches handler
@app.action("button_click") # Must match action_id in block
def handle_click(ack, body, logger):
ack()
logger.info(f"Button clicked: {body}")
Issue: Socket Mode connection drops
# Increase connection timeout
from slack_bolt.adapter.socket_mode import SocketModeHandler
handler = SocketModeHandler(
app,
app_token,
ping_interval=30 # Send ping every 30 seconds
)
Issue: Message not appearing in channel
# Check channel ID format
# Verify bot is in channel
def ensure_in_channel(client, channel):
try:
client.conversations_info(channel=channel)
except:
client.conversations_join(channel=channel)
Debug Commands
# Test webhook
curl -X POST \
-H "Content-Type: application/json" \
-d '{"text": "Test message"}' \
$SLACK_WEBHOOK_URL
# Test bot token
curl -X POST \
-H "Authorization: Bearer $SLACK_BOT_TOKEN" \
https://slack.com/api/auth.test
# List channels
curl -X GET \
-H "Authorization: Bearer $SLACK_BOT_TOKEN" \
"https://slack.com/api/conversations.list?limit=10"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?