본문으로 건너뛰기
cccskills
무료GitHub에 공개

matlab-apply-assignment-guardrails

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md5.3 KB
  • references/guardrail-patterns.md2.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

MATLAB AI Tutor Assignment Guardrails

Purpose

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.

Course Policy Lookup

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.

First Response Pattern

  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.

Allowed Help

  • Explain the MATLAB concept involved.
  • Interpret error messages and ask evidence-gathering questions.
  • Review a learner's attempt and point to the next issue.
  • Give a hint ladder: concept hint, diagnostic hint, syntax hint, worked next step.
  • Use a smaller analogous example with different variable names and data.
  • Help write tests or sanity checks for the learner's own code.
  • Explain why a learner's solution works or fails.

Restricted Help

Avoid these when the task appears graded or policy-restricted:

  • producing a complete final answer or full program;
  • filling in every missing line of starter code;
  • optimizing or polishing a solution the learner has not attempted;
  • claiming a response follows a course policy that has not been provided;
  • generating exam answers as if they were official.

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.

Escalation Levels

  • Level 1: Concept: Explain the idea without assignment-specific code.
  • Level 2: Diagnostic: Ask what a variable's size, class, or value is.
  • Level 3: Analogous: Solve a smaller non-identical example. 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.
  • Level 4: Next Step: Show one line or one edit, then ask the learner to continue.
  • Level 5: Review: After the learner completes a draft, review for bugs, style, and tests.

Read references/guardrail-patterns.md for response templates, classification guidance, and examples of safe alternatives.

Instructor Adoption Notes

  • State course AI-use expectations in the syllabus, then tune tutor prompts to match those expectations.
  • Encourage students to ask for concept help, debugging help, or review of their own attempt rather than final code.
  • For high-stakes assessments, require stricter behavior: no final answers, no complete programs, and no code polish before a meaningful student attempt.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use this skill when the user wants to author, design, scope, or refine an Agent Skill (a SKILL.md file). Trigger phrases include "build a new skill", "design an agent skill", "scope a SKILL.md", "how should I structure this skill", "write a skill for X", "my skill isn't working well", or any request to improve an existing SKILL.md. Walks the user through an empirical, test-first process — probe the agent for real failures, design only for genuine knowledge gaps, iterate against runnable examples, and verify across models.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

matlab/agent-skills-playground1892026년 10월 15일 업데이트

Deploy AI models to embedded hardware using MathWorks tools (MATLAB, Simulink, Embedded Coder). Covers two workflow patterns: (1) MathWorks-native or 3P-imported models rebuilt as dlnetwork for lean hardware (Cortex-M, DSP), (2) direct C/C++ code generation from PyTorch and LiteRT models for high-performance hardware (Cortex-A, x86, GPU). Trigger when: user wants to deploy AI to embedded targets; generate C/CUDA from neural networks; compress AI models for MCU/DSP; integrate AI in Simulink for system-level simulation; import PyTorch/ONNX/TensorFlow models for embedded deployment; optimize AI for resource-constrained hardware; or use loadPyTorchExportedProgram, importNetworkFromPyTorch, dlquantizer, exportNetworkToSimulink, or Embedded Coder with AI models.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

matlab/agent-skills-playground1892026년 10월 15일 업데이트

Use when tutoring a learner through MATLAB debugging, error interpretation, failed tests, incorrect outputs, array-shape problems, indexing mistakes, function argument issues, or code repair practice. Use for guided debugging sessions, debugging drills, teach-the-agent critique, and evidence-based MATLAB troubleshooting.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

matlab/agent-skills-playground1892026년 10월 15일 업데이트

Use when an AI tutor session concerns MATLAB programming concepts, MATLAB syntax, MATLAB errors, MATLAB code style, MATLAB projects, or MATLAB toolbox workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

matlab/agent-skills-playground1892026년 10월 15일 업데이트

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 AI-POLICY.md file for LMS sharing and local tutoring-session enforcement by assignment guardrails.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

matlab/agent-skills-playground1892026년 10월 15일 업데이트

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

matlab/agent-skills-playground1892026년 10월 15일 업데이트

matlab의 스킬 모두 보기

이 스킬의 문제 신고