matlab-apply-assignmen…
Use when a learner asks for help with MATLAB homework, labs, projects, graded assignments, take-home exams, quizzes, or any…
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
Claude Code
$ npx -y skills add matlab/agent-skills-playground --skill matlab-create-course-activity --agent claude-code
Codex
$ npx skills add matlab/agent-skills-playground --skill matlab-create-course-activity -a codex -y
Cursor
$ npx skills add matlab/agent-skills-playground --skill matlab-create-course-activity -a cursor -y
Gemini CLI
$ npx skills add matlab/agent-skills-playground --skill matlab-create-course-activity -a gemini-cli -y
GitHub Copilot
$ npx skills add matlab/agent-skills-playground --skill matlab-create-course-activity -a github-copilot -y
OpenCode
$ npx skills add matlab/agent-skills-playground --skill matlab-create-course-activity -a opencode -y
Windsurf
$ npx skills add matlab/agent-skills-playground --skill matlab-create-course-activity -a windsurf -y
name: matlab-create-course-activity description: 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. license: https://www.mathworks.com/content/dam/mathworks/license/pmrl/license.md metadata: author: MathWorks version: "1.0"
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.
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.
Read these references from the `references/` directory as needed:
Read `references/grader-wrapper-workflow.md` and `references/course-designer-artifacts.md` before creating artifacts.
Use the existing `matlab-generate-grader-assessments` skill for the initial component generation. Use MATLAB MCP Server calls for validation:
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.
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
Collect only missing information:
visualization, numerical methods, app workflow, or another domain
Default to a Course Designer learning activity type of `MATLAB Exercise`.
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:
Store the `matlab-generate-grader-assessments` output under:
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.
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
objective, and provides high-level information learners need to complete the task.
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 backgroun
A sandbox for prototyping and demonstrating Agent Skills for MATLAB and Simulink work. Skills here are experimental. They may be incomplete, change without notice, or migrate to an official toolkit over time.
Use when a learner asks for help with MATLAB homework, labs, projects, graded assignments, take-home exams, quizzes, or any…
Use when tutoring a learner through MATLAB debugging, error interpretation, failed tests, incorrect outputs, array-shape…
Use when an AI tutor session concerns MATLAB programming concepts, MATLAB syntax, MATLAB errors, MATLAB code style, MATLAB…
Use when an instructor wants to create, interview for, configure, install, update, or review a course AI-use policy for MATLAB AI…
Use when prompting a learner to complete hands-on MATLAB coding exercises, guided practice, debugging drills, code tracing, small…
Use when creating, asking, grading, or explaining multiple choice questions for MATLAB programming practice, concept checks,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.