agentsclimarketplace

Telegram debugging

Skill ballisarium/aiogram-bot-skills/skills/telegram-debugging

use when diagnosing or fixing a telegram or aiogram bot bug; баг, не работает, handler missing, filters, callbacks, stuck FSM, edit, webhook, API errors.From its SKILL.md

Install
npx -y skills add ballisarium/aiogram-bot-skills --skill telegram-debugging

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.1 KB, 391 tokens by cl100k_base, as published. Nobody here has run it

telegram debugging

reproduce or narrow the failure before changing code. fix the root cause without unrelated refactoring.

workflow

  1. establish the user action, expected and actual behavior, chat type, event or command, current state, aiogram version, recent changes, and relevant logs or traceback.
  2. make a focused test fail on the reported behavior before the fix. use an existing test when it proves the symptom; otherwise create the smallest regression test when feasible.
  3. classify the failure: registration or filter mismatch, callback payload or answer, FSM transition or cleanup, stale data, message edit, startup mode, middleware dependency, permission, race or double action, or telegram API handling.
  4. trace routing end to end: router inclusion and order, exact filters, command or callback prefix, state constraints, catch-all handlers, and middleware.
  5. trace data and state end to end: service inputs, repository query, transaction lifecycle, entity freshness, permissions, idempotency, and cleanup.
  6. for webhook or polling failures, confirm one startup mode, the real entrypoint, config loading, lifecycle hooks, and import safety.
  7. change the smallest area that explains the evidence. do not swallow telegram exceptions or repair the visible response while leaving state or data corrupt.
  8. add regression coverage for the failed route, payload, transition, stale entity, exception, or repeated action.
  9. use telegram-docs-check when an API exception, retry rule, signature, or payload contract is version-sensitive.
  10. use aiogram-bot-verify after code changes.

completion requires an evidence-backed root cause, a minimal fix, regression coverage or a stated reason it is infeasible, and safe verification.

guardrails

never guess past unchecked routing or state, use production tokens or live telegram requests in tests, start polling or a webhook during imports, or broaden a bug fix into an architecture rewrite.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.