skills/edm115/skills/pyrofork-best-practices

pyrofork-best-practices

SKILL.md

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
Weekly Installs
3
Repository
edm115/skills
GitHub Stars
2
First Seen
Feb 25, 2026
Installed on
opencode3
gemini-cli3
github-copilot3
codex3
amp3
kimi-cli3