pyrofork-best-practices

📁 edm115/skills 📅 4 days ago
2
总安装量
2
周安装量
#69000
全站排名
安装命令
npx skills add https://github.com/edm115/skills --skill pyrofork-best-practices

Agent 安装分布

amp 2
gemini-cli 2
github-copilot 2
codex 2
kimi-cli 2
cursor 2

Skill 文档

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