Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Build Telegram Mini Apps without the pain. Includes solutions for safe areas, fullscreen mode, BackButton handlers, sharing with inline mode, position:fixed issues, and React gotchas. Use when building or debugging Telegram Mini Apps, or when encountering issues with WebApp API, safe areas, or sharing.
Build Telegram Mini Apps without the pain. Includes solutions for safe areas, fullscreen mode, BackButton handlers, sharing with inline mode, position:fixed issues, and React gotchas. Use when building or debugging Telegram Mini Apps, or when encountering issues with WebApp API, safe areas, or sharing.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Battle-tested solutions for common Telegram Mini App issues.
// Use reactive hook - values are async and context-dependent const safeArea = useSafeAreaInset(); // from references/hooks.ts <div style={{ paddingTop: safeArea.top }}>Header</div>
Telegram applies transform to container. Use createPortal: import { createPortal } from 'react-dom'; createPortal(<Modal />, document.body);
Use @telegram-apps/sdk, not raw WebApp: import { onBackButtonClick, showBackButton } from '@telegram-apps/sdk'; onBackButtonClick(handleBack);
Enable inline mode: @BotFather โ /setinline โ select bot Backend calls savePreparedInlineMessage โ returns prepared_message_id Frontend calls WebApp.shareMessage(prepared_message_id) Note: prepared_message_id is single-use โ prepare fresh for each share tap. For static content, consider caching images on R2/CDN and preparing per-tap.
// WRONG: renders literal "0" {count && <span>{count}</span>} // CORRECT {count > 0 && <span>{count}</span>}
references/KNOWLEDGE.md โ Full knowledge base with all gotchas and solutions references/hooks.ts โ Copy-paste React hooks (useSafeAreaInset, useFullscreen, etc.) references/components.tsx โ Ready-to-use components (SafeAreaHeader, DebugOverlay)
Before shipping, test: Open from folder (chat list) Open from direct bot chat iOS device Android device Share flow (tap โ dismiss โ tap again) Share to different chat types (user, group, channel) Back button Scroll with sticky header
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.