Use when the user needs hands-on practice after learning a concept -- generates exercises appropriate to the topic type (critical thinking, threat modeling, links to online labs)
Generate exercises appropriate to the topic type. Does NOT create fake labs -- links to real practice platforms for hands-on work.
Receives a concept the user just learned, and the topic type/context.
Based on the topic category, choose the appropriate exercise format:
Architecture / Design topics (e.g., secure AI architecture, cloud security design):
Certification / Offensive topics (e.g., OSCP, OSEP, pentesting):
Operations topics (e.g., SIEM/SOAR, incident response, monitoring):
Compliance / Governance topics (e.g., risk assessment, policy):
Create the exercise with:
## Exercise: <title>
**Concept:** <what this reinforces>
**Type:** <critical-thinking | threat-model | online-lab | scenario | config-review>
**Estimated time:** <rough estimate>
### Scenario
<description of the exercise>
### Your Task
<specific instructions -- what the user needs to do/answer>
### Hints (if needed)
<progressive hints, revealed one at a time when user asks>
For online lab exercises:
## Exercise: <title>
**Concept:** <what this reinforces>
**Type:** online-lab
**Platform:** <HackTheBox | TryHackMe | PortSwigger | OffSec>
### Recommended Lab
- [Lab Name](url) -- difficulty, what you'll practice
- [Alternative Lab](url) -- if the first isn't available
### What to Focus On
<specific things to pay attention to during the lab>
### After Completing
<questions to reflect on after finishing the lab>
Save to topics/<current-topic>/exercises/<slug>.md if a topic is active.
When the user completes the exercise and shares their answer: