add-exercise
БесплатноБез исполняемых скриптовНе проверенAdd an interactive exercise with solution to an existing lesson. Creates properly formatted exercise and solution admonition blocks. Use when a lesson needs…
от nextflow-io★ 283 звезды на GitHubОб этом скилле
Add an exercise with solution to an existing training lesson.
See ../shared/repo-conventions.md for directory structure and file conventions.
Follow these steps:
Ask the user:
- Which lesson file to add the exercise to
- What the exercise should teach/practice
- Difficulty level (beginner, intermediate, advanced)
Read the lesson file to understand context
Create the exercise using the
??? exerciseadmonition:??? exercise "Exercise: [Title]" Brief description of what to do. 1. First step 2. Second step 3. Expected outcome !!! tip Helpful hint if neededCreate the corresponding solution using
??? solutionor??? result:??? solution "Solution" Explanation of the solution approach. ```groovy title="filename.nf" linenums="1" [solution code] ``` Expected output: ```console title="Output" [expected output] ```If the exercise requires a solution file:
- Create the solution script in
[module]/solutions/ - Follow naming convention matching the exercise
- Ensure the solution script is complete and tested
- Add comments explaining key parts
- Create the solution script in
Insert the exercise at an appropriate point in the lesson:
- After explaining the relevant concept
- Before the section's Takeaway
- With clear connection to learning objectives
Test the exercise:
- Verify instructions are clear
- Confirm solution code works
- Check that exercise difficulty is appropriate
- Ensure expected output is correct
Remind the user to:
- Test the solution code themselves
- Consider if hints are needed
- Preview how it renders in the docs
- Check that file paths in exercise are correct
Установить add-exercise в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл add-exercise?
Add an interactive exercise with solution to an existing lesson. Creates properly formatted exercise and solution admonition blocks. Use when a lesson needs hands-on practice.
Как установить скилл add-exercise?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл add-exercise запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic