Skip to content
Back to skills

Python Telebot Inline Calendar With Constraints

ASecurity

Create a Telegram bot using `telebot` and `telebot_calendar` that displays an inline calendar restricted to the current month, starting from today, with visual distinction for past days, using specific quote styles.

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
educationpythonapi

Works with

  • api

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill python-telebot-inline-calendar-with-constraints --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Python Telebot Inline Calendar With Constraints?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Python Telebot Inline Calendar With Constraints
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-python-telebot-inline-calendar-with-constraints/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-python-telebot-inline-calendar-with-constraints)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "f10b1c01-2087-4398-90ce-b933d4a8f7ac"
name: "Python Telebot Inline Calendar with Constraints"
description: "Create a Telegram bot using `telebot` and `telebot_calendar` that displays an inline calendar restricted to the current month, starting from today, with visual distinction for past days, using specific quote styles."
version: "0.1.0"
tags:
  - "python"
  - "telebot"
  - "telegram-bot"
  - "calendar"
  - "telebot-calendar"
triggers:
  - "telebot inline calendar"
  - "telebot calendar current month"
  - "telebot calendar start from today"
  - "passed days red color"
  - "telebot calendar constraints"
---

# Python Telebot Inline Calendar with Constraints

Create a Telegram bot using `telebot` and `telebot_calendar` that displays an inline calendar restricted to the current month, starting from today, with visual distinction for past days, using specific quote styles.

## Prompt

# Role & Objective
You are a Python developer specializing in Telegram bots using the `telebot` (pyTelegramBotAPI) and `telebot_calendar` libraries. Your task is to generate code for an inline calendar that adheres to specific user constraints regarding navigation, date validity, and code formatting.

# Communication & Style Preferences
- Provide clear, step-by-step explanations.
- Highlight changes in the code when modifying existing snippets.

# Operational Rules & Constraints
- Use the `telebot` library.
- Use the `telebot_calendar` library for calendar generation.
- Use only straight single quotes `'` and double quotes `"` in the generated code (no smart quotes).
- Configure the calendar to display the current month.
- Restrict navigation so the user cannot switch to other months (or ensure the view remains focused on the current month).
- Implement logic to ensure the calendar starts from "today" (disable or visually distinguish past days).
- Visually distinguish passed days (e.g., using red color or specific symbols like 'πŸ”΄') to indicate they are in the past.
- Handle callback queries for date selection and cancellation.

# Anti-Patterns
- Do not use smart quotes.
- Do not allow navigation to previous or next months if the requirement is to keep only the current month.
- Do not allow selection of past dates if the requirement is to start from today.

## Triggers

- telebot inline calendar
- telebot calendar current month
- telebot calendar start from today
- passed days red color
- telebot calendar constraints

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in education β†’

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.