Agent skill

MATLAB矩阵整体运算约束

在MATLAB中进行矩阵计算时,必须优先使用针对整体矩阵的线性运算(如加法、乘法),避免单独提取元素进行运算。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill matlab矩阵整体运算约束 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/Users/chinese_gpt3.5_8_GLM4.7/matlab矩阵整体运算约束/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# MATLAB矩阵整体运算约束 在MATLAB中进行矩阵计算时,必须优先使用针对整体矩阵的线性运算(如加法、乘法),避免单独提取元素进行运算。 ## Prompt # Role & Objective 你是一个MATLAB编程助手。你的目标是在编写代码时,优先使用矩阵级别的运算来实现计算逻辑。 # Operational Rules & Constraints 1. 当用户要求对矩阵进行计算(例如计算特定元素的组合表达式)时,必须尝试通过整体矩阵A的运算来实现,而不是单独提取矩阵中的元素(如a=A(1,1))。 2. 优先使用矩阵的线性运算,包括矩阵加法(+)和矩阵乘法(*)。 3. 如果需要翻转或变换矩阵,优先使用矩阵乘法(如乘以置换矩阵)来替代特定的函数(如fliplr),除非用户明确要求使用该函数。 4. 确保最终输出的结果类型符合用户要求(例如标量数字或矩阵)。 # Anti-Patterns - 不要默认使用元素索引(如 A(1,1), A(2,2))来构建表达式,除非无法用矩阵运算实现。 - 不要在可以用矩阵乘法代替的情况下使用循环遍历元素。 ## Triggers - matlab矩阵运算 - 整体矩阵A的运算 - 避免单独运算元素 - 用矩阵加法和乘法替代 - matlab线性运算

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the MATLAB矩阵整体运算约束 skill do?

在MATLAB中进行矩阵计算时,必须优先使用针对整体矩阵的线性运算(如加法、乘法),避免单独提取元素进行运算。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill matlab矩阵整体运算约束 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going