🤖 LLM & AI Context Hub
Official machine-readable documentation, prompt skills, and offline packages for Large Language Models and AI coding assistants (Cursor, Claude, ChatGPT, Copilot, Antigravity).
Agent Skill & Context Hub for LLMs
Feed this context to Claude, Cursor, ChatGPT, Antigravity, or Copilot for zero-hallucination code generation.
@https://.../llms.txt to your docs, or paste the copied skill prompt directly into your system instructions or .cursorrules. If the documentation or offline context is not sufficient, inspect the source code and unit tests directly on GitHub. ⚡ Quick Integration
💡 Cursor & VS Code
Add the llms.txt URL (/llms.txt) to Cursor Docs (Cursor Settings > Features > Docs), or extract the Skill Package (.zip) into your project's .agents/skills/ directory.
🧠 Claude Projects & ChatGPT
Upload /llms-full.txt directly as Project Knowledge, or click Copy AI Agent Skill above and paste into your Custom Instructions.
🐙 GitHub Repository & Deep Inspection
If the documentation does not fully cover your scenario or you need to inspect raw source code, class definitions, test suites, or open issues, explore the repository on GitHub: 👉 github.com/tueen/telegram
🏛️ Core Architectural Tenets for AI
When generating code for tueen/telegram, models MUST follow these principles:
- PHP 8.4+ Strict Types: Always start files with
declare(strict_types=1);. - Clean Asymmetric Visibility: Use
private(set)without redundantpublic(e.g.private(set) int $id;). - Property Hooks: Use
get => ...for computed properties instead of repetitive getters. - Universal
ok(): All responses extendTypeand provide$res->ok(): booland$res->isOk(): bool. - Forward Compatibility: Unknown Telegram fields are preserved in
$extraand dynamically accessible. - Pipeline Pattern: Middlewares and handlers support first-class callables and the PHP 8.5 Pipe Operator (
|>). - Repository Inspection: Check github.com/tueen/telegram for edge cases, internal types, and source code details.
📄 Machine-Readable Assets
| Asset | Format | Purpose | Link |
|---|---|---|---|
| Agent Skill Package | .zip archive | Offline skill with SKILL.md and complete docs/ | Download ZIP |
| Standard LLM Summary | llms.txt | llmstxt.org structured outline & docs map | View /llms.txt |
| Consolidated Context | llms-full.txt | Full single-file markdown for context ingestion | View /llms-full.txt |
| GitHub Repository | Source Code & Tests | Official repository for source inspection, unit tests & issues | github.com/tueen/telegram |