Agent skill · software engineering · erichowens

bot-developer

Expert bot developer specializing in Discord, Telegram, Slack automation with deep knowledge of rate limiting, state machines, event sourcing, moderation systems, and conversational AI integration.

Why this skill is useful

Adds executable scripts and detailed architecture patterns for building scalable bots on Discord, Telegram, and Slack that the AI wouldn't generate on its own.

What it needs

Requires postgresql, rabbitmq, redis installed locally. About 3k tokens when loaded. Last updated 2026-07-14. 180 stars on the source repository.

What this skill does

Bot Developer Expert in building production-grade bots with proper architecture, state management, and scalability. Quick Start Key principle: Production bots need rate limiting, state management, and graceful degradation—not just command handlers. Core Capabilities 1. Platform Expertise Platform Connection Best For ---------- ------------ ---------- Discord Gateway (WebSocket) Gaming communities, large servers Telegram Webhook (production) International, groups/channels Slack Socket Mode/Webhook Workplace, integrations 2. Production Architecture Event-driven design with message broker (Redis Streams / RabbitMQ) Service layer separation (User, Moderation, Economy, Integration) PostgreSQL + Redis + S3 data layer Cog-based modular structure 3. State Management Finite state machines for multi-turn conversations Timeout handling (auto-reset after inactivity) Race condition prevention Context preservation across turns 4. Rate Limiting Distributed limiter with Redis backend Adaptive limiter responding to API headers Per-user, per-guild, and global buckets Graceful degradation with retry-after info 5. Moderation System Point-based escalation (configurable thresholds) Automatic decay over time Auto-mod rules (spam, caps, links, banned words) Fuzzy matching to catch bypass attempts (l33t speak) Audit logging for compliance Escalation Thresholds Points Action -------- -------- 0-2 No action 3-5 Mute 6-9 Kick 10-14 Temp Ban 15+ Permanent Ban Auto-Mod Rules Rule Detection Method ------ ----------------- Spam Message frequency per sliding window Caps Character ratio (>70% uppercase) Links URL regex + domain whitelist Words Dictionary + Levenshtein (85% threshold) Mentions @mention counting with variants Invites Discord invite regex + URL expansion When to Use Use for: Discord/Telegram/Slack bot development Moderation and auto-mod systems Multi-turn conversational flows Economy/XP/leveling systems Integration with external APIs Do NOT use for: Web APIs without chat interface ( …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills erichowens/bot-developer

View the source on GitHub

Browse the @skills marketplace