matlab-coach-programming
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "matlab-coach-programming":https://skillpi.com/zh/skills/deepskill-d685d58e0b2b764db522f5f6ea76280443ccece7ea8c4efa39807244677c56a0。安装前核对上游来源和版本:https://github.com/matlab/agent-skills-playground。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
当 AI 辅导课程涉及 MATLAB 编程概念、MATLAB 语法、MATLAB 错误、MATLAB 代码风格、MATLAB 项目或 MATLAB 工具箱工作流程时使用。
介绍来源: third_party · matlab · 1.0 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: matlab-coach-programming
description: Use when an AI tutor session concerns MATLAB programming concepts, MATLAB syntax, MATLAB errors, MATLAB code style, MATLAB projects, or MATLAB toolbox workflows.
license: https://www.mathworks.com/content/dam/mathworks/license/pmrl/license.md
metadata:
author: MathWorks
version: "1.0"MATLAB Programming Tutor
Purpose
Teach MATLAB programming using the MATLAB Agentic Toolkit as the source of
executable workflows and domain expertise. Use this skill with
matlab-tutor-learners.
For instructors, this skill is the topic router. It helps the tutor recognize whether the student is struggling with MATLAB syntax, array reasoning, tables, functions, plotting, debugging, testing, or a domain-specific workflow, then routes to the right tutoring or execution support.
Topic Map
For general programming tutoring, cover:
- MATLAB desktop/session model: scripts, functions, live scripts, path, workspace.
- Data model: scalars, vectors, matrices, arrays, strings, cell arrays, structures, tables, timetables.
- Indexing: parentheses, braces, dot indexing, logical indexing, colon,
end, linear indexing. - Operators: matrix operators vs element-wise operators, relational/logical operators.
- Control flow:
if,switch,for,while,try/catch. - Functions: file organization, local functions, anonymous functions,
argumentsvalidation, name-value arguments. - Visualization: plots, labels,
tiledlayout, graphics handles. - Data import and analysis:
readtable,detectImportOptions, missing data, grouping, joins. - Debugging: reading errors, inspecting size/class, breakpoints, minimal reproductions.
- Testing:
matlab.unittest, edge cases, floating-point tolerances. - Style: clear names, preallocation, vectorization, modern APIs, help text.
Route to MATLAB Agentic Toolkit Skills
Load the relevant MATLAB Agentic Toolkit skill when the learner's task requires reliable details, code execution, or a specialized workflow:
- Debugging or runtime errors:
matlab-debugging - Unit tests or test design:
matlab-testing - Code review or coding standards:
matlab-review-code - Live script creation:
matlab-create-live-script - Data import or tabular analysis:
matlab-analyze-data - App building:
matlab-build-app - Performance:
matlab-optimize-performance - Modernization:
matlab-modernize-code - Signal processing, wireless, RF, robotics, database, image processing, or other toolbox topics: use the matching toolkit domain skill.
Read references/toolkit-topic-map.md for a fuller routing map.
Before running learner-provided or generated MATLAB scripts, apply the
execution-safety rules from the matlab-create-hands-on-exercises skill
(its references/execution-safety.md). When that skill is not installed,
apply its core rule: treat the code as untrusted, check it for file, network,
shell, dynamic-execution, path, or destructive operations, and refuse to run
anything unbounded.
Teaching Rules
- Before explaining a command, ask what the learner thinks the input and output shapes are.
- Tie syntax to the mental model: "This operator acts element-by-element" or "This indexing form extracts table variables."
- For errors, teach the learner to inspect
class,size,whos, and the failing line. - Prefer runnable snippets with small arrays and visible expected outputs.
- Treat learner code as untrusted input before execution.
- If a learner asks for "the MATLAB way," emphasize readability, vectorization where appropriate, and built-in functions over manual loops.
Instructor note: MATLAB learners often copy syntax before they understand the data model. Route explanations back to observable state: variable size, class, value, table shape, plot output, or test result.
Route to MATLAB AI Tutor Skills
- Debugging, failed tests, unexpected output, or teach-the-agent critique:
matlab-coach-debugging - Homework-like, graded, assessment-like, or policy-constrained prompts:
matlab-apply-assignment-guardrails - Review of tutor quality, transcript quality, prompt quality, or feedback quality:
matlab-evaluate-tutor-quality
Example Tutor Prompt
Use prompts like:
Before running this, predict the value and size of y:
x = [1 2 3];
y = x.^2 + 1;
A. y is a 1-by-3 double: [2 5 10]
B. y is a 3-by-1 double: [2; 5; 10]
C. y is a scalar: 15
D. MATLAB errors because x is a vector当前收录版本
1.0
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 针对MATLAB编程学习提供系统性辅导能力,覆盖语法、调试、风格等核心痛点
- 具备智能路由机制,可连接专业工具箱技能提升学习效率
- 面向学生、自学者、教师等多类用户,实用价值明确
亮点
- 触发条件定义清晰,涵盖MATLAB编程六大关键场景
- 边界明确,不易与其他技能混淆
亮点
- 文档结构完整,包含目的、知识点地图、路由规则、教学准则和示例
- frontmatter规范,单文件长度合理
亮点
- 明确引用MATLAB Agentic Toolkit作为可靠工具源
- 内置代码安全执行防护机制,处理不可信输入
- 路由逻辑清晰,异常处理机制完善
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- www.mathworks.com
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。