Skip to content

matlab/agent-skills-playground / demos/course-generation/skills/matlab-create-course-activity

matlab-create-course-activity

Verified

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.

references/grader-wrapper-workflow.md

View on GitHub
# Grader Wrapper Workflow

Use this workflow to create MATLAB Exercise component parts through the existing
`matlab-generate-grader-assessments` skill.

## Build Order

1. Convert the module objective into one measurable MATLAB learning objective.
2. Choose the `matlab-generate-grader-assessments` assessment type:
   - Script
   - Function
   - Class
   - Object usage
3. Choose assessment purpose:
   - Formative
   - Summative
   - Both
4. Invoke or prompt `matlab-generate-grader-assessments`.
5. Review that `matlab-generate-grader-assessments` created:
   - `description.txt`
   - `template.m`
   - `solution.m`
   - `tests.m`
6. Keep the `matlab-generate-grader-assessments` folder as the source for shared MATLAB Exercise component
   parts.

## Output Folder

Use:

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

## Mapping to MATLAB Exercise

Map `matlab-generate-grader-assessments` output to Course Designer as follows:

| Grader artifact | MATLAB Exercise use |
| --- | --- |
| `description.txt` | Source text split into `background.m` and `task.m` |
| `template.m` | Starter code |
| `solution.m` | Instructor solution/reference |
| `tests.m` | Validation and assessment logic |

After `matlab-generate-grader-assessments` finishes, split `description.txt` into Course Designer
copy/paste fields:

- `background.m`: task context, learning objective, and high-level information
  learners need before starting.
- `task.m`: instructions learners follow, including deliverables, required
  names, constraints, expected outputs, and self-check prompts.

Course Designer-only fields such as estimated time, prerequisite context,
product requirements, and module placement are added after the split.
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall