Skip to main content

serial-diagnostics

Diagnose embedded runtime behavior through serial logs after build/upload. Use when investigating boot loops, crashes, watchdog resets, panic output, missing boot markers, peripheral initialization issues, or silent serial sessions.

来源信息

仓库
jl-codes/platformio-mcp
最近来源活动
2026年5月17日 06:06
检测到的 SKILL.md 语言
英语
星标
49
分支
19

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
serial-diagnostics
description
Diagnose embedded runtime behavior through serial logs after build/upload. Use when investigating boot loops, crashes, watchdog resets, panic output, missing boot markers, peripheral initialization issues, or silent serial sessions.
# Serial Diagnostics ## Purpose Use this skill when firmware builds and flashes but the device has runtime issues. ## Safety Rules - Do not interrupt an active flash operation. - Do not start multiple monitors on the same port. - Do not assume silence means success. - Preserve serial logs. ## Workflow 1. Confirm the target device and serial port. 2. Start or query the serial monitor. 3. Capture logs for a bounded time window. 4. Identify boot markers, panic traces, reset loops, or missing output. 5. Summarize runtime health. 6. Recommend the smallest next code change. 7. If needed, patch firmware and rebuild. 8. Ask before reflashing. ## Runtime Patterns Detect: ```text BOOT_OK watchdog reset brownout detector Guru Meditation panic stack overflow heap corruption reboot loop no serial output sensor init failed WiFi failed BLE failed ```
在 GitHub 查看