Skip to main content

simplify

Use after EZ_math_model coding has produced src/*.py and before packaging when code quality, reuse, vectorization, naming, or unnecessary complexity should be reviewed without changing behavior.

跳到安装

来源信息

仓库
woodfishhhh/EZ_math_model
最近来源活动
2026年5月20日 10:38
检测到的 SKILL.md 语言
多语言混合
星标
41
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
simplify
description
Use after EZ_math_model coding has produced src/*.py and before packaging when code quality, reuse, vectorization, naming, or unnecessary complexity should be reviewed without changing behavior.
# simplify — 建模代码质量检查 ## 何时使用 - `pipeline 03 coding` 完成后。 - `pipeline 06 packaging` 之前。 - hybrid / multi 模式下希望额外检查 `src/*.py`。 ## 调用方式 优先加载宿主 `simplify` skill,输入所有 `src/*.py`。只输出建议,不直接修改代码。 检查重点: - 重复逻辑和可抽取工具函数。 - 低效循环与可向量化处理。 - 过度防御或吞异常。 - 命名混乱。 - 与 modeling_plan 不一致的实现。 输出: ```text workdir/{task_id}/simplify_report.md ```
在 GitHub 查看