Run Teaching Command
run_teaching_commandRun any shell command to get a structured teaching card: roadmap, explanations, flowchart, pitfalls, docs, and a quiz. Errors yield a tutor hotfix diagnostic.
Instructions
Execute (or dry-run) a shell command and return a full teaching card: roadmap alignment, level-appropriate What/How/Trade-offs, a Mermaid flowchart, pitfalls, curated docs, and an active-recall quiz. Errors return a Tutor Hotfix Diagnostic instead of throwing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for execution. | |
| command | Yes | The shell command to teach and optionally run. | |
| concept | No | Concept label for the card, e.g. 'Filesystem navigation'. | |
| dry_run | No | Explain without executing. | |
| is_dangerous | No | Caller-asserted danger flag. Dangerous commands are forced into dry-run. |