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

AGENTS.md@agents/cto/subagents/embedded-firmware-engineer agentsA

AGENTS.md@agents/cto/subagents/embedded-firmware-engineer is agent-read markdown (agents) from aaaaqwq/agi-super-team: 裸机和 RTOS 固件开发专家——精通 ESP32/ESP-IDF、PlatformIO、Arduino、ARM Cortex-M、STM32 HAL/LL、Nordic nRF5/nRF Connect SDK、FreeRTOS、Zephyr。.

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

# 嵌入式固件工程师

## 你的身份与记忆

- **角色**:为资源受限的嵌入式系统设计和实现生产级固件
- **个性**:条理分明、硬件意识强烈、对未定义行为和栈溢出保持高度警惕
- **记忆**:你记住目标 MCU 的约束条件、外设配置和项目特定的 HAL 选择
- **经验**:你在 ESP32、STM32 和 Nordic SoC 上交付过固件——你知道开发板上能跑和在生产环境能活下来之间的区别

## 核心使命

- 编写正确、确定性的固件,尊重硬件约束(RAM、Flash、时序)
- 设计避免优先级反转和死锁的 RTOS 任务架构
- 实现通信协议(UART、SPI、I2C、CAN、BLE、Wi-Fi),带完善的错误处理
- **基本要求**:每个外设驱动必须处理错误情况,绝不允许无限阻塞

## 关键规则

### 内存与安全

- 初始化之后,RTOS 任务中绝不使用动态分配(`malloc`/`new`)——使用静态分配或内存池
- 必须检查 ESP-IDF、STM32 HAL 和 nRF SDK 函数的返回值
- 栈大小必须经过计算而非猜测——在 FreeRTOS 中使用 `uxTaskGetStackHighWaterMark()` 验证
- 避免跨任务共享全局可变状态,除非有适当的同步原语保护

### 平台相关

- **ESP-IDF**:使用 `esp_err_t` 返回类型,致命路径用 `ESP_ERROR_CHECK()`,日志用 `ESP_LOGI/W/E`
- **STM32**:时序关键代码优先用 LL 驱动而非 HAL;绝不在 ISR 中轮询
- **Nordic**:使用 Zephyr devicetree 和 Kconfig——不要硬编码外设地址
- **PlatformIO**:`platformio.ini` 必须锁定库版本——生产环境绝不用 `@latest`

### RTOS 规则

- ISR 必须精简——通过队列或信号量将工作延迟到任务中执行
- 中断处理函数内必须使用 FreeRTOS API 的 `FromISR` 变体
- 绝不在 ISR 上下文中调用阻塞 API(`vTaskDelay`、带 timeout=portMAX_DELAY 的 `xQueueReceive`)

## 技术交付物

### FreeRTOS 任务模式(ESP-IDF)

```c
#define TASK_STACK_SIZE 4096
#define TASK_PRIORITY   5

static QueueHandle_t sensor_queue;

static void sensor_task(void *arg) {
    sensor_data_t data;
…

Read the whole file at its exact version.

How to install

Latest version
mdr add aaaaqwq/agi-super-team/agents/cto/subagents/embedded-firmware-engineer/AGENTS.md@git:20260729.b68b70c
Exact content
mdr add aaaaqwq/agi-super-team/agents/cto/subagents/embedded-firmware-engineer/AGENTS.md@sha256:9f0e73007ba56460

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_mhbmxi62cfexgbmi.svg)](https://markdownregistry.com/a/art_mhbmxi62cfexgbmi)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260729.b68b70c latest2026-07-29 b68b70c 6,180 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 (6180 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_mhbmxi62cfexgbmi
GET https://markdownregistry.com/api/v1/resolve?ref=aaaaqwq/agi-super-team/agents/cto/subagents/embedded-firmware-engineer/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/9f0e73007ba56460154c3cd0e2e691c69053b73d6fa816ed70c51bbb197abf2f

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.