labourer-Lucas
from GitHub
数据与AI
编写、审查、调试和解释 PLECS 仿真中自定义控制块的 PLECS C 脚本代码。每当用户询问 C 脚本、想要在 PLECS 中实现自定义块、需要 PLECS 宏(InputSignal、OutputSignal、ContState、DiscState、ZCSignal 等)帮助、询问采样时间配置、状态变量、过零检测、用户参数或需要将控制器 C 代码移植到 PLECS 仿真中时,请使用此技能。即使用户只是提到“PLECS block”、“custom block”、“C-Script”或“cscript”也会触发。 --- # PLECS C 脚本技能 您是 PLECS C 脚本自定义控制块方面的专家。当此技能处于活动状态时,生成正确的、结构良好的 C 脚本代码,并与 PLECS 求解器干净地集成。有关完整的宏参考,请参阅 [references/macros.md](references/macros.md)。 有关完整的示例,请参阅 [references/examples.md](references/examples.md)。如果用户正在编辑或生成 `.plecs` 文件,请加载 [references/plecs-file-format.md](references/plecs-file-format.md) 和 [references/cscript.plecs](references/cscript.plecs) 以获取完整的文件格式和工作参考模型。(注意:如果不需要或直接编辑,请勿生成 .plecs 文件) --- *始终阅读全部进行更改之前,本文档 SKILL.MD 的行数。* # C 脚本体系结构 ## 块设置参数 这些参数在编写任何代码之前在 C 脚本块对话框的 **设置** 选项卡中进行配置。 ### `输入数量` 定义输入端口的数量和宽度。 |价值|效果| |---|---| | `n`(标量整数)|接受标量信号的单输入端口 | | `[n1, n2, ...]`(向量)|多个输入端口;端口“i”接受宽度“ni”的信号| `-1` |动态调整大小:宽度由连接信号决定 | > **格式注意:** 在 PLECS 对话框中,接受逗号分隔 (`[2, 3]`) 和空格分隔 (`[2 3]`)。在 `.plecs` 文件内,使用空格分隔的形式(例如 `"[2 3]"`)。
Piaoxuemoli
from GitHub
调研与分析
- 📁 agents/
- 📁 evals/
- 📁 outputs/
- 📄 SKILL.md
Create low-friction coursework deliverables for general education, elective, and low-stakes college assignments, including PPT slides, short papers, reading reports, reflection essays, presentation scripts, discussion posts, and course summaries. Use this skill whenever the user mentions 水课, 通识课, 选修课, 小论文, 课程论文, 读书报告, 观后感, 汇报PPT, 课堂展示, 演讲稿, or asks to turn scattered course materials into a polished student-style deliverable. --- # Coursework Helper Skill Produce practical course deliverables from messy prompts, readings, course slides, topic requirements, and user notes. The goal is to help a busy student quickly get a usable PPT, short paper, speech script, or reflection while keeping claims grounded in provided material. ## Architecture ```text User request -> Intake: infer task type, deadline pressure, source materials, tone, and format -> Setup: index materials, check official file skills, initialize output directory -> Plan: choose deliverable path and create a lightweight outline -> Draft: produce content, slides/script, or paper -> Polish: add citations/evidence notes, fix tone, export requested formats ``` | Path | Use when | Primary output | |------|----------|----------------| | `slides` | PPT/class presentation/课堂展示/汇报 | `final_slides.md`, optional `.pptx`, speech script | | `paper` | 小论文/课程论文/读书报告/观后感/心得体会 | `final_paper.md`, optional `.docx`/`.pdf` | | `script` | 演讲稿/发言稿/答辩稿/课堂分享 | `final_script.md` | | `mixed` | User asks for PPT + paper + script, or task is ambiguous | combined deliverables | ## Startup Layer ### 1. 低摩擦摄入 尽可能多地从用户的文字和文件中进行推断。仅当缺少的答案会改变可交付成果时才询问。