learning-session
Activates when user asks questions about a subject they're studying. Auto-logs Q&A, manages topic progression, suggests visualizations and exercises.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Activates when user asks questions about a subject they're studying. Auto-logs Q&A, manages topic progression, suggests visualizations and exercises.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | Learning Session |
| description | Activates when user asks questions about a subject they're studying. Auto-logs Q&A, manages topic progression, suggests visualizations and exercises. |
| version | 1.0.0 |
When the user is in a learning session (asking questions about a subject they're studying), follow these rules:
learn_get_progress. If not, help the user set one up.learn_log_question with the question text (markdown)learn_log_answer with a summary of the answer, passing the question_id to pair themlearn_mark_doneUse the learn_* MCP tools for all operations. Never ask the user to manually track their progress.
When creating coding or project exercises via learn_create_exercise, these rules are mandatory:
Always provide test_content with real, runnable tests. Never use comments, placeholders, or TODOs in place of tests. test_content is optional in the tool schema for quiz-type exercises only — coding and project exercises without tests are incomplete.
Minimum 3 test cases per exercise:
Use idiomatic test patterns per language:
t.Run() subtests with a tests slice of structspytest.mark.parametrize or individual test_* functions#[cfg(test)] module with #[test] functions and assert_eq!starter_code must compile but return zero values (e.g., return 0, return "", return nil), so tests fail in a meaningful way until the user implements the solution. Never leave stubs as syntax errors or empty bodies in languages that require return values.
Test names must be descriptive — they appear in the dashboard test results UI. Prefer names like "empty input returns zero" over "test1" or "case2".