8051-mcu-debug
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…
Use when integrating, porting, configuring, or debugging FatFs FAT/exFAT filesystems, diskio drivers, SD cards, SPI flash disks, or embedded file I/O failures
Claude Code
$ npx -y skills add easyzoom/aix-skills --skill fatfs-integration --agent claude-code
Codex
$ npx skills add easyzoom/aix-skills --skill fatfs-integration -a codex -y
Cursor
$ npx skills add easyzoom/aix-skills --skill fatfs-integration -a cursor -y
Gemini CLI
$ npx skills add easyzoom/aix-skills --skill fatfs-integration -a gemini-cli -y
GitHub Copilot
$ npx skills add easyzoom/aix-skills --skill fatfs-integration -a github-copilot -y
OpenCode
$ npx skills add easyzoom/aix-skills --skill fatfs-integration -a opencode -y
Windsurf
$ npx skills add easyzoom/aix-skills --skill fatfs-integration -a windsurf -y
name: fatfs-integration description: Use when integrating, porting, configuring, or debugging FatFs FAT/exFAT filesystems, diskio drivers, SD cards, SPI flash disks, or embedded file I/O failures
Use this skill to integrate FatFs by proving the disk I/O layer before trusting filesystem behavior. FatFs is portable C, but the target-specific `diskio` functions, sector geometry, mount policy, and media timing decide whether it works reliably.
Use this skill when:
Do not use this skill when the raw block device cannot read/write sectors yet; debug the storage driver first.
Ask for:
1. Prove disk I/O. `disk_initialize`, `disk_status`, `disk_read`, `disk_write`, and `disk_ioctl` must work independently.
1. Match sector geometry. FatFs expects logical sectors and correct sector count. `GET_SECTOR_COUNT`, `GET_SECTOR_SIZE`, and `CTRL_SYNC` matter.
1. Mount before formatting. Try `f_mount` first. Ask before `f_mkfs` or any operation that can erase media.
1. Configure `ffconf.h` intentionally. Reentrancy, LFN buffers, exFAT, code page, relative paths, and timestamp support affect RAM and behavior.
1. Add locking if shared. Enable and implement synchronization when multiple tasks can access the same volume.
1. Verify persistence. Write, `f_sync`/`f_close`, unmount/reset, remount, and read back.
Before claiming FatFs works:
User:
FatFs f_mount 返回 FR_NO_FILESYSTEM。
Agent:
1. Asks for media type, sector offset, diskio implementation, and whether formatting is allowed. 1. Tests raw sector read and `GET_SECTOR_COUNT`. 1. Mounts before formatting and asks before `f_mkfs`.
AIX Skills is a public collection of Agent Skills, templates, and references for building repeatable AI workflows.
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…
Use when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers,…
Use when integrating or debugging Li-ion charger/fuel gauge ICs (BQ24295, BQ27441, MAX17048) over I2C, covering charge start,…
Use when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications,…
Use when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image…
Use when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.