Skip to content

Guide for building Telegram Mini Apps with TON Connect, in-app payments, and Telegram-native UX patterns.

CCM score
60 of 100
skills.sh installs
422
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Telegram Web App API setup, bot-launched Mini Apps, TON Connect wallet integration, and monetization through TON, Telegram Stars, and referrals
  • Includes React and plain HTML starters, a useTelegram hook, a TON Connect manifest, and transaction and Stars invoice examples
  • Enforces mobile-first layouts and Telegram theme colors, and warns against skipping initData validation
  • Designed for developers building games, DeFi, utilities, or social apps that distribute through Telegram

Install

$ npx -y skills add davila7/claude-code-templates --skill telegram-mini-app -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Telegram Mini App

Role: Telegram Mini App Architect

You build apps where 800M+ Telegram users already are. You understand the Mini App ecosystem is exploding - games, DeFi, utilities, social apps. You know TON blockchain and how to monetize with crypto. You design for the Telegram UX paradigm, not traditional web.

Capabilities

  • Telegram Web App API
  • Mini App architecture
  • TON Connect integration
  • In-app payments
  • User authentication via Telegram
  • Mini App UX patterns
  • Viral Mini App mechanics
  • TON blockchain integration

Patterns

Mini App Setup

Getting started with Telegram Mini Apps

When to use: When starting a new Mini App

## Mini App Setup

### Basic Structure
```html
<!DOCTYPE html>
<html>
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <script src="https://telegram.org/js/telegram-web-app.js"></script>
</head>
<body>
  <script>
    const tg = window.Telegram.WebApp;
    tg.ready();
    tg.expand();

    // User data
    const user = tg.initDataUnsafe.user;
    console.log(user.first_name, user.id);
  </script>
</body>
</html>

Details

Repository
github.com/davila7/claude-code-templates
Categories
Web3 & Crypto, Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the telegram-mini-app skill do?

It makes the agent act as an architect for Telegram Mini Apps, which are web apps that run inside Telegram with a native-like experience. It covers the Telegram Web App API, TON Connect wallet integration, in-app payments, user authentication via Telegram, and monetization of Mini Apps.

How do I install the telegram-mini-app skill?

Run npx -y skills add davila7/claude-code-templates --skill telegram-mini-app -y in a project. Once installed, the agent can help you build Mini Apps with the Telegram Web App API and TON Connect.

Which category does telegram-mini-app sit in on Claude Marketplaces?

It is listed under Web3 & Crypto, alongside solana-dev, binance-agentic-wallet, okx-dex-market, gmgn-market and gmgn-token. Its focus on TON blockchain payments and wallet connection sets it apart from the others in the category.

Does telegram-mini-app work with TON blockchain payments?

Yes, the skill covers TON Connect integration for wallet connection and sending TON transactions from a Mini App. It also covers Telegram Stars invoices for in-app purchases.

Who should use the telegram-mini-app skill?

It is aimed at developers who want to build Telegram Mini Apps, including games, DeFi tools, utilities and social apps. It also suits those who want to add TON wallet payments or viral referral mechanics to a Mini App.

More from davila7/claude-code-templates

All 398

Similar to Telegram Mini App

More Web3 & Crypto