Логотип Matlab Create Course Activity

Matlab Create Course Activity

Організація
matlab
matlab-create-course-activity

Create MATLAB Course Designer MATLAB Exercise learning activities by wrapping the existing matlab-generate-grader-assessments skill, then validating generated solution.m, template.m, and tests.m files with MATLAB MCP Server tool calls. Use when the user asks to create a MATLAB Exercise, MATLAB course activity, Course Designer MATLAB activity, validated MATLAB solution file, or MATLAB Exercise component folder.

Огляд

Видавецьmatlab
Репозиторійagent-skills-playground
Назва навичкиmatlab-create-course-activity
Зірки
179
Форки
32
Файли в пакеті
3
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 3

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: matlab. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Matlab Create Course Activity у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/matlab/agent-skills-playground/tree/main/demos/course-generation/skills/matlab-create-course-activity
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/matlab/agent-skills-playground.git /tmp/agent-skills-playground
mkdir -p .claude/skills
cp -r /tmp/agent-skills-playground/demos/course-generation/skills/matlab-create-course-activity .claude/skills/matlab-create-course-activity
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Matlab Create Course Activity в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Matlab Create Course Activity, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Matlab Create Course Activity не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

MATLAB Course Activity Generator

Create MATLAB Course Designer-ready MATLAB Exercise learning activities. This skill is a wrapper around the existing matlab-generate-grader-assessments skill: use matlab-generate-grader-assessments first to create the shared MATLAB Grader-style component parts, then use MATLAB MCP Server tool calls to validate the generated MATLAB files and add Course Designer authoring metadata.

Input

The user may have provided a module objective or activity idea in their request. If it is missing or too vague, collect missing activity inputs in Step 1.

Reference Files

Read these references from the references/ directory as needed:

  • references/grader-wrapper-workflow.md — how to call and use matlab-generate-grader-assessments
  • references/matlab-validation-rules.md — MATLAB MCP validation workflow
  • references/course-designer-artifacts.md — output folder and metadata rules

Read references/grader-wrapper-workflow.md and references/course-designer-artifacts.md before creating artifacts.

Required Tooling

Use the existing matlab-generate-grader-assessments skill for the initial component generation. Use MATLAB MCP Server calls for validation:

  • detect_matlab_toolboxes for product/toolbox availability
  • check_matlab_code for static analysis of .m files
  • run_matlab_file for runnable scripts, validation drivers, or test harnesses
  • evaluate_matlab_code for targeted checks, path setup, function calls, and MATLAB Exercise test smoke checks

Do not claim a MATLAB Exercise is ready unless the generated MATLAB files have been checked through MATLAB MCP calls or the final output clearly marks validation as partial.

Pipeline Overview

Step 1: Collect activity inputs and Course Designer placement
Step 2: Invoke grader for shared MATLAB Exercise component parts
Step 3: Split description.txt into background.m and task.m
Step 4: Add Course Designer-only authoring fields
Step 5: Validate solution.m, template.m, and tests.m with MATLAB MCP calls
Step 6: Write Course Designer-ready activity metadata and review notes

Step 1: Activity Inputs

Collect only missing information:

  • Course title or course identifier
  • Module title and module order
  • Learning activity title and activity order
  • Module objective and observable learner outcome
  • MATLAB concept: script, function, class, object usage, data analysis, visualization, numerical methods, app workflow, or another domain
  • Assessment purpose: formative, summative, or both
  • Required MATLAB and toolbox products
  • Starter/template expectations
  • Solution behavior
  • Validation requirements
  • Output directory

Default to a Course Designer learning activity type of MATLAB Exercise.

Step 2: Invoke matlab-generate-grader-assessments

Use references/grader-wrapper-workflow.md.

Call or prompt the existing matlab-generate-grader-assessments skill before creating Course Designer metadata. The expected matlab-generate-grader-assessments output is:

  • description.txt
  • template.m
  • solution.m
  • tests.m
  • function_call.m (Function assessment items)
  • supporting_class.m (Object usage assessment items)

Store the matlab-generate-grader-assessments output under:

text
grader-items/module-NN-activity-MM-[slug]/

[slug] is the assessment item's snake_case title with underscores replaced by hyphens. This wrapper placement overrides the generator's standalone {snake_title}/ folder rule.

Do not hand-write these files first. If matlab-generate-grader-assessments is unavailable, stop and report that MATLAB Exercise generation is blocked unless the user explicitly accepts a planning-only fallback.

Step 3: Split Description for Course Designer

Create two plaintext .m files from description.txt for copy/paste into the MATLAB Course Designer web application:

Per the MATLAB Course Designer documentation for creating MATLAB Exercises: https://www.mathworks.com/help/matlab-and-simulink-online-courses/ug/create-matlab-exercise-using-matlab-course-designer.html

  • The Background field sets the context for the task, explains the learning objective, and provides high-level information learners need to complete the task.
  • The Task field provides the instructions learners follow to complete the task, including specific instructions such as which functions or variable names to use.

Treat background.m and task.m as plain-text field transport files, not executable MATLAB scripts. Preserve the text exactly as it should be pasted into Course Designer. Do not prefix prose with % solely to make the files valid MATLAB code.

Split workflow:

  1. Read description.txt once and mark each paragraph as context, objective, prerequisite, instruction, deliverable, constraint, self-check, or grading detail.
  2. Put only context, purpose, learning objective, and necessary high-level prerequisite information in background.m.
  3. Put concrete learner instructions, ordered task steps, deliverables, required variable/function/file names, constraints, expected outputs, and self-check prompts in task.m.
  4. Move implementation details out of background.m and into task.m.
  5. Move broad conceptual exposition out of task.m unless it is needed to understand a specific instruction.
  6. If description.txt has no clear boundary, create a concise background from the opening context and put the full actionable prompt in task.m.
  7. Keep hidden-test details, reference solution details, and grading mechanics out of both files unless they are intentionally learner-facing.
  8. Do not modify the original description.txt; keep it in the matlab-generate-grader-assessments source folder.

Quality check:

  • background.m should still make sense if read before seeing the task steps.
  • task.m should be actionable without duplicating the full background.
  • Both files should be ready to paste into Course Designer text fields without cleanup.

Step 4: Add Course Designer Fields

Create the Course Designer MATLAB Exercise activity from the matlab-generate-grader-assessments output. Add fields that are needed by MATLAB Course Designer but not generated by the first-pass component workflow:

  • background.m and task.m copy/paste fields
  • Module placement and learning activity order
  • Estimated time
  • Prerequisite context
  • Required products and toolboxes
  • Learner setup notes
  • Course Designer persistence notes
  • Optional Common Cartridge placement notes

Step 5: Validate MATLAB Files

Use references/matlab-validation-rules.md.

At minimum:

  • Confirm solution.m, template.m, and tests.m exist.
  • Run check_matlab_code on solution.m, template.m, and tests.m only. background.m and task.m are plain-text copy/paste fields, not valid MATLAB code, and must not be linted.
  • Execute or smoke-test solution.m when runnable.
  • Validate tests.m syntax and MATLAB Exercise assess calls where possible.
  • Confirm the learner template preserves the expected names and scaffold.
  • Write all results to validation-report.md.

When execution is not possible because the generated item requires MATLAB Grader runtime functions, run static checks and targeted syntax checks, then mark runtime validation as partial.

Step 6: Course Designer Activity Artifacts

Use references/course-designer-artifacts.md.

Write these files in the activity folder:

  • activity.md
  • background.m
  • task.m
  • instructor-notes.md
  • validation-report.md
  • course-designer-activity.json
  • grader-source.md, the reference file that maps the activity to its grader-items/ source folder and component files (see references/course-designer-artifacts.md)

The course-designer-activity.json file is the import-oriented sidecar for future Course Designer API work. It must include course, module, learning activity, background.m, task.m, MATLAB file, product, validation, and matlab-generate-grader-assessments source metadata.

Output Rules

  • The final answer must list the activity folder, matlab-generate-grader-assessments source folder, metadata path, and validation report path.
  • Do not claim validation passed unless the MATLAB MCP checks passed.
  • If validation is partial, state exactly which checks were deferred.
  • Preserve the Course Designer hierarchy: course -> module -> learning activity.
  • Keep the matlab-generate-grader-assessments output intact and record any Course Designer-only additions separately.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Matlab Create Course Activity?

Create MATLAB Course Designer MATLAB Exercise learning activities by wrapping the existing matlab-generate-grader-assessments skill, then validating generated solution.m, template.m, and tests.m files with MATLAB MCP Server tool calls. Use when the user asks to create a MATLAB Exercise, MATLAB course activity, Course Designer MATLAB activity, validated MATLAB solution file, or MATLAB Exercise component folder.

Навіщо використовувати Matlab Create Course Activity у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Matlab Create Course Activity — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Matlab Create Course Activity у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/matlab/agent-skills-playground/tree/main/demos/course-generation/skills/matlab-create-course-activity. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Matlab Create Course Activity?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Matlab Create Course Activity?

Зі скількома забажаєте. У TypingMind ви можете використовувати Matlab Create Course Activity із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Matlab Create Course Activity?

На GitHub цю навичку публікує matlab. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇