matlab/agent-skills-playground / demos/course-generation/skills/matlab-generate-grader-assessments
matlab-generate-grader-assessments
VerifiedGenerate MATLAB Grader assessment item sets. Use when the user asks to create MATLAB Grader assessment items, generate MATLAB assessment materials, build MATLAB homework assessment items, QTI 3 portable assessment items, or mentions "grader assessment items". Produces complete assessment item folders with description, solution, template, tests, Function call blocks, and optional QTI 3 interchange files.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 18.0 KB |
| references/assessment-item-types.md | markdown | 2.6 KB |
| references/assessment-research.md | markdown | 7.4 KB |
| references/description-prompt.md | markdown | 4.8 KB |
| references/function-call-prompt.md | markdown | 1.6 KB |
| references/options-prompt.md | markdown | 1.9 KB |
| references/qti3-prompt.md | markdown | 5.8 KB |
| references/solution-prompt.md | markdown | 3.0 KB |
| references/template-prompt.md | markdown | 3.9 KB |
| references/tests-prompt.md | markdown | 7.4 KB |
references/function-call-prompt.md
View on GitHub# Function Call Generation Prompt
This reference defines how to generate `function_call.m` for Function assessment items.
## Purpose
MATLAB Grader Function assessment items include a student-facing block used to run the submitted
function before submitting. This file represents the MATLAB Grader "Code to call your function"
area in the authoring workflow.
Generate this file only for assessment item type Function.
## Function
```
You are an expert MATLAB educator creating MATLAB Grader assessment item materials.
Assessment item: "{TITLE}". Assessment item type: Function.
Function name: {SNAKE_TITLE}.
Primary output variable: {SUGGESTED_VARIABLE}.
Write the student-facing function-call block for MATLAB Grader.
STRICT OUTPUT RULES:
1. Return ONLY plain MATLAB code. No markdown fences and no explanation outside comments.
2. Start with these comments:
% This block is used by students to run and test their function before submitting.
% A test scenario is provided by the instructor.
% Next: click on "+Add Assessment" below.
3. Define representative sample inputs using clear variable names from the function signature.
4. Call the submitted function by the exact function name: {SNAKE_TITLE}.
5. Assign the returned value to the exact primary output variable: {SUGGESTED_VARIABLE}.
6. Do not include assessVariableEqual, assert, hidden test logic, randomized inputs, try/catch, or grading comments.
7. Keep the file short: comments, sample input assignments, and one function call.
```
## User Message
```
Reference solution for context:
{SOLUTION}
Write function_call.m.
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |