add-exercise

Insert formatted exercise and solution blocks into training lessons.

261|325|Updated Aug 27, 2020
One-click install
npx skills add https://github.com/nextflow-io/training --skill add-exercise
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-exercise
Source: https://github.com/nextflow-io/training/tree/main/.claude/skills/add-exercise
Command: npx skills add https://github.com/nextflow-io/training --skill add-exercise

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating interactive exercises and corresponding solutions for training lessons is repetitive and error-prone. This Skill provides a standardized, repeatable way to insert well-formatted exercise blocks and solutions into existing lessons, ensuring consistency across the training repo.

Core Features & Use Cases

  • Automated exercise scaffolding: generates properly formatted exercise and solution admonitions in the target lesson.
  • Flexible integration: supports insertion at appropriate points in the lesson and optional creation of a solution file.
  • Real-world workflows: ideal for Nextflow training where learners practice writing and testing components, modules, or pipelines.

Quick Start

Use the add-exercise skill to insert an exercise into a lesson file, specify the target lesson and the practice objective.

Frequently Asked Questions about add-exercise

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add hands-on exercises to Nextflow training lessons?

You can add hands-on exercises by generating standardized exercise and solution admonition blocks, inserting them at appropriate points in the lesson, and optionally creating separate solution files.

What is the best way to format solution blocks in a training repository?

The best way to format solution blocks is using standardized admonitions that meet repo conventions, ensuring frontmatter metadata and optional asset references are correctly applied across the training material.

Can I generate separate solution files for guided practice exercises?

Yes, the skill supports optional creation of separate solution files alongside inserting exercise admonition blocks directly into the main lesson file.

Do I need to manually update frontmatter metadata when inserting an exercise?

No, you do not need to manually update frontmatter metadata. The automated scaffolding meets frontmatter metadata requirements defined by repo conventions when inserting exercise blocks.

How does automated exercise scaffolding work for lesson creation?

Automated exercise scaffolding works by applying standardized admonition blocks and optional asset references to existing lessons, creating a repeatable way to insert guided practice exercises without formatting errors.