8051-mcu-debug
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers, UART, or startup failures
Use when integrating, porting, configuring, or debugging FatFs FAT/exFAT filesystems, diskio drivers, SD cards, SPI flash disks, or embedded file I/O failures
$ npx -y skills add easyzoom/aix-skills --skill fatfs-integration --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/fatfs-integrationContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when integrating, porting, configuring, or debugging FatFs FAT/exFAT filesystems, diskio drivers, SD cards, SPI flash disks, or embedded file I/O failures
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, UART, or startup failures
Use when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers, middleware, or application…
Use when integrating or debugging Li-ion charger/fuel gauge ICs (BQ24295, BQ27441, MAX17048) over I2C, covering charge start, watchdog host mode, NTC/JEITA…
Use when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications, pairing, connection parameters,…
Use when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image validation, rollback, or boot…
Use when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing, filters, or embedded automotive…