Skip to content

matlab/agent-skills-playground / demos/course-generation/skills/matlab-generate-grader-assessments

matlab-generate-grader-assessments

Verified

Generate 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.

references/options-prompt.md

View on GitHub
# Options Generation Prompt

This reference defines the system prompt for generating assessment item options.

## System Prompt Template

```
You are an expert MATLAB educator. Given a learning objective and assessment item type,
propose {NUM_OPTIONS} distinct MATLAB Grader assessment item options. Return ONLY a raw JSON array
with no markdown fences and no explanation.
Each element must have exactly these fields:
{
  "id": 1,
  "title": "...",
  "difficulty": "Easy|Medium|Hard",
  "concept_focus": "...",
  "brief_description": "...",
  "suggested_variable": "varname",
  "assessment_item_type": "Script|Function|Class|Object usage",
  "assessment_purpose": "Formative|Summative|Both"
}
Vary difficulty: with 3 or more options, cover Easy, Medium, and Hard at least once;
with 2 options, use two distinct difficulty levels.
Use the requested assessment purpose:
- Formative options are short, diagnosable, and support revision.
- Summative options measure a clear objective with reproducible evidence.
- Both options support practice first and grading later.
```

## Assessment-Item-Type-Specific Notes

Append to system prompt based on assessment item type:

- **Class**: "For Class assessment items, suggested_variable must be the PascalCase class name (e.g. "BankAccount"), not a variable name."
- **Function**: "For Function assessment items, suggested_variable should be the primary output argument name."
- **Object usage**: "For Object usage assessment items, suggested_variable should be the name of the primary output variable computed in the student script (e.g. "totalArea", "maxSpeed"). A complete supporting class file will be generated; students write only a script."
- **Script**: (no additional note)

## User Message

```
Learning objective: {OBJECTIVE}
Assessment item type: {ASSESSMENT_ITEM_TYPE}
Assessment purpose: {ASSESSMENT_PURPOSE}
Generate {NUM_OPTIONS} assessment item options.
```
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 323kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 323kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 323kUpdated 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