Matlab Create Hands On Exercisesのロゴ

Matlab Create Hands On Exercises

組織
matlab
matlab-create-hands-on-exercises

Use when prompting a learner to complete hands-on MATLAB coding exercises, guided practice, debugging drills, code tracing, small MATLAB projects, or MATLAB-script assessment during tutoring. Use when the tutor should create a complete runnable MATLAB script, execute it through MATLAB tools, compare the produced outputs with expected outputs, and evaluate MATLAB programming style.

概要

公開者matlab
リポジトリagent-skills-playground
スキル名matlab-create-hands-on-exercises
スター
179
フォーク
32
同梱ファイル
3
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    matlabがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Matlab Create Hands On Exercises」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/matlab/agent-skills-playground/tree/main/demos/ai-tutoring/skills/matlab-create-hands-on-exercises
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/matlab/agent-skills-playground.git /tmp/agent-skills-playground
mkdir -p .claude/skills
cp -r /tmp/agent-skills-playground/demos/ai-tutoring/skills/matlab-create-hands-on-exercises .claude/skills/matlab-create-hands-on-exercises
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでMatlab Create Hands On Exercisesを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にMatlab Create Hands On Exercisesを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Matlab Create Hands On Exercisesは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

MATLAB Hands-On Exercises

Purpose

Guide learners through active MATLAB practice. Exercises must be complete, runnable MATLAB scripts when assessment is involved, and the tutor must execute those scripts through MATLAB tools before judging correctness.

The goal is to provide MATLAB Grader-style formative assessment without requiring MATLAB Grader: create an exercise, run the learner's code in MATLAB, compare script outputs against expected values, inspect programming style with Code Analyzer in MATLAB, and give targeted feedback.

For instructors, this skill turns tutoring into a small formative assessment. Students still receive coaching, but the tutor also checks whether the code actually runs and whether the produced outputs match the learning objective.

Exercise Loop

  1. State the goal in one sentence.
  2. Define expected outputs and assessment criteria before the learner starts.
  3. Give a complete script scaffold with a clearly marked learner section.
  4. Ask the learner to predict, fill in, or revise the learner section.
  5. Save the complete script as a temporary .m file.
  6. Apply the execution preflight in references/execution-safety.md, which includes running check_matlab_code; do not run it a second time.
  7. Run run_matlab_file on the script and inspect the MATLAB output.
  8. Compare produced variables, values, sizes, classes, errors, and required or forbidden functions against the assessment criteria.
  9. Give targeted feedback and one extension or revision prompt.

Never mark an assessable exercise correct from visual inspection alone. If the exercise has expected output, run the complete script in MATLAB and evaluate the actual output.

Exercise Types

  • Trace: Predict workspace variables after each line.
  • Edit: Modify a snippet to meet a requirement.
  • Debug: Diagnose an error message and fix the root cause.
  • Refactor: Replace fragile or verbose code with clearer MATLAB.
  • Test: Write a matlab.unittest test for a function.
  • Analyze: Import or summarize a tiny dataset.
  • Visualize: Create or improve a plot.

Use the shortest exercise that can reveal the misconception. A five-line script that exposes row-versus-column behavior is often more useful than a large project when the goal is concept formation.

Starter Exercise Pattern

Read references/exercise-patterns.md for reusable exercise formats.

Read references/script-assessment-patterns.md when creating a complete runnable script, output checks, MATLAB Grader-style assessments, tolerance-based comparisons, or Code Analyzer feedback.

Read references/execution-safety.md before running learner-provided or generated MATLAB scripts.

Safety and Academic Integrity

  • For homework-like prompts, ask for the learner's attempt first.
  • Treat learner code as untrusted input. Perform the execution safety preflight before running scripts.
  • Do not run large or destructive code. Keep practice files small and temporary.
  • Always explain what MATLAB script was run, which checks passed or failed, and what the output means.
  • Avoid file I/O, network calls, delete, rmdir, shell commands, or long simulations unless the learner's explicit task requires them and the path is temporary and scoped.

Feedback

Feedback should be specific:

  • Identify the MATLAB rule involved.
  • Point to the exact expression or line.
  • Report the relevant MATLAB output, variable value, size, class, error, or Code Analyzer message.
  • Explain how to inspect evidence next time.
  • Give one revised attempt or next prompt.

Assessment Policy

Assess scripts with the same broad categories MATLAB Grader uses for script assessment:

  • expected variable exists;
  • expected variable has the right class, size, and value;
  • numeric values are compared with an explicit tolerance;
  • required functions or keywords are present when the learning objective calls for them;
  • prohibited functions or shortcuts are absent when the exercise is about a specific programming concept;
  • custom checks verify plots, tables, errors, or edge cases when variable equality is insufficient.

For course pilots, make the expected output explicit before the learner starts. This helps instructors compare student attempts, AI feedback, and MATLAB execution evidence.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Matlab Create Hands On Exercises」では何ができますか?

Use when prompting a learner to complete hands-on MATLAB coding exercises, guided practice, debugging drills, code tracing, small MATLAB projects, or MATLAB-script assessment during tutoring. Use when the tutor should create a complete runnable MATLAB script, execute it through MATLAB tools, compare the produced outputs with expected outputs, and evaluate MATLAB programming style.

TypingMindでMatlab Create Hands On Exercisesを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Matlab Create Hands On Exercisesはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにMatlab Create Hands On Exercisesをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/matlab/agent-skills-playground/tree/main/demos/ai-tutoring/skills/matlab-create-hands-on-exercisesを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Matlab Create Hands On Exercisesを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Matlab Create Hands On Exercisesで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもMatlab Create Hands On Exercisesを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Matlab Create Hands On Exercises」は無料ですか?

matlabがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇