소스 정보
- 저장소
- atipugin/telegram-bot-ruby
- 최근 소스 활동
- 2026년 3월 23일 10:46
- 감지된 SKILL.md 언어
- 영어
- 스타
- 1,425
- 포크
- 224
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/atipugin/telegram-bot-ruby --skill update-api명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | update-api |
| description | Parse Telegram Bot API docs and rebuild generated Ruby types and endpoints |
| disable-model-invocation | true |
| allowed-tools | Bash, Read, Edit, Grep, WebFetch |
Update generated types and API endpoints from the latest Telegram Bot API documentation.
CHANGELOG.md and find the highest Bot API version mentioned to determine which version this lib currently supports.Run both parse tasks to scrape the latest Telegram Bot API docs:
bundle exec rake parse:types
bundle exec rake parse:methods
Before rebuilding, read the custom method files listed in Step 4 so you have a snapshot of their current content.
Regenerate Ruby source files from the parsed JSON data:
bundle exec rake rebuild:types
bundle exec rake rebuild:methods
The rebuild overwrites type files from templates, losing hand-written methods. After rebuild, read each file below and restore the custom method if it's missing:
| File | Method to restore |
|---|---|
lib/telegram/bot/types/callback_query.rb | def to_s returning data.to_s |
lib/telegram/bot/types/message.rb | def to_s returning text.to_s |
lib/telegram/bot/types/chosen_inline_result.rb | alias to_s query |
lib/telegram/bot/types/inline_query.rb | alias to_s query |
lib/telegram/bot/types/inline_keyboard_markup.rb | def to_compact_hash that calls to_compact_hash on nested InlineKeyboardButton items |
lib/telegram/bot/types/reply_keyboard_markup.rb | def to_compact_hash that calls to_compact_hash on nested KeyboardButton items |
lib/telegram/bot/types/update.rb | def current_message that finds the first non-update_id attribute value |
For each file:
end of the class, with one blank line before itRun git diff --stat and then git diff to review all changes. Summarize what was added/modified/removed compared to the previous version.
Run linting and tests to verify everything is correct:
bundle exec rubocop
bundle exec rake spec
If rubocop or tests fail, fix the issues before finishing.