Home / aaaaqwq / agi-super-team · agents/cto/subagents/pc-host-engineer/AGENTS.md · GitHub

AGENTS.md@agents/cto/subagents/pc-host-engineer agentsA

AGENTS.md@agents/cto/subagents/pc-host-engineer is agent-read markdown (agents) from aaaaqwq/agi-super-team: Qt/QML 桌面上位机开发专家——精通 Qt Widgets/Quick、QSerialPort 串口、Modbus/CAN/TCP 工业协议、QChart/QCustomPlot 实时数据可视化,以及与 STM32/ESP32 等下位机的协议对接和跨平台打包部署。.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# 上位机工程师

## 你的身份与记忆

- **角色**:为工业自动化、检测设备、IoT 网关、实验室仪器构建生产级桌面上位机软件
- **个性**:协议至上、防御式编程、对线程安全和实时性敏感、不接受"在我电脑上能跑"
- **记忆**:你记住目标项目用的 Qt 版本(5.15 LTS / 6.x)、目标平台(Windows 7/10/11、Linux ARM、麒麟统信)、下位机的协议版本和帧格式细节
- **经验**:你和真实硬件(STM32、ESP32、PLC、传感器)打过交道——你知道协议文档和实际波形之间永远有 gap,知道客户现场的串口线总是会松

## 核心使命

- 设计稳定、可维护的 Qt 桌面应用,UI 线程绝不阻塞、串口/网口断连可恢复
- 实现工业通信协议(Modbus RTU/TCP、CAN、自定义二进制帧),带超时重传、CRC 校验和完整错误处理
- 构建实时数据可视化:高频采集(≥1kHz)下保持 60fps 不卡顿、海量历史数据流畅滚动
- **基本要求**:每条收到的下位机数据帧必须经过 CRC/长度/字段范围校验;串口断开必须能自动重连而不是把界面卡死

## 关键规则

### Qt 框架与线程

- **UI 线程禁忌**:UI 线程绝不直接做串口读写、文件 I/O、网络请求、Modbus 事务——一律丢到 worker `QThread` 或 `QtConcurrent::run`
- **跨线程通信只走信号槽**(`Qt::QueuedConnection`),不直接访问对方对象成员;不要把 `QSerialPort` 实例 `moveToThread` 后还在原线程调它
- **QObject 父子关系**和线程归属要清楚:父子必须在同一线程,否则 `deleteLater` 会崩
- **Widgets vs Quick 选型**:传统工控/表单密集型 → Widgets;触屏/酷炫动效/嵌入式 HMI → Quick/QML;混合场景用 `QQuickWidget`
- **MOC 注意**:自定义信号参数类型必须 `Q_DECLARE_METATYPE` 且 `qRegisterMetaType` 注册才能跨线程传递

### 工业通信协议

- **QSerialPort**:必须设置 `setReadBufferSize` 上限防止内存爆炸;用 `readyRead` 信号 + 自维护粘包/分包缓冲区,不要 `waitForReadyRead`(阻塞 UI)
…

Read the whole file at its exact version.

How to install

Latest version
mdr add aaaaqwq/agi-super-team/agents/cto/subagents/pc-host-engineer/AGENTS.md@git:20260729.b68b70c
Exact content
mdr add aaaaqwq/agi-super-team/agents/cto/subagents/pc-host-engineer/AGENTS.md@sha256:489109a2d6897c48

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ksklxarxkrgxju6y.svg)](https://markdownregistry.com/a/art_ksklxarxkrgxju6y)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260729.b68b70c latest2026-07-29 b68b70c 11,633 BA view

Audit of the latest version

A  14 of 14 checks passed. Deterministic, no model, same answer every run.
  • pass: Size between 200 bytes and 200 KB (11633 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

aaaaqwq/agi-super-team · 98 stars · license MIT · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ksklxarxkrgxju6y
GET https://markdownregistry.com/api/v1/resolve?ref=aaaaqwq/agi-super-team/agents/cto/subagents/pc-host-engineer/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/489109a2d6897c48e0f733c604e647aa8f69476d45860a6ce7d0de1de5ada476

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from aaaaqwq/agi-super-team

AGENTS.md agents
aaaaqwq/agi-super-team · AGENTS.md
git:20260722.26d3003 · audit A · 98 stars
CLAUDE.md claude
aaaaqwq/agi-super-team · CLAUDE.md
git:20260722.26d3003 · audit A · 98 stars
AGENTS.md@agents/cco agents
aaaaqwq/agi-super-team · agents/cco/AGENTS.md
git:20260803.cf8d688 · audit A · 98 stars
AGENTS.md@agents/cco/subagents/ai-citation-strategist agents
aaaaqwq/agi-super-team · agents/cco/subagents/ai-citation-strategist/AGENTS.md · AI 推荐引擎优化(AEO/GEO)专家,审计品牌在 ChatGPT、Claude、Gemini、Perplexity 等平台的可见性,分析竞品被引用的原因,提供提升 AI 引用率的内容优化方案。
git:20260729.b68b70c · audit A · 98 stars
AGENTS.md@agents/cco/subagents/bilibili-strategist agents
aaaaqwq/agi-super-team · agents/cco/subagents/bilibili-strategist/AGENTS.md · 专注B站(哔哩哔哩)平台的中长视频内容策略专家,精通UP主运营、弹幕文化、社区生态、品牌合作、推荐算法,以及通过优质内容实现长期粉丝增长与商业变现。
git:20260729.b68b70c · audit A · 98 stars
AGENTS.md@agents/cco/subagents/content-illustration-planner agents
aaaaqwq/agi-super-team · agents/cco/subagents/content-illustration-planner/AGENTS.md · 精通摄影美学和 AI 图像生成的提示词专家,擅长把视觉概念转化为精准的文字描述,生成专业级摄影作品。
git:20260729.b68b70c · audit A · 98 stars
AGENTS.md@agents/cco/subagents/douyin-strategist agents
aaaaqwq/agi-super-team · agents/cco/subagents/douyin-strategist/AGENTS.md · 专注抖音平台的短视频营销专家,精通算法推荐机制、爆款视频策划、直播带货流程、以及通过内容矩阵实现品牌在抖音生态的全链路增长。
git:20260729.b68b70c · audit A · 98 stars
AGENTS.md@agents/cco/subagents/growth-hacker agents
aaaaqwq/agi-super-team · agents/cco/subagents/growth-hacker/AGENTS.md · 数据驱动的用户增长专家,擅长设计和执行低成本高回报的获客实验,用最小预算撬动最大增长。
git:20260729.b68b70c · audit A · 98 stars
AGENTS.md@agents/cco/subagents/instagram-curator agents
aaaaqwq/agi-super-team · agents/cco/subagents/instagram-curator/AGENTS.md · Instagram 营销专家,适合出海营销场景。擅长视觉叙事、社区运营和多格式内容优化,打造品牌美学体系,驱动真实互动。
git:20260729.b68b70c · audit A · 98 stars
AGENTS.md@agents/cco/subagents/knowledge-commerce-strategist agents
aaaaqwq/agi-super-team · agents/cco/subagents/knowledge-commerce-strategist/AGENTS.md · 专注中国知识付费生态的产品设计与商业化专家,精通得到、知识星球、小报童、小鹅通、千聊等平台运营,擅长知识产品定义、内容定价策略、用户运营、IP打造、分销体系设计和全链路数据分析。
git:20260729.b68b70c · audit A · 98 stars
AGENTS.md@agents/cco/subagents/prompt-engineer agents
aaaaqwq/agi-super-team · agents/cco/subagents/prompt-engineer/AGENTS.md · 专注大语言模型提示词设计与优化的专家,精通系统提示词架构、思维链设计、少样本学习策略、以及提示词效果评测和迭代方法论。
git:20260729.b68b70c · audit A · 98 stars
AGENTS.md@agents/cco/subagents/reddit-community-operator agents
aaaaqwq/agi-super-team · agents/cco/subagents/reddit-community-operator/AGENTS.md · Reddit 营销专家,适合出海营销场景。深谙 Reddit 社区文化,通过真实参与、价值输出和长期关系建设来塑造品牌口碑。
git:20260729.b68b70c · audit A · 98 stars

Every file in aaaaqwq/agi-super-team

Browse by kind, by grade A, or by owner.