Integrates, ports, configures, and debugs FatFs FAT/exFAT filesystems on embedded targets including SD cards, SPI flash, eMMC, and RAM disks. Covers diskio drivers, mount failures, and file I/O errors.
Ships in aix-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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:
f_mount, f_open, f_read, f_write, FR_DISK_ERR, FR_NOT_READY, FR_NO_FILESYSTEM, long filenames, Unicode, or exFAT.ff.c, ffconf.h, diskio.c, or FATFS.Do not use this skill when the raw block device cannot read/write sectors yet; debug the storage driver first.
Ask for:
ffconf.h, diskio.c, and current FatFs return code.Prove disk I/O.
disk_initialize, disk_status, disk_read, disk_write, and disk_ioctl must work independently.
Match sector geometry.
FatFs expects logical sectors and correct sector count. GET_SECTOR_COUNT, GET_SECTOR_SIZE, and CTRL_SYNC matter.
Mount before formatting.
Try f_mount first. Ask before f_mkfs or any operation that can erase media.
Configure ffconf.h intentionally.
Reentrancy, LFN buffers, exFAT, code page, relative paths, and timestamp support affect RAM and behavior.
Add locking if shared. Enable and implement synchronization when multiple tasks can access the same volume.
Verify persistence.
Write, f_sync/f_close, unmount/reset, remount, and read back.
FR_DISK_ERR from incomplete disk_ioctl or bad CTRL_SYNC.FR_NO_FILESYSTEM from wrong sector offset or unformatted media.Before claiming FatFs works:
ffconf.h options, and mount path.User:
FatFs f_mount 返回 FR_NO_FILESYSTEM。
Agent:
GET_SECTOR_COUNT.f_mkfs.What SKILL.md sets; muted values are Claude Code's defaults
/aix-skills:fatfs-integrationfrom aix-skills
npx claudepluginhub easyzoom/aix-skills --plugin aix-skills76 skills in this plugin
/8051-mcu-debugUse when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers, UART, or startup failures/avem-integrationUse when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers, middleware, or application architecture/battery-charger-fuel-gauge-integrationUse when integrating or debugging Li-ion charger/fuel gauge ICs (BQ24295, BQ27441, MAX17048) over I2C, covering charge start, watchdog host mode, NTC/JEITA faults, and SOC jumpsOther plugins' skills for the same job