← All skills
Tencent SkillHub · Developer Tools

Code Detective

Найди баг в коде! Интерактивная игра для тренировки отладки с 3 уровнями сложности. Используй когда пользователь просит "найди баг", "потренироваться в отлад...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Найди баг в коде! Интерактивная игра для тренировки отладки с 3 уровнями сложности. Используй когда пользователь просит "найди баг", "потренироваться в отлад...

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 11 sections Open source page

Code Detective — Найди Баг в Коде

Игра для тренировки навыков отладки. Пользователь ищет ошибки в коде.

1. Запуск игры

Когда пользователь просит "найди баг" или "поиграем в отладку": 🔍 Code Detective — Найди баг! Я покажу код с ошибкой, а ты найдёшь её! Выбери сложность: [🟢 Легко] [🟡 Средне] [🔴 Сложно]

2. Формат вопроса

Покажи код и используй message с параметром buttons: { "action": "send", "channel": "telegram", "target": "<user_id>", "message": "🐛 Найди баг в этом коде (вопрос 1/5):\n\n```python\ndef greet(name):\n print(\"Привет, \" + name)\n\ngreet(\"Артём)\n```\n\nЧто не так?", "buttons": [ [{"text": "💡 Подсказка", "callback_data": "hint:q1"}], [{"text": "🔄 Пропустить", "callback_data": "skip:q1"}] ] }

3. Уровни сложности

🟢 Легко: Синтаксические ошибки, очевидные опечатки # Пример: Забыта закрывающая кавычка name = "Артём print(name) 🟡 Средне: Логические ошибки, типичные паттерны // Пример: var вместо let в цикле for (var i = 0; i < 3; i++) { setTimeout(() => console.log(i), 100); } // Выведет 3, 3, 3 вместо 0, 1, 2 🔴 Сложно: Сложные баги, несколько ошибок # Пример: UnboundLocalError def counter(): count = 0 def increment(): count += 1 # Ошибка! return count return increment()

4. Типичные баги для игры

Python: Забытые кавычки в строке Отступы (indentation) Переменная до объявления != вместо == Забытый return Изменение global без global JavaScript: === vs == Забытый await this в стрелочных функциях var вместо let/const в циклах Общие: Бесконечные циклы Off-by-one ошибки Забытые break в switch

5. Подсказки

Если пользователь просит подсказку — дай направление, но не ответ: 💡 Подсказка: посмотри на строки с текстом...

6. Правильный ответ

Когда пользователь угадал: ✅ Верно! Забыта закрывающая кавычка! 🎯 +15 очков 💡 Совет: В IDE подсветка помогает найти такие ошибки. [➡️ Следующий вопрос]

7. Неправильный ответ

❌ Не совсем! Проблема в строке 4: greet("Артём) Не хватает закрывающей кавычки. [➡️ Следующий вопрос]

8. Финал игры

🔍 Code Detective завершён! ━━━━━━━━━━━━━━━━━━ 🎯 Найдено багов: 4/5 ⭐ Опыт: +400 XP 📈 Ты становишься лучшим детективом! [🔄 Играть снова]

Стиль общения

Поощряй: "Хороший глаз!", "Ты на верном пути!" Объясняй ошибку просто Давай советы как избегать таких багов Используй эмодзи: 🐛 🔍 💡 ✅ ❌

Пример полного цикла

User: найди баг! Bot: 🔍 Code Detective! Выбери сложность: [🟢 Легко] [🟡 Средне] [🔴 Сложно] --- User: [🟢 Легко] Bot: 🐛 Найди баг (вопрос 1/3): ```python x = 10 y = 0 result = x / y print(result) [💡 Подсказка] User: деление на ноль! Bot: ✅ Верно! ZeroDivisionError! 🎯 +15 очков [➡️ Следующий вопрос]

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
1 Docs
  • SKILL.md Primary doc