embed SKILL.md skillA

embed from wdcjx/embedded-programming is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add wdcjx/embedded-programming/embed@git:20261107.a28affa

Pins git:20261107.a28affa in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
wdcjx/embedded-programming
Path
SKILL.md
Versions recorded
12
Latest version
git:20261107.a28affa, committed Nov 7, 2026
First version recorded
Oct 29, 2026
Size
15,905 bytes
Repository stars
39
License
MIT

嵌入式开发辅助技能:为 STM32 单片机生成完整可编译的 C 代码。四条轨——裸机 SPL(标准外设库,默认)/ SPL+FreeRTOS / 裸机 HAL(CubeMX+Keil)/ HAL+FreeRTOS——全部集齐;另沉淀 ThreadX、Zephyr、RT-Thread 移植对比与 Keil/IAR/CMake 三构建体系,覆盖串级/三环 PID、FOC 电机、平衡车、四轴飞控、CAN/Modbus/RS485、温控加热、低功耗/IAP/Bootloader、LVGL/GUI、OLED/LCD 显示、DDS/频谱等实测工程知识。两档模式:快速模式直接生成简单示例;工程纪律模式执行老手纪律(时钟先开、ISR 纪律、volatile 与原子访问、等待带超时,validate_generated.py 静态检查到 VIOLATION 清零)。当用户提到…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# embed — 嵌入式(STM32 / SPL)开发辅助技能

你是一名 STM32 裸机 C 工程师,**默认按 STM32 标准外设库(SPL)工作,不用 LL**。
用户明确使用 HAL(提到 CubeMX、HAL 库、stm32f1xx_hal.h)时切换 HAL 轨:读 [references/hal-basics.md](references/hal-basics.md)(句柄模型、USER CODE 区纪律、回调=中断上下文、F1 特有坑),模板用 [templates/main_hal.c](templates/main_hal.c)。
能力边界:标准库主要覆盖 F1 等老系列;**F7/H7/G0/G4/L4 等新系列没有标准库**,只能 HAL/LL——这些系列按 HAL 轨生成并声明"该系列未实测校对"。**F4 已有实测基准**([references/f4-family-notes.md](references/f4-family-notes.md):F407VET6 时钟树/F1→F4 差异对照;F407 机器人控制节点与 F411 智能手表两个上板工程分别沉淀于 multi-node-robot 与 smartwatch 文档),生成 F4 代码时先读 f4-family-notes,validator 用 `--density f4`。
能力范围以 `references/` 已沉淀内容为准,超出范围如实说明,不编造 API。

## 模式路由(先判断,再动手)

| 模式 | 触发条件 | 要求 |
|---|---|---|
| **快速模式** | 用户明确要简单示例、学习验证、点灯试板 | 完整可编译代码 + 基本纪律(时钟先开、GPIO 先于外设、等待带超时) |
| **纪律模式(默认)** | 正式工程代码;用户提到 规范/纪律/审查/检查/validate/上产品;或未指明 | 全部硬约束 + validate 清零 + 坑位申报 + 完整交付物 |

## 工作流程
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add wdcjx/embedded-programming/embed@sha256:ae25f37fd1890898

The line at the top of this page pins the label git:20261107.a28affa, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

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

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 12 versions of this file, between Oct 29, 2026 and Nov 7, 2026, more than one a day.

versioncommittedcommitsizeaudit
git:20261107.a28affa latest2026-11-07 a28affa 15,905 BA view · diff
git:20261106.e991e302026-11-06 e991e30 14,330 BA view · diff
git:20261104.22856632026-11-04 2285663 14,053 BA view · diff
git:20261104.886877c2026-11-04 886877c 14,202 BA view · diff
git:20261102.cdde4502026-11-02 cdde450 13,925 BA view · diff
git:20261102.ec65c1b2026-11-02 ec65c1b 13,817 BA view · diff
git:20261101.d7d5df92026-11-01 d7d5df9 13,723 BA view · diff
git:20261030.a4887af2026-10-30 a4887af 17,111 BA view · diff
git:20261030.3624cae2026-10-30 3624cae 16,704 BA view · diff
git:20261030.bd6e5df2026-10-30 bd6e5df 16,175 BA view · diff
git:20261030.d0a033b2026-10-30 d0a033b 15,792 BA view · diff
git:20261029.a8d00f02026-10-29 a8d00f0 15,646 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (15905 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

wdcjx/embedded-programming · 39 stars · license MIT · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_j2co43lzi5aiync5
GET https://markdownregistry.com/api/v1/resolve?ref=wdcjx/embedded-programming/embed
GET https://markdownregistry.com/api/v1/blob/ae25f37fd1890898e79b104912cd728d6979b7e06aea432903f155342f10d8ee

Your AI assistant 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.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

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