pyrofork-best-practices
The skill is based on Pyrofork v2.3.69, generated at 2026-02-25.
Pyrofork is an async Python framework for Telegram MTProto automation (user and bot identities). These references focus on high-signal coding patterns for agents: lifecycle safety, update routing, plugin architecture, low-level raw API access, and production reliability.
Core References
| Topic | Description | Reference |
|---|---|---|
| Client Lifecycle | Safe startup/shutdown patterns for async and sync usage | core-client-lifecycle |
| Update Pipeline | Handler registration, dispatch groups, and propagation control | core-updates-handlers-propagation |
Features
| Topic | Description | Reference |
|---|---|---|
| Filters | Compose built-in filters and route updates precisely | features-filters-custom-filters |
| Smart Plugins | Modular handler loading with include/exclude and runtime reload patterns | features-smart-plugins |
| Text Formatting | Parse modes, nested entities, and escaping rules for message rendering | features-text-formatting-parse-modes |
Advanced
| Topic | Description | Reference |
|---|---|---|
| Raw API | Invoke low-level Telegram functions and resolve peers correctly | advanced-raw-api-peer-resolution |
Best Practices
| Topic | Description | Reference |
|---|---|---|
| Reliability & Throughput | Error handling, flood waits, session strategy, and speed tuning | best-practices-errors-sessions-performance |
More from edm115/skills
pyrofork-docs
Use when working with Pyrofork (Pyrogram fork) in any Python project - setup/auth, client lifecycle, handlers/filters, async vs sync usage, plugins, raw MTProto API, formatting, storage/proxy/scheduling, Telegram-specific behavior, and troubleshooting common RPC/session/network errors.
11pyrofork-api
Use when implementing, debugging, or reviewing Pyrofork API usage and internals from docs/source/api, including Client, handlers, decorators, filters, enums, and RPC error catalogs. Triggers on requests for exact signatures, parameters, types, enum values, filter behavior, or handler/decorator wiring.
4pyrofork-api-full-reference
Offline API backup skill for Pyrofork, extracted from source docstrings across pyrogram modules. Warning - the content is massive and should be queried with tools like `rg`/`grep` for specific references rather than read sequentially. Only load sections relevant to your needs.
3rtk
Must use whenever you're about to run a command in the terminal to have faster and more efficient output, all while reducing tokens in your context window.
1