[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-80859":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":14,"forks30d":14,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":9,"pushedAt":9,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":14,"starSnapshotCount":14,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},80859,"simulink-power-electronics","npuzsy\u002Fsimulink-power-electronics","npuzsy","AI Skills for Power Electronic in Matlab\u002FSimulink",null,"Python",52,3,35,0,6,15,17,18,1.81,"Apache License 2.0",false,"master",true,[],"2026-06-12 02:04:07","# Simulink Power Electronics Skill\n\n`simulink-power-electronics` is a Codex skill for Simulink and Simscape\nElectrical power-electronics models. It adds domain-specific guidance for\ntopology recognition, signal debugging, schematic layout, and validation on top\nof generic Simulink model-building and simulation tools.\n\n中文摘要：`simulink-power-electronics` 是一个面向 Codex 的\nSimulink\u002FSimscape Electrical 电力电子 Skill，用于帮助识别拓扑、检查模型、\n调试波形和控制链路、优化元件布局与走线，并在工具可用时用可复查的仿真证据\n说明结果。\n\n## What It Does \u002F 它能做什么\n\n- Classifies power-electronics models by application domain, topology, and\n  control objective.\n- Inspects solver settings, sample times, variants, From\u002FGoto routing,\n  plant\u002Fcontrol boundaries, measurement polarity, and generated artifacts before\n  edits.\n- Helps debug three-phase grid inverters, including SPWM\u002FSVPWM, gate mapping,\n  waveform balance, VSG control paths, and P\u002FQ checks.\n- Guides signal logging and measurement-point selection so key plant\u002Fcontrol\n  outputs can be collected for performance analysis when model tools are\n  available.\n- Provides developing inspection guidance for DC-DC converters and motor-drive\n  models.\n- Adjusts Simulink and Simscape component placement and wiring using layout\n  heuristics derived from reviewed MathWorks examples and open-source projects.\n- Reports validation state explicitly as `opened`, `compiled`, `simulated`, or\n  `measured`.\n\n- 按应用域、拓扑和控制目标识别电力电子模型。\n- 在修改模型前检查 solver、sample time、variant、From\u002FGoto、plant\u002Fcontrol\n  分层、测量极性和生成产物。\n- 支持三相并网逆变器的 SPWM\u002FSVPWM、门极映射、波形平衡、VSG 控制链路和\n  P\u002FQ 检查。\n- 指导 AI 选择 signal logging 和 measurement points，并在模型工具可用时读取关键\n  plant\u002Fcontrol 输出信号，用于辅助性能分析。\n- 为 DC-DC converter 和 motor-drive 模型提供开发中的检查清单。\n- 可以基于已审阅 MathWorks 样例和开源项目提炼出的启发式规则，调整\n  Simulink\u002FSimscape 元件布局和走线。\n- 在结果中明确区分 `opened`、`compiled`、`simulated`、`measured` 等验证状态。\n\n## Quick Use\n\nInstall or copy this folder as a Codex skill, restart Codex, then invoke it when\nreviewing, editing, generating, or validating Simulink power-electronics models:\n\n```text\n$simulink-power-electronics\n```\n\nWith the Codex skill installer:\n\n```text\n$skill-installer install https:\u002F\u002Fgithub.com\u002Fnpuzsy\u002Fsimulink-power-electronics\n```\n\nThis repository is maintained and validated as a Codex skill. Claude Code\ncompatibility has not been verified yet.\n\nSuggested prompt:\n\n```text\nPlease use $simulink-power-electronics to read the current project, confirm\nthat the Simulink MCP tools are reachable, and summarize the architecture of\nthe Simulink model. Then check for known bugs, modeling risks, or improvement\nopportunities. My goal is to [describe your goal]. Please propose an edit plan\nfirst, and wait for my approval before making model or file changes.\n```\n\n## Layout Example\n\nWhen generating or repairing Simscape Electrical models, prefer readable circuit\nschematics over generic graph layouts. For a DC-DC converter, identify nodes\nsuch as `VIN_POS`, `SW`, `VOUT_POS`, and `RETURN` first, then place the power\npath, control blocks, and measurement blocks around those nodes.\n\nThe Buck converter below was laid out with those rules. The v4 model completed\nupdate diagram and a 3 ms simulation with `ode23t`.\n\n![Buck converter v4 layout](assets\u002Fimages\u002Fbuck-v4-layout.png)\n\n## Repository Structure\n\n```text\nsimulink-power-electronics\u002F\n├── SKILL.md\n├── agents\u002F\n├── assets\u002F\n│   └── images\u002F\n├── references\u002F\n├── scripts\u002F\n└── subskills\u002F\n    ├── three-phase-grid-inverter\u002F\n    ├── dc-dc-converters\u002F\n    ├── motor-drives\u002F\n    └── ...\n```\n\n## Important References\n\n- `references\u002Fdomain-map.md`: choose the right power-electronics subdomain.\n- `references\u002Fworkflow.md`: inspect, diagnose, edit, and validate.\n- `references\u002Fmodel-standards.md`: model-editing standards.\n- `references\u002Flayout-patterns-from-examples.md`: layout patterns extracted from\n  example models.\n- `references\u002Fsimscape-layout.md`: Simscape Electrical schematic layout rules.\n- `references\u002Fcapability-map.md`: current capability boundary.\n\n## Subskill Status\n\n| Subskill | Status | Scope |\n| --- | --- | --- |\n| `three-phase-grid-inverter` | active | SPWM\u002FSVPWM, three-level inverter gate routing, waveform balance, VSG\u002Fcontrol tracing |\n| `dc-dc-converters` | developing | Buck\u002Fboost\u002Fbuck-boost, regulation evidence, schematic layout |\n| `motor-drives` | developing | PMSM\u002FBLDC\u002Finduction drive inspection and control-path tracing |\n| others | stub | Scope markers and evidence checklists |\n\n## Toolchain\n\nReal model inspection, editing, and validation require:\n\n- MATLAB R2023a or later\n- Simulink\n- MATLAB MCP Core Server\n- Simulink Agentic Toolkit\n\nModels that use physical electrical networks also require:\n\n- Simscape\n- Simscape Electrical\n\nUse Simulink Agentic Toolkit or model-based-design skills for generic model\ncreation, editing, simulation, and testing mechanics.\n\nOptional companion skill:\n\n- `using-superpowers`: improves skill-discovery discipline before starting work.\n  See `references\u002Fcompanion-skills.md`.\n\nPlatform notes:\n\n- macOS and Linux are the preferred targets for the current MCP workflow.\n- Windows may work, but MCP subprocess environment variables, socket access, or\n  file-permission issues are more common.\n- If MATLAB MCP or Simulink Agentic Toolkit is unavailable, model-level\n  inspection and validation cannot be claimed.\n\n## Validation\n\nBefore committing, run:\n\n```bash\npython3 scripts\u002Fcheck_environment.py\npython3 scripts\u002Fvalidate_skill_structure.py --quiet\npython3 subskills\u002Fthree-phase-grid-inverter\u002Fscripts\u002Fprint_table7_state_vectors.py --format json\n```\n\n## Contributing\n\nThis skill can improve itself when users explicitly allow self-iteration:\nreviewing additional MathWorks examples or open-source Simulink projects,\nextracting repeatable patterns, and promoting validated findings into the skill.\nContributions are welcome, especially model-derived debugging notes, layout\nrules, validation scripts, and focused subskill improvements.\n\n## License\n\nApache License 2.0. See [LICENSE](LICENSE).\n","`simulink-power-electronics` 是一个面向 Codex 的 Simulink\u002FSimscape Electrical 电力电子工具，旨在为拓扑识别、信号调试、电路布局优化和验证提供专业指导。该项目通过分类模型的应用领域、拓扑结构及控制目标，检查求解器设置、采样时间等关键参数，并支持三相并网逆变器的调试与性能分析。此外，它还能基于已审阅的 MathWorks 示例和开源项目中的启发式规则来调整元件布局和布线。此技能适用于需要对电力电子系统进行建模、仿真或验证的场景，特别是当用户希望在修改前确保模型配置正确且符合预期时。",2,"2026-06-11 04:02:35","CREATED_QUERY"]