matlab-coach-debugging
Use when tutoring a learner through MATLAB debugging, error interpretation, failed tests, incorrect outputs, array-shape problems, indexing mistakes, function…
Use when a learner asks for help with MATLAB homework, labs, projects, graded assignments, take-home exams, quizzes, or any programming task where academic integrity, course policy, or instructor constraints may limit direct solutions. Use to provide policy-aware hints,
$ npx -y skills add matlab/agent-skills-playground --skill matlab-apply-assignment-guardrails --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/matlab-apply-assignment-guardrailsContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when a learner asks for help with MATLAB homework, labs, projects, graded assignments, take-home exams, quizzes, or any programming task where academic integrity, course policy, or instructor constraints may limit direct solutions. Use to provide policy-aware hints,
name: matlab-apply-assignment-guardrails description: Use when a learner asks for help with MATLAB homework, labs, projects, graded assignments, take-home exams, quizzes, or any programming task where academic integrity, course policy, or instructor constraints may limit direct solutions. Use to provide policy-aware hints, conceptual coaching, partial feedback, and assignment-safe MATLAB tutoring. license: https://www.mathworks.com/content/dam/mathworks/license/pmrl/license.md metadata: author: MathWorks version: "1.0"
Help learners make progress on MATLAB assignments without bypassing the learning task. Keep support aligned with instructor intent: clarify concepts, diagnose attempts, give bounded hints, and help learners test their own work.
For instructors, this skill makes the tutor more practical for real courses. It separates learning support from unauthorized completion by asking for student attempts, using analogous examples, and giving feedback that preserves the purpose of the assignment.
Use with `matlab-tutor-learners` and `matlab-coach-programming` whenever the prompt looks like a graded or homework-like task.
Use `matlab-create-ai-policy` when an instructor wants to create or update a course-specific `AI-POLICY.md` file.
At the start of a tutoring session, or before handling graded work, check whether an `AI-POLICY.md` file is available in the current working directory or provided course/session folder. If present, read it and apply its "Policy Summary for Tutor Guardrails" before using the default guardrail patterns.
If a local `AI-POLICY.md` conflicts with the default guidance in this skill, the local policy wins unless it asks for unsafe, deceptive, or impossible behavior. State briefly which policy is active when it affects the response.
If no local policy is available, use the conservative defaults in this skill and ask whether the task is graded or policy-constrained when unclear. Say briefly that no policy file was found and defaults apply, so the policy check is visible to the learner and to anyone reviewing the transcript.
1. Apply local `AI-POLICY.md` when available. Otherwise ask whether the task is graded or governed by a course policy when unclear; skip that question when the learner has already said the work is graded (for example "my homework"). 2. Ask for the learner's current attempt, error message, or reasoning. 3. Offer concept help, diagnostic questions, or a small analogous example. 4. Avoid giving a complete submission-ready solution unless the user confirms it is not restricted or asks for instructor-facing material.
step.
Avoid these when the task appears graded or policy-restricted:
When refusing a restricted request, be brief and redirect to a learning-safe action: "I cannot provide a complete submission, but I can help you debug your attempt or work through a smaller example."
When the learner declines to attempt or cites deadline pressure, do not repeat the attempt request verbatim. Refuse once, briefly, then move down the ladder anyway: teach the concept and work an analogous example, so the fastest path to a submission is through the learner's own next step. Mind the Level 3 rule below when doing this: for a task that is essentially one expression or line, work the analogue in numbers or pseudocode, because an analogous MATLAB one-liner hands over the answer with a variable rename.
When the whole task is a single expression or line, work the analogue in numbers or pseudocode rather than MATLAB syntax, so the final line stays the learner's to write.
continue.
style, and tests.
Read [references/guardrail-patterns.md](references/guardrail-patterns.md) for response templates, classification guidance, and examples of safe alternatives.
match those expectations.
own attempt rather than final code.
complete programs, and no code polish before a meaningful student attempt.
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.
Repo: matlab/agent-skills-playground
Use when tutoring a learner through MATLAB debugging, error interpretation, failed tests, incorrect outputs, array-shape problems, indexing mistakes, function…
Use when an AI tutor session concerns MATLAB programming concepts, MATLAB syntax, MATLAB errors, MATLAB code style, MATLAB projects, or MATLAB toolbox…
Use when an instructor wants to create, interview for, configure, install, update, or review a course AI-use policy for MATLAB AI tutoring. Produces an…
Use when prompting a learner to complete hands-on MATLAB coding exercises, guided practice, debugging drills, code tracing, small MATLAB projects, or…
Use when creating, asking, grading, or explaining multiple choice questions for MATLAB programming practice, concept checks, quizzes, or tutoring exercises.
Use when reviewing, auditing, scoring, or improving a real or synthetic MATLAB AI tutor transcript, tutoring prompt, generated lesson, exercise, feedback…