Discord bot in Python (discord.py 2)
discord.py 2 rules for agents: slash commands in cogs, range-limited options, 3-second responses, manual syncing, default intents and offline tests of the payload.
- 1 1 Rules
- 1 1 Skills
- – 0 MCP
Every loadout here ends a change with pytest. They show the agent what a useful test looks like for the stack: FastAPI routes with dependency overrides, a Django assertNumQueries test that catches N+1 queries, Telegram and Discord bot logic tested without the network, MCP tools called through the SDK's in-memory client, and eval cases that must link to the trace they came from.
Every one installs for Claude Code, Codex CLI, Cursor, Gemini CLI, Antigravity CLI and GitHub Copilot unless its card says otherwise.
discord.py 2 rules for agents: slash commands in cogs, range-limited options, 3-second responses, manual syncing, default intents and offline tests of the payload.
Django rules and a safe-migration skill: migrations checked in CI, two-step destructive changes, N+1 caught with query-count tests, settings from the environment.
Build LLM and agent evals the practitioner way: read real traces first, tally failure categories, then turn each into code-checked regression cases.
Rules and an endpoint skill for FastAPI with uv and Pydantic v2: Annotated dependencies, typed responses, async only when awaited, lifespan, tested routes.
FastAPI on async SQLAlchemy 2.1: per-request AsyncSession, lazy="raise" with eager loads, async Alembic with alembic check, and tests that count queries.
Build MCP servers on the official Python SDK v2: MCPServer, Annotated schemas, structured output, ToolError for fixable failures and in-memory Client tests.
Rules and a command skill for Telegram bots on python-telegram-bot v22: token from the environment, async-safe handlers, testable logic, escaped output, webhook secrets.
Looking for something narrower? Search within pytest or filter everything.