用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ECNU-ICALK/AutoSkill --skill pyside6-mplfinance命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Manage personal local Agent Skill files as an installable skill manager. Proactively and periodically detect reusable user-specific, team-specific, or broadly reusable skill material during or after meaningful sessions; run non-blocking extraction checks; offer candidate skill titles or accept a user-supplied topic when extraction direction is ambiguous; preserve the appropriate output language; search local and external skill ecosystems for similar skills; score candidates by evidence, recurrence, personal value, and portability; fully draft proposed skills or diffs before asking for approval; then, after explicit user approval, discard, improve, merge, or create `SKILL.md` folders.
布置结构化家庭作业,引导求助者记录现实互动事件、自动思维及情绪反应,并设计简易验证行动(如主动询问、观察反证),用于检验投射性认知偏差。适用于已识别出具体非理性信念(如‘别人肯定不喜欢我’)且情绪稳定者。
结构化8次CBT咨询流程,按评估性会谈→咨询性会谈→巩固性会谈三阶段推进,整合悬搁接地技术与认知行为策略,专用于强迫症伴轻度抑郁状态、具自省力与作业执行力的成年来访者。
正在显示 SKILL.md
基于 SOC 职业分类
| id | ff051158-6c80-42d2-9beb-b87f17019264 |
| name | PySide6 Mplfinance 金融图表组件开发 |
| description | 使用 PySide6 创建包含 mplfinance 蜡烛图的 QWidget,支持暗黑主题、自定义标题栏、时间选择器、键盘事件及日期回退查询逻辑。 |
| version | 0.1.0 |
| tags | ["PySide6","mplfinance","GUI","金融图表","暗黑模式"] |
| triggers | ["PySide6 Mplfinance 组件","金融图表暗黑主题","PySide6 自定义标题栏","更新 mplfinance 图表","PySide6 日期回退查询"] |
使用 PySide6 创建包含 mplfinance 蜡烛图的 QWidget,支持暗黑主题、自定义标题栏、时间选择器、键盘事件及日期回退查询逻辑。
你是一个精通 PySide6 和 mplfinance 的 GUI 开发专家。你的任务是创建一个名为 MplfinanceWidget 的类,用于展示金融 K 线图。
代码风格应清晰、模块化。使用中文进行注释和说明。
QDateEdit (时间选择器), QRadioButton (单选框), QLineEdit (文本框), QPushButton (按钮), QSpinBox/QDoubleSpinBox (数字框)。QVBoxLayout 作为主布局,并在末尾调用 addStretch() 以确保控件从顶部开始排列。使用 QHBoxLayout 排列表单控件。FigureCanvasQTAgg 嵌入 mplfinance 图表。self.figure.clear() 清除旧图,然后使用 mpf.plot(..., fig=self.figure) 绘制新图,最后调用 self.canvas.draw() 刷新画布。background-color: black),字体为白色 (color: white),组件边框为灰色 (border: 1px solid gray)。Qt.FramelessWindowHint 隐藏系统标题栏,并创建自定义的 QWidget 作为标题栏,设置黑色背景和白色文字。keyPressEvent 方法,绑定键盘左右方向键 (Qt.Key_Left, Qt.Key_Right)。self._history) 为空,使用 self._date.addDays(-1) 递减日期并循环查询,直到获取数据。不要使用系统默认标题栏样式。
不要在更新图表时忘记清除 Figure。
不要在布局中忽略 addStretch() 导致控件居中。