Skip to content
Stack

pytest loadouts

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.

Bots
Verified install Not agent-tested

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
pythondiscorduv
Web apps
Verified install Not agent-tested

Django app rules

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.

  • 1 1 Rules
  • 1 1 Skills
  • – 0 MCP
pythondjangouv
AI agents · Data
Verified install Not agent-tested

Evals from real failures

Build LLM and agent evals the practitioner way: read real traces first, tally failure categories, then turn each into code-checked regression cases.

  • 1 1 Rules
  • 2 2 Skills
  • – 0 MCP
pythonpytestuv
Web apps
Verified install Not agent-tested

FastAPI service rules

Rules and an endpoint skill for FastAPI with uv and Pydantic v2: Annotated dependencies, typed responses, async only when awaited, lifespan, tested routes.

  • 1 1 Rules
  • 1 1 Skills
  • – 0 MCP
pythonfastapiuv
Web apps · Data
Verified install Not agent-tested

FastAPI with async SQLAlchemy 2.1 and Alembic

FastAPI on async SQLAlchemy 2.1: per-request AsyncSession, lazy="raise" with eager loads, async Alembic with alembic check, and tests that count queries.

  • 1 1 Rules
  • 1 1 Skills
  • – 0 MCP
pythonfastapisqlalchemy
AI agents
Verified install Not agent-tested

MCP server in Python (official SDK v2)

Build MCP servers on the official Python SDK v2: MCPServer, Annotated schemas, structured output, ToolError for fixable failures and in-memory Client tests.

  • 1 1 Rules
  • 1 1 Skills
  • – 0 MCP
pythonmcpuv
Bots
Verified install Not agent-tested

Telegram bot with python-telegram-bot

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.

  • 1 1 Rules
  • 1 1 Skills
  • – 0 MCP
pythontelegramuv

Often used with pytest

Looking for something narrower? Search within pytest or filter everything.