rt-thread-integration
Skill36 starsChanged 5 months agoMITView on GitHub
Use when integrating, porting, configuring, or debugging RT-Thread, Env, Kconfig, FinSH, device framework, DFS, networking, packages, or board support
In this repository75 other files it gives its agents.
- 8051-mcu-debugSkill
- avem-integrationSkill
- battery-charger-fuel-gauge-integrationSkill
- ble-gatt-integrationSkill
- bootloader-debugSkill
- canbus-integrationSkill
- canopen-integrationSkill
- cellular-at-modem-integrationSkill
- cmbacktrace-integrationSkill
- cmsis-dsp-integrationSkill
- cortex-m-debugSkill
- cortex-r5-debugSkill
- crc-checksum-integrationSkill
- easylogger-integrationSkill
- embedded-app-example-libsSkill
- embedded-buffer-queue-libsSkill
- embedded-data-parsing-libsSkill
- embedded-debug-entrySkill
- embedded-fault-debugSkill
- embedded-framework-libsSkill
- embedded-input-libsSkill
- embedded-library-entrySkill
- embedded-linux-login-debugSkill
- embedded-peripheral-bringupSkill
- embedded-serial-log-debugSkill
- embedded-state-machine-libsSkill
- embedded-timing-libsSkill
- epd-integrationSkill
- esp-idf-integrationSkill
- fatfs-integrationSkill
- flashdb-integrationSkill
- freemodbus-integrationSkill
- freertos-kernel-debugSkill
- freertos-plus-tcp-integrationSkill
- gnss-gps-integrationSkill
- hardware-interface-debugSkill
- heatshrink-integrationSkill
- letter-shell-integrationSkill
- littlefs-integrationSkill
- low-power-debugSkill
- lvgl-integrationSkill
- lwip-integrationSkill
- mbedtls-integrationSkill
- mcuboot-integrationSkill
- mcu-flashing-debugSkill
- micro-ecc-integrationSkill
- miniz-integrationSkill
- mqtt-embedded-integrationSkill
- nanopb-integrationSkill
- nrf-connect-sdk-integrationSkill
- nr-micro-shell-integrationSkill
- openocd-jlink-stlink-debugSkill
- openthread-integrationSkill
- ota-update-integrationSkill
- plooc-integrationSkill
- power-management-integrationSkill
- qspi-xip-flash-debugSkill
- readme-writingSkill
- riscv-mcu-debugSkill
- rtos-debugSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill to debug RT-Thread by separating BSP configuration, kernel objects, device framework registration, components, and packages.
- Distinctive: line 16
Use this skill when:
- Very specific: line 25
Do not use this skill for a generic MCU peripheral with no RT-Thread component surface.
- Distinctive: line 53
Add components one layer at a time.
- Distinctive: line 57
Check package versions, include paths, component symbols, and board hooks.
- Distinctive: line 70
Before claiming RT-Thread integration works:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
RT-Thread Integration
Overview
Use this skill to debug RT-Thread by separating BSP configuration, kernel objects, device framework registration, components, and packages. RT-Thread problems often come from missing component config or device registration order.
When To Use
Use this skill when:
- The user is working with RT-Thread, RT-Thread Studio, Env, SCons, BSPs, or packages.
- The issue involves threads, semaphores, mailboxes, message queues, timers, FinSH/MSH, device drivers, DFS, SAL, lwIP, or OTA components.
- A peripheral, filesystem, shell command, or network interface is present in code but missing at runtime.
Do not use this skill for a generic MCU peripheral with no RT-Thread component
surface. Use embedded-peripheral-bringup first. For generic RTOS scheduling
triage, use rtos-debug.
First Questions
Ask for:
- RT-Thread version, BSP, board, toolchain, build system, and
rtconfig.h. - Enabled components/packages from menuconfig or RT-Thread Studio.
- Device name, driver registration path, init level, and FinSH output.
- Thread list, stack sizes, priorities, heap size, and console log.
- Current symptom and the command or API that fails.
Integration Checklist
- Reproduce the build configuration.
Capture BSP, toolchain, package versions,
rtconfig.h, and generated files. - Prove console and shell. Bring up UART console and FinSH/MSH before deeper component debugging.
- Check kernel objects. Inspect thread state, stack, priority, tick, heap, and IPC object ownership.
- Prove device registration.
Confirm driver init level, device name, class, open flags, and
list_device. - Add components one layer at a time. For DFS, SAL, lwIP, USB, or OTA, verify the lower device and config first.
- Validate package assumptions. Check package versions, include paths, component symbols, and board hooks.
Common Failures
rtconfig.hdoes not include the component the code expects.- Device is registered under a different name than the application opens.
- Driver init runs before clocks, pins, DMA, or heap are ready.
- Thread stack is too small for shell, filesystem, or networking code.
- FinSH command exists but is compiled out by component config.
- Package code assumes a POSIX, DFS, or SAL layer that is not enabled.
Verification
Before claiming RT-Thread integration works:
- State RT-Thread version, BSP, build command, and enabled components.
- Confirm console/shell output and relevant
list_*command evidence. - Confirm device registration and open/read/write or control behavior.
- Confirm stack and heap margins for the exercised path.
Example
User:
RT-Thread 里 spi device 找不到。Agent:
- Checks BSP config, SPI component symbols, and board pin init.
- Uses shell device listing to confirm registration name and class.
- Fixes init order or device name before changing the application driver.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

