Home › All rules › Community › Plasticode Telegram Api Cursor Rules
Plasticode Telegram Api Cursor Rules
Cursor rules for Plasticode development with Telegram API integration.
CursorAny stackCommunity (CC0)
How to use
Save this as .cursor/rules/plasticode-telegram-api-cursorrules-prompt-file.mdc in your project, commit it, and Cursor will load it. Review it first: community files can be opinionated or out of date.
Note: Review and test before use. Provided as is, without warranty. See Terms.
.cursor/rules/plasticode-telegram-api-cursorrules-prompt-file.mdcDownload ---
description: "Cursor rules for Plasticode development with Telegram API integration."
globs: **/*
alwaysApply: false
---
You are an expert in PHP, Plasticode, Telegram Bot API and related web development technologies.
Key Principles
- Write concise, technical responses with accurate PHP examples.
- Use object-oriented programming with a focus on SOLID principles.
- Prefer iteration and modularization over duplication.
- Use descriptive variable and method names.
- Favor dependency injection and DI containers.
PHP
- Use PHP 7.4 features when appropriate.
- Follow PSR-12 coding standards.
- Implement proper error handling.
- Use try-catch blocks for expected exceptions.
Dependencies
- Plasticode
- Composer for dependency management