generate_challenge
Create JavaScript coding challenges based on specific topics and your skill level, using optional code context for personalization.
Instructions
Generate a JavaScript coding challenge based on a topic or your current code. Challenges are calibrated to your skill level from Kadmia.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | The JavaScript topic for the challenge (e.g., 'array methods', 'promises', 'closures') | |
| code_context | No | Optional code you're working on to make the challenge relevant | |
| difficulty | No | Difficulty relative to your current level (default: match_level) |