This is a complete project template for building Telegram bots with grammY on Cloudflare Workers, backed by D1 SQLite databases and Drizzle ORM. It handles the full setup: dual environment configs (dev and production branches), database migrations, TypeScript types, Vitest testing, and GitHub Actions that auto-deploy when you push. The approach is opinionated but coherent, giving you user tables with relations, webhook handlers, and pre-commit hooks out of the box. If you're starting a new bot project and want modern tooling without stitching together five different tutorials, this gets you from zero to deployed in about twenty minutes. The multi-environment workflow is the real value here, most starter templates skip that part entirely.

skills.sh installs
292
GitHub stars
3
last updated
Aug 21, 2026

Install

$ npx -y skills add pbnicad/telegram-bot-grammy-skill --skill telegram-bot-grammy --agent claude-code

Installs into .claude/skills of the current project.

Files

Telegram Bot Development Skill (grammY + Cloudflare Workers)

Tech Stack

ComponentTechnology
FrameworkgrammY
LanguageTypeScript
RuntimeCloudflare Workers
ORMDrizzle ORM
DatabaseCloudflare D1 (SQLite)
TestingVitest
LintingBiome
Package Managerpnpm
Git HooksHusky + lint-staged
CI/CDGitHub Actions (multi-environment)

Environment Configuration

BranchEnvironmentWorker NameDatabase
devdevelopmentmy-telegram-bot-devtelegram-bot-db-dev
mainproductionmy-telegram-bottelegram-bot-db

Project Initialization

1. Create Project

pnpm create cloudflare@latest my-telegram-bot
# Select: "Hello World" Worker, TypeScript: Yes, Git: Yes, Deploy: No

cd my-telegram-bot

2. Install Dependencies

# Core dependencies
pnpm add grammy drizzle-orm

# Dev dependencies
pnpm add -D drizzle-kit vitest @vitest/coverage-v8 @biomejs/biome husky lint-staged

3. Create Drizzle Config (drizzle.config.ts)

Sponsors

Details

Repository
github.com/pbnicad/telegram-bot-grammy-skill
Categories
Frontend Development, Backend & APIs, Testing & QA, DevOps & CI/CD, Git & Pull Requests, Documentation, Cloud & Infrastructure, Databases
First seen
Jun 3, 2026
1postplusai avatarvisual-hookpostplusai/postplus-skillsDesign and critique TikTok/Reels visual hooks for short-form slideshow or video production. Use this when discussing how to make the first image, first frame, o287skills.sh installs
2zeroz-lab avatarcc-designzeroz-lab/cc-designHigh-fidelity HTML design and prototype creation. Use this skill whenever the user asks to design, prototype, mock up, or build visual artifacts in HTML — inclu287skills.sh installs
3wix avatarwix-cli-orchestratorwix/skillsBLOCKING REQUIREMENT - When user requests to add/build/create/implement ANY feature or component for a Wix CLI app, you MUST invoke this skill IMMEDIATELY as yo286skills.sh installs
4mitsuhiko avatarsummarizemitsuhiko/agent-stuffFetch a URL or convert a local file (PDF/DOCX/HTML/etc.) into Markdown using `uvx markitdown`, optionally it can summarize285skills.sh installs
5postplusai avatarpersona-packpostplusai/postplus-skillsBuild fact-grounded short-form video personas and visual consistency packs from validated benchmark research. Use this when you need to define a repeatable crea285skills.sh installs
6patricio0312rev avatarproject-scaffolderpatricio0312rev/skillsGenerates complete starter repositories for various tech stacks (Next.js, Vite, Nest, FastAPI, etc.) with best-practice conventions, folder structure, baseline 284skills.sh installs