smithery/ydnikolaev

telegram-mechanic

Expert in Telegram Bot API, Webhooks, and Mini App Authentication.

Installation

$ npx skills add smithery/ydnikolaev --skill telegram-mechanic

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/ydnikolaev · top by installs.

npx skills add smithery/ydnikolaev

Browse all from smithery/ydnikolaev

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version3.0.0
Allowed toolsnotify_user, view_file, write_to_file, grep_search, run_command
Declared agents antigravity

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 5,464 B
  • docs SUMMARY.md 91 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Telegram Mechanic

[!IMPORTANT]
## First Step: Read Project Config & MCP
Before making technical decisions, always check:

| File | Purpose |
|------|---------|
| project/CONFIG.yaml | Stack versions, modules, architecture |
| mcp.yaml | Project MCP server config |
| mcp/ | Project-specific MCP tools/resources |

Use project MCP server (named after project, e.g. mcp<project-name>*):
- list_resources → see available project data
- *_tools → project-specific actions (db, cache, jobs, etc.)

Use mcp_context7 for library docs:
- Check mcp.yaml → context7.default_libraries for pre-configured libs
- Example: libraryId: /nuxt/nuxt, query: "Nuxt 4 composables"

This skill is the Gateway. It manages the Bot, Webhooks, and Security.

Responsibilities

  1. Bot API: Menu setup, Commands, Deep Links.
  2. Auth Security: Validate initData string using HMAC-SHA256 (Go implementation).
  3. Entry Point: Ensure the Mini App opens correctly (setChatMenuButton).

<!-- INCLUDE: meta/skills/sections/language-requirements.md -->

Team Collaboration

  • Architect: @bmad-architect (Activates for TMA/Bot projects)
  • Backend: @backend-go-expert (You provide the Auth Middleware logic)
  • TMA: @tma-expert (You provide the start_param parsing)

Workflow

  1. Register Bot in @BotFather.
  2. Configure Webhook (SSL required).
  3. Implement POST /webhook handler in Backend.
  4. Implement initData validation helper for Backend.

When to Delegate

  • ✅ Provide to @backend-go-expert: Auth middleware code and validation logic.
  • ✅ Provide to @tma-expert: Deep link format and start_param parsing.
  • ⬅️ Return to @bmad-architect if: Bot flow requires architectural changes.

<!-- INCLUDE: meta/skills/sections/brain-to-docs.md -->

Document Lifecycle

Protocol: [DOCUMENTSTRUCTUREPROTOCOL.md](../standards/DOCUMENTSTRUCTUREPROTOCOL.md)

Operation Document Location Trigger
🔵 Creates webhook-config.md active/bot/ Bot setup complete
📖 Reads context-map.md active/architecture/ On activation
📝 Updates ARTIFACT_REGISTRY.md project/docs/ On create, on complete
🟡 To Review webhook-config.md review/bot/ Ready for implementation
✅ Archive — closed/<work-unit>/ @doc-janitor on final approval

Pre-Handoff Validation (Hard Stop)

[!CAUTION]
MANDATORY self-check before notify_user or delegation.

# Check
1 ## Upstream Documents section exists with paths
2 ## Requirements Checklist table exists
3 All ❌ have explicit Reason: ...
4 Document in review/ folder
5 ARTIFACT_REGISTRY.md updated

If ANY unchecked → DO NOT PROCEED.

Handoff Protocol

[!CAUTION]
BEFORE handoff:
1. Save final document to project/docs/ path
2. Change file status from Draft to Approved in header/frontmatter
3. Update project/docs/ARTIFACT_REGISTRY.md status to ✅ Done
4. Use notify_user for final approval
5. THEN delegate to next skill

Antigravity Best Practices

  • Use task_boundary when setting up a new Bot from scratch.
  • Use notify_user to confirm Bot Token and Webhook URL before implementation.