building-telegram-botslisted
Install: claude install-skill isvlasov/rageatc-oss
# Building Telegram Bots
Prevents stale-knowledge failures when writing Telegram bot code. The Bot API updates roughly quarterly and frameworks more often, so training-time knowledge is unreliable — this skill enforces a verification protocol (detect, fetch, confirm) before any bot code is generated.
## Scope
**Covered:** python-telegram-bot, aiogram (Python); grammY, Telegraf (Node.js)
**Not covered:** Other languages or frameworks; Telegram client API (TDLib); bot deployment and hosting; payment and monetisation APIs
## Verification Protocol
Run this protocol before writing any bot code. Do not skip steps.
### Step 1 — Detect the project framework and version
Read the project dependency manifest:
- Python project: check `pyproject.toml` first, then `requirements.txt`
- Node.js project: read `package.json` → `dependencies` and `devDependencies`
Identify which framework is present and its pinned or constrained version. If a lock file exists (`package-lock.json`, `poetry.lock`, `uv.lock`), read it for the exact resolved version.
See `references/framework-guide.md` → "Detecting Framework Version from Project Files" for manifest patterns.
### Step 2 — Identify the Bot API version the framework targets
Map the framework version to its supported Bot API version.
See `references/framework-guide.md` → "Framework Fact Sheets" for the current mapping table.
**Staleness warning:** If the project uses Telegraf v4.x, issue an explicit warning before proceeding. See `refere