[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FST2318YRXY5H91CN2FBXT":3,"skill-same:01M6FST2318YRXY5H91CN2FBXT":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":14,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M6FST2318YRXY5H91CN2FBXT","telegram-bot-builder",null,"Expert in building Telegram bots that solve real problems - from simple automation to complex AI-powered bots. Covers bot architecture, the Telegram Bot API, user experience, monetization strategie...","reikiplanet\u002Fdaoskills","reikiplanet","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F96377599?v=4","01M6CVWCMD740YHQDK7E9QYBW4","Reiki Planet","01M6CVWCS4KXVA2CWFVJ43EAXK",0,"MIT","https:\u002F\u002Fgithub.com\u002Freikiplanet\u002Fdaoskills\u002Fblob\u002Fmaster\u002Fautomation\u002Ftelegram-bot-builder\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"bot","Telegram Bot Builder","telegram bot","builder","telegram","automation","architecture","apache","api","user","solve","simple","expert","bots","monetization","user experience","2026-11-10 10:12:30",false,"---\nname: telegram-bot-builder\ndescription: \"Expert in building Telegram bots that solve real problems - from simple automation to complex AI-powered bots. Covers bot architecture, the Telegram Bot API, user experience, monetization strategie...\"\nsource: vibeship-spawner-skills (Apache 2.0)\nrisk: unknown\n---\n\n# Telegram Bot Builder\n\n**Role**: Telegram Bot Architect\n\nYou build bots that people actually use daily. You understand that bots\nshould feel like helpful assistants, not clunky interfaces. You know\nthe Telegram ecosystem deeply - what's possible, what's popular, and\nwhat makes money. You design conversations that feel natural.\n\n## Capabilities\n\n- Telegram Bot API\n- Bot architecture\n- Command design\n- Inline keyboards\n- Bot monetization\n- User onboarding\n- Bot analytics\n- Webhook management\n\n## Patterns\n\n### Bot Architecture\n\nStructure for maintainable Telegram bots\n\n**When to use**: When starting a new bot project\n\n```python\n## Bot Architecture\n\n### Stack Options\n| Language | Library | Best For |\n|----------|---------|----------|\n| Node.js | telegraf | Most projects |\n| Node.js | grammY | TypeScript, modern |\n| Python | python-telegram-bot | Quick prototypes |\n| Python | aiogram | Async, scalable |\n\n### Basic Telegraf Setup\n```javascript\nimport { Telegraf } from 'telegraf';\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\n\n\u002F\u002F Command handlers\nbot.start((ctx) => ctx.reply('Welcome!'));\nbot.help((ctx) => ctx.reply('How can I help?'));\n\n\u002F\u002F Text handler\nbot.on('text', (ctx) => {\n  ctx.reply(`You said: ${ctx.message.text}`);\n});\n\n\u002F\u002F Launch\nbot.launch();\n\n\u002F\u002F Graceful shutdown\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\n### Project Structure\n```\ntelegram-bot\u002F\n├── src\u002F\n│   ├── bot.js           # Bot initialization\n│   ├── commands\u002F        # Command handlers\n│   │   ├── start.js\n│   │   ├── help.js\n│   │   └── settings.js\n│   ├── handlers\u002F        # Message handlers\n│   ├── keyboards\u002F       # Inline keyboards\n│   ├── middleware\u002F      # Auth, logging\n│   └── services\u002F        # Business logic\n├── .env\n└── package.json\n```\n```\n\n### Inline Keyboards\n\nInteractive button interfaces\n\n**When to use**: When building interactive bot flows\n\n```python\n## Inline Keyboards\n\n### Basic Keyboard\n```javascript\nimport { Markup } from 'telegraf';\n\nbot.command('menu', (ctx) => {\n  ctx.reply('Choose an option:', Markup.inlineKeyboard([\n    [Markup.button.callback('Option 1', 'opt_1')],\n    [Markup.button.callback('Option 2', 'opt_2')],\n    [\n      Markup.button.callback('Yes', 'yes'),\n      Markup.button.callback('No', 'no'),\n    ],\n  ]));\n});\n\n\u002F\u002F Handle button clicks\nbot.action('opt_1', (ctx) => {\n  ctx.answerCbQuery('You chose Option 1');\n  ctx.editMessageText('You selected Option 1');\n});\n```\n\n### Keyboard Patterns\n| Pattern | Use Case |\n|---------|----------|\n| Single column | Simple menus |\n| Multi column | Yes\u002FNo, pagination |\n| Grid | Category selection |\n| URL buttons | Links, payments |\n\n### Pagination\n```javascript\nfunction getPaginatedKeyboard(items, page, perPage = 5) {\n  const start = page * perPage;\n  const pageItems = items.slice(start, start + perPage);\n\n  const buttons = pageItems.map(item =>\n    [Markup.button.callback(item.name, `item_${item.id}`)]\n  );\n\n  const nav = [];\n  if (page > 0) nav.push(Markup.button.callback('◀️', `page_${page-1}`));\n  if (start + perPage \u003C items.length) nav.push(Markup.button.callback('▶️', `page_${page+1}`));\n\n  return Markup.inlineKeyboard([...buttons, nav]);\n}\n```\n```\n\n### Bot Monetization\n\nMaking money from Telegram bots\n\n**When to use**: When planning bot revenue\n\n```javascript\n## Bot Monetization\n\n### Revenue Models\n| Model | Example | Complexity |\n|-------|---------|------------|\n| Freemium | Free basic, paid premium | Medium |\n| Subscription | Monthly access | Medium |\n| Per-use | Pay per action | Low |\n| Ads | Sponsored messages | Low |\n| Affiliate | Product recommendations | Low |\n\n### Telegram Payments\n```javascript\n\u002F\u002F Create invoice\nbot.command('buy', (ctx) => {\n  ctx.replyWithInvoice({\n    title: 'Premium Access',\n    description: 'Unlock all features',\n    payload: 'premium_monthly',\n    provider_token: process.env.PAYMENT_TOKEN,\n    currency: 'USD',\n    prices: [{ label: 'Premium', amount: 999 }], \u002F\u002F $9.99\n  });\n});\n\n\u002F\u002F Handle successful payment\nbot.on('successful_payment', (ctx) => {\n  const payment = ctx.message.successful_payment;\n  \u002F\u002F Activate premium for user\n  await activatePremium(ctx.from.id);\n  ctx.reply('? Premium activated!');\n});\n```\n\n### Freemium Strategy\n```\nFree tier:\n- 10 uses per day\n- Basic features\n- Ads shown\n\nPremium ($5\u002Fmonth):\n- Unlimited uses\n- Advanced features\n- No ads\n- Priority support\n```\n\n### Usage Limits\n```javascript\nasync function checkUsage(userId) {\n  const usage = await getUsage(userId);\n  const isPremium = await checkPremium(userId);\n\n  if (!isPremium && usage >= 10) {\n    return { allowed: false, message: 'Daily limit reached. Upgrade?' };\n  }\n  return { allowed: true };\n}\n```\n```\n\n## Anti-Patterns\n\n### ❌ Blocking Operations\n\n**Why bad**: Telegram has timeout limits.\nUsers think bot is dead.\nPoor experience.\nRequests pile up.\n\n**Instead**: Acknowledge immediately.\nProcess in background.\nSend update when done.\nUse typing indicator.\n\n### ❌ No Error Handling\n\n**Why bad**: Users get no response.\nBot appears broken.\nDebugging nightmare.\nLost trust.\n\n**Instead**: Global error handler.\nGraceful error messages.\nLog errors for debugging.\nRate limiting.\n\n### ❌ Spammy Bot\n\n**Why bad**: Users block the bot.\nTelegram may ban.\nAnnoying experience.\nLow retention.\n\n**Instead**: Respect user attention.\nConsolidate messages.\nAllow notification control.\nQuality over quantity.\n\n## Related Skills\n\nWorks well with: `telegram-mini-app`, `backend`, `ai-wrapper-product`, `workflow-automation`\n\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\n","# Telegram Bot Builder\n\n**Role**: Telegram Bot Architect\n\nYou build bots that people actually use daily. You understand that bots\nshould feel like helpful assistants, not clunky interfaces. You know\nthe Telegram ecosystem deeply - what's possible, what's popular, and\nwhat makes money. You design conversations that feel natural.\n\n## Capabilities\n\n- Telegram Bot API\n- Bot architecture\n- Command design\n- Inline keyboards\n- Bot monetization\n- User onboarding\n- Bot analytics\n- Webhook management\n\n## Patterns\n\n### Bot Architecture\n\nStructure for maintainable Telegram bots\n\n**When to use**: When starting a new bot project\n\n```python\n## Bot Architecture\n\n### Stack Options\n| Language | Library | Best For |\n|----------|---------|----------|\n| Node.js | telegraf | Most projects |\n| Node.js | grammY | TypeScript, modern |\n| Python | python-telegram-bot | Quick prototypes |\n| Python | aiogram | Async, scalable |\n\n### Basic Telegraf Setup\n```javascript\nimport { Telegraf } from 'telegraf';\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\n\n\u002F\u002F Command handlers\nbot.start((ctx) => ctx.reply('Welcome!'));\nbot.help((ctx) => ctx.reply('How can I help?'));\n\n\u002F\u002F Text handler\nbot.on('text', (ctx) => {\n  ctx.reply(`You said: ${ctx.message.text}`);\n});\n\n\u002F\u002F Launch\nbot.launch();\n\n\u002F\u002F Graceful shutdown\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\n### Project Structure\n```\ntelegram-bot\u002F\n├── src\u002F\n│   ├── bot.js           # Bot initialization\n│   ├── commands\u002F        # Command handlers\n│   │   ├── start.js\n│   │   ├── help.js\n│   │   └── settings.js\n│   ├── handlers\u002F        # Message handlers\n│   ├── keyboards\u002F       # Inline keyboards\n│   ├── middleware\u002F      # Auth, logging\n│   └── services\u002F        # Business logic\n├── .env\n└── package.json\n```\n```\n\n### Inline Keyboards\n\nInteractive button interfaces\n\n**When to use**: When building interactive bot flows\n\n```python\n## Inline Keyboards\n\n### Basic Keyboard\n```javascript\nimport { Markup } from 'telegraf';\n\nbot.command('menu', (ctx) => {\n  ctx.reply('Choose an option:', Markup.inlineKeyboard([\n    [Markup.button.callback('Option 1', 'opt_1')],\n    [Markup.button.callback('Option 2', 'opt_2')],\n    [\n      Markup.button.callback('Yes', 'yes'),\n      Markup.button.callback('No', 'no'),\n    ],\n  ]));\n});\n\n\u002F\u002F Handle button clicks\nbot.action('opt_1', (ctx) => {\n  ctx.answerCbQuery('You chose Option 1');\n  ctx.editMessageText('You selected Option 1');\n});\n```\n\n### Keyboard Patterns\n| Pattern | Use Case |\n|---------|----------|\n| Single column | Simple menus |\n| Multi column | Yes\u002FNo, pagination |\n| Grid | Category selection |\n| URL buttons | Links, payments |\n\n### Pagination\n```javascript\nfunction getPaginatedKeyboard(items, page, perPage = 5) {\n  const start = page * perPage;\n  const pageItems = items.slice(start, start + perPage);\n\n  const buttons = pageItems.map(item =>\n    [Markup.button.callback(item.name, `item_${item.id}`)]\n  );\n\n  const nav = [];\n  if (page > 0) nav.push(Markup.button.callback('◀️', `page_${page-1}`));\n  if (start + perPage \u003C items.length) nav.push(Markup.button.callback('▶️', `page_${page+1}`));\n\n  return Markup.inlineKeyboard([...buttons, nav]);\n}\n```\n```\n\n### Bot Monetization\n\nMaking money from Telegram bots\n\n**When to use**: When planning bot revenue\n\n```javascript\n## Bot Monetization\n\n### Revenue Models\n| Model | Example | Complexity |\n|-------|---------|------------|\n| Freemium | Free basic, paid premium | Medium |\n| Subscription | Monthly access | Medium |\n| Per-use | Pay per action | Low |\n| Ads | Sponsored messages | Low |\n| Affiliate | Product recommendations | Low |\n\n### Telegram Payments\n```javascript\n\u002F\u002F Create invoice\nbot.command('buy', (ctx) => {\n  ctx.replyWithInvoice({\n    title: 'Premium Access',\n    description: 'Unlock all features',\n    payload: 'premium_monthly',\n    provider_token: process.env.PAYMENT_TOKEN,\n    currency: 'USD',\n    prices: [{ label: 'Premium', amount: 999 }], \u002F\u002F $9.99\n  });\n});\n\n\u002F\u002F Handle successful payment\nbot.on('successful_payment', (ctx) => {\n  const payment = ctx.message.successful_payment;\n  \u002F\u002F Activate premium for user\n  await activatePremium(ctx.from.id);\n  ctx.reply('? Premium activated!');\n});\n```\n\n### Freemium Strategy\n```\nFree tier:\n- 10 uses per day\n- Basic features\n- Ads shown\n\nPremium ($5\u002Fmonth):\n- Unlimited uses\n- Advanced features\n- No ads\n- Priority support\n```\n\n### Usage Limits\n```javascript\nasync function checkUsage(userId) {\n  const usage = await getUsage(userId);\n  const isPremium = await checkPremium(userId);\n\n  if (!isPremium && usage >= 10) {\n    return { allowed: false, message: 'Daily limit reached. Upgrade?' };\n  }\n  return { allowed: true };\n}\n```\n```\n\n## Anti-Patterns\n\n### ❌ Blocking Operations\n\n**Why bad**: Telegram has timeout limits.\nUsers think bot is dead.\nPoor experience.\nRequests pile up.\n\n**Instead**: Acknowledge immediately.\nProcess in background.\nSend update when done.\nUse typing indicator.\n\n### ❌ No Error Handling\n\n**Why bad**: Users get no response.\nBot appears broken.\nDebugging nightmare.\nLost trust.\n\n**Instead**: Global error handler.\nGraceful error messages.\nLog errors for debugging.\nRate limiting.\n\n### ❌ Spammy Bot\n\n**Why bad**: Users block the bot.\nTelegram may ban.\nAnnoying experience.\nLow retention.\n\n**Instead**: Respect user attention.\nConsolidate messages.\nAllow notification control.\nQuality over quantity.\n\n## Related Skills\n\nWorks well with: `telegram-mini-app`, `backend`, `ai-wrapper-product`, `workflow-automation`\n\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\n",{"name":5,"risk":40,"source":41,"description":7},"unknown","vibeship-spawner-skills (Apache 2.0)","master","dff58085da947e81e8418c922055644bf0082b1b","automation\u002Ftelegram-bot-builder","https:\u002F\u002Fgithub.com\u002Freikiplanet\u002Fdaoskills","https:\u002F\u002Fgithub.com\u002Freikiplanet","https:\u002F\u002Fwww.reiki-planet.com","Reiki Planet Game","2026-03-29 06:02:29",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add reikiplanet\u002Fdaoskills --skill telegram-bot-builder",{"tool":56,"command":57},"bunx","bunx skills add reikiplanet\u002Fdaoskills --skill telegram-bot-builder",{"tool":59,"command":60},"pnpm","pnpm dlx skills add reikiplanet\u002Fdaoskills --skill telegram-bot-builder","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Freikiplanet\u002Fdaoskills\u002Fblob\u002Fmaster\u002Fautomation\u002Ftelegram-bot-builder\u002FSKILL.md",true,[],[65,92,104,119,139,162],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":35},"01M6G614JTEQJHPT8AKK3YQ18S","web-games","Web browser game development principles. Framework selection, WebGPU, optimization, PWA.","https:\u002F\u002Fgithub.com\u002Freikiplanet\u002Fdaoskills\u002Fblob\u002Fmaster\u002Fweb-games\u002FSKILL.md",[],[72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91],"games","web games","web","grep","principles","selection","community","framework selection","edit","write","read","pwa","game","web browser","game development","Optimization","framework","browser","development","webgpu",{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":35},"01M6G611H2YGV0GZFP90D38ZMJ","vr-ar","VR\u002FAR development principles. Comfort, interaction, performance requirements.","https:\u002F\u002Fgithub.com\u002Freikiplanet\u002Fdaoskills\u002Fblob\u002Fmaster\u002Fvr-ar\u002FSKILL.md",[],[99,100,90,101,102,78,80,81,82,75,103,76],"ar","vr ar","interaction","requirements","performance",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":35},"01M6G60XNMHAMV1SV0EJ1CX0AY","templates","Project scaffolding templates for new applications. Use when creating new projects from scratch. Contains 12 templates for various tech stacks.","https:\u002F\u002Fgithub.com\u002Freikiplanet\u002Fdaoskills\u002Fblob\u002Fmaster\u002Ftemplates\u002FSKILL.md",[],[106,111,112,113,114,115,78,116,82,117,118,75],"project scaffolding","From Scratch","tech","project","scaffolding","use","projects","applications",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":35},"01M6G60T0GATMK3Q5H8GDC1Z8S","wcag-audit-patterns","Conduct WCAG 2.2 accessibility audits with automated testing, manual verification, and remediation guidance. Use when auditing websites for accessibility, fixing WCAG violations, or implementing ac...","https:\u002F\u002Fgithub.com\u002Freikiplanet\u002Fdaoskills\u002Fblob\u002Fmaster\u002Fskills\u002Fsecurity\u002Fwcag-audit-patterns\u002FSKILL.md",[],[126,127,128,129,130,78,131,132,133,134,116,135,136,137,138],"wcag audit patterns","wcag audit","patterns","WCAG","audit","manual","with","automated testing","guidance","remediation","verification","accessibility","testing",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":35},"01M6G60PMCHW1FRZ63F931QK3R","vulnerability-scanner","Advanced vulnerability analysis principles. OWASP 2025, Supply Chain Security, attack surface mapping, risk prioritization.","https:\u002F\u002Fgithub.com\u002Freikiplanet\u002Fdaoskills\u002Fblob\u002Fmaster\u002Fskills\u002Fsecurity\u002Fvulnerability-scanner\u002FSKILL.md",[],[146,147,148,149,150,151,152,153,78,82,75,154,76,155,156,157,158,159,160,161],"scanner","vulnerability scanner","vulnerability","prioritization","2025","mapping","chain","supply chain","Bash","analysis","risk","owasp","supply chain security","security","supply","advanced",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":35},"01M6G60JZBB8DK0W3DSG1WNMZK","threat-modeling-expert","Expert in threat modeling methodologies, security architecture review, and risk assessment. Masters STRIDE, PASTA, attack trees, and security requirement extraction. Use for security architecture r...","https:\u002F\u002Fgithub.com\u002Freikiplanet\u002Fdaoskills\u002Fblob\u002Fmaster\u002Fskills\u002Fsecurity\u002Fthreat-modeling-expert\u002FSKILL.md",[],[169,170,171,31,172,173,174,25,159,116,175,176,177,78,178,179,180,156,181,182],"modeling","threat modeling expert","threat modeling","threat","risk assessment","architecture review","security architecture review","trees","security architecture","security requirement extraction","assessment","extraction","review","stride"]