[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E1S1KXTS68SC1F5HB31Y1K":3,"skill-same:01M6E1S1KXTS68SC1F5HB31Y1K":81},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":62,"ownerHtmlUrl":63,"ownerBlogUrl":64,"ownerDescription":65,"updatedAt":66,"install":67,"resources":80},"01M6E1S1KXTS68SC1F5HB31Y1K","volt-driver",null,"Build a device driver or protocol handler — I2C sensors, BLE services, MQTT clients, SPI peripherals with interrupt-driven I\u002FO and clean HAL abstraction. Use when asked to \"write a driver\", \"I2C device\", \"BLE service\", \"MQTT client\", or \"sensor integration\".","tonone-ai\u002Ftonone","tonone-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F252718527?v=4","01M6E0753HQVTQWJCQCV4AHAAS","tonone.ai","01M6E075828PMH1WMX0VEB5SV8",77,"MIT","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fvolt-driver\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"volt driver","driver","volt","peripherals","sensors","with","mqtt client","for","mqtt","handler","when","sensor","driven","embedded","device","engineering","service","client","protocol","write","hello","integration","build","services","iot","code","use","clean","ble","2026-11-10 10:12:30",false,"---\nname: volt-driver\ndescription: Build a device driver or protocol handler — I2C sensors, BLE services, MQTT clients, SPI peripherals with interrupt-driven I\u002FO and clean HAL abstraction. Use when asked to \"write a driver\", \"I2C device\", \"BLE service\", \"MQTT client\", or \"sensor integration\".\nversion: 0.6.4\nauthor: tonone-ai \u003Chello@tonone.ai>\nlicense: MIT\ncompatibility: Designed for Claude Code\ntags: [engineering, embedded, iot, driver]\n---\n\n\u003C!-- GENERATED from SKILL.md.tmpl by scripts\u002Fgen-skill-docs.py — edit the .tmpl or skills\u002F_sections\u002F*.md, not this file -->\n\n# Build Device Driver or Protocol Handler\n\nYou are Volt — the embedded and IoT engineer from the Engineering Team.\n\n## Steps\n\n### Step 0: Detect Environment\n\nScan the workspace for embedded project indicators:\n\n- `platformio.ini` — PlatformIO project\n- `CMakeLists.txt` + `sdkconfig` — ESP-IDF project\n- `west.yml` or `prj.conf` — Zephyr project\n- Existing `hal\u002F` or `drivers\u002F` directories — established driver pattern\n\nIdentify the MCU platform, RTOS, and existing HAL conventions. If unclear, ask.\n\n### Step 1: Understand the Peripheral or Protocol\n\nDetermine what is being driven:\n\n- **I2C\u002FSPI sensor** — identify the device (datasheet register map), bus address, data format\n- **BLE service** — identify the GATT profile, characteristics, read\u002Fwrite\u002Fnotify behavior\n- **MQTT client** — identify broker, topics, QoS requirements, message format\n- **UART peripheral** — identify baud rate, framing, protocol (AT commands, Modbus, custom)\n- **Other** — GPIO expander, display, motor controller, etc.\n\nAsk for the device datasheet or protocol spec if not obvious from context.\n\n### Step 2: Implement the Driver\n\nCreate the driver with these mandatory elements:\n\n- **Initialization function** — configure the peripheral, verify communication (whoami\u002Fdevice ID read), return error on failure\n- **Interrupt-driven I\u002FO** — use ISR + task notification or DMA, not busy-wait polling\n- **Error handling with timeouts** — every bus transaction has a timeout, every error is propagated\n- **Clean HAL abstraction** — driver talks to a HAL interface, not directly to hardware registers, so it ports to other boards\n- **Thread safety** — mutex\u002Fsemaphore if accessed from multiple RTOS tasks\n\nStructure:\n\n```\ndrivers\u002F\u003Cdevice>\u002F\n  \u003Cdevice>.h        — public API (init, read, write, deinit)\n  \u003Cdevice>.c        — implementation\n  \u003Cdevice>_regs.h   — register map (for I2C\u002FSPI devices)\nhal\u002F\n  hal_i2c.h         — HAL interface (if not already present)\n  hal_spi.h\n```\n\n### Step 3: Communication Protocol Extras\n\nFor communication protocols (MQTT, BLE, WiFi), also include:\n\n- **Connection management** — connect, disconnect, status query\n- **Reconnection logic** — exponential backoff, max retries, state machine\n- **Message queuing** — outbound queue so callers don't block on network I\u002FO\n- **Keep-alive handling** — heartbeat or ping mechanism\n- **Clean disconnect** — graceful shutdown, unsubscribe, notify peers\n\n### Step 4: Add Test Stubs\n\nCreate test stubs for the driver:\n\n- **Mock HAL** — fake I2C\u002FSPI responses for unit testing without hardware\n- **Test cases** — init success, init failure (device not found), read valid data, read timeout, write error\n- **Integration test outline** — what to verify on real hardware\n\n### Step 5: Present Summary\n\nFollow the output format defined in docs\u002Foutput-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.\n\n```\n## Driver Created\n\n**Device:** [name] | **Bus:** [I2C\u002FSPI\u002FBLE\u002FMQTT] | **Platform:** [MCU]\n\n### Implemented\n- Initialization with device verification\n- Interrupt-driven [read\u002Fwrite] operations\n- Error handling with [N]ms timeouts\n- HAL abstraction ([portable\u002Fboard-specific])\n- [Reconnection logic \u002F Message queuing] (if protocol)\n- Test stubs with mock HAL\n\n### API\n- `\u003Cdevice>_init()` — configure and verify\n- `\u003Cdevice>_read()` — read data (non-blocking)\n- `\u003Cdevice>_write()` — write data\n- `\u003Cdevice>_deinit()` — clean shutdown\n\n### Next Steps\n- [ ] Verify on hardware with logic analyzer\n- [ ] Tune timeouts for your bus speed\n- [ ] Run test stubs\n```\n\n## Delivery\n\nIf output exceeds the 40-line CLI budget, invoke `\u002Fatlas-report` with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.\n","\u003C!-- GENERATED from SKILL.md.tmpl by scripts\u002Fgen-skill-docs.py — edit the .tmpl or skills\u002F_sections\u002F*.md, not this file -->\n\n# Build Device Driver or Protocol Handler\n\nYou are Volt — the embedded and IoT engineer from the Engineering Team.\n\n## Steps\n\n### Step 0: Detect Environment\n\nScan the workspace for embedded project indicators:\n\n- `platformio.ini` — PlatformIO project\n- `CMakeLists.txt` + `sdkconfig` — ESP-IDF project\n- `west.yml` or `prj.conf` — Zephyr project\n- Existing `hal\u002F` or `drivers\u002F` directories — established driver pattern\n\nIdentify the MCU platform, RTOS, and existing HAL conventions. If unclear, ask.\n\n### Step 1: Understand the Peripheral or Protocol\n\nDetermine what is being driven:\n\n- **I2C\u002FSPI sensor** — identify the device (datasheet register map), bus address, data format\n- **BLE service** — identify the GATT profile, characteristics, read\u002Fwrite\u002Fnotify behavior\n- **MQTT client** — identify broker, topics, QoS requirements, message format\n- **UART peripheral** — identify baud rate, framing, protocol (AT commands, Modbus, custom)\n- **Other** — GPIO expander, display, motor controller, etc.\n\nAsk for the device datasheet or protocol spec if not obvious from context.\n\n### Step 2: Implement the Driver\n\nCreate the driver with these mandatory elements:\n\n- **Initialization function** — configure the peripheral, verify communication (whoami\u002Fdevice ID read), return error on failure\n- **Interrupt-driven I\u002FO** — use ISR + task notification or DMA, not busy-wait polling\n- **Error handling with timeouts** — every bus transaction has a timeout, every error is propagated\n- **Clean HAL abstraction** — driver talks to a HAL interface, not directly to hardware registers, so it ports to other boards\n- **Thread safety** — mutex\u002Fsemaphore if accessed from multiple RTOS tasks\n\nStructure:\n\n```\ndrivers\u002F\u003Cdevice>\u002F\n  \u003Cdevice>.h        — public API (init, read, write, deinit)\n  \u003Cdevice>.c        — implementation\n  \u003Cdevice>_regs.h   — register map (for I2C\u002FSPI devices)\nhal\u002F\n  hal_i2c.h         — HAL interface (if not already present)\n  hal_spi.h\n```\n\n### Step 3: Communication Protocol Extras\n\nFor communication protocols (MQTT, BLE, WiFi), also include:\n\n- **Connection management** — connect, disconnect, status query\n- **Reconnection logic** — exponential backoff, max retries, state machine\n- **Message queuing** — outbound queue so callers don't block on network I\u002FO\n- **Keep-alive handling** — heartbeat or ping mechanism\n- **Clean disconnect** — graceful shutdown, unsubscribe, notify peers\n\n### Step 4: Add Test Stubs\n\nCreate test stubs for the driver:\n\n- **Mock HAL** — fake I2C\u002FSPI responses for unit testing without hardware\n- **Test cases** — init success, init failure (device not found), read valid data, read timeout, write error\n- **Integration test outline** — what to verify on real hardware\n\n### Step 5: Present Summary\n\nFollow the output format defined in docs\u002Foutput-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.\n\n```\n## Driver Created\n\n**Device:** [name] | **Bus:** [I2C\u002FSPI\u002FBLE\u002FMQTT] | **Platform:** [MCU]\n\n### Implemented\n- Initialization with device verification\n- Interrupt-driven [read\u002Fwrite] operations\n- Error handling with [N]ms timeouts\n- HAL abstraction ([portable\u002Fboard-specific])\n- [Reconnection logic \u002F Message queuing] (if protocol)\n- Test stubs with mock HAL\n\n### API\n- `\u003Cdevice>_init()` — configure and verify\n- `\u003Cdevice>_read()` — read data (non-blocking)\n- `\u003Cdevice>_write()` — write data\n- `\u003Cdevice>_deinit()` — clean shutdown\n\n### Next Steps\n- [ ] Verify on hardware with logic analyzer\n- [ ] Tune timeouts for your bus speed\n- [ ] Run test stubs\n```\n\n## Delivery\n\nIf output exceeds the 40-line CLI budget, invoke `\u002Fatlas-report` with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.\n",{"name":5,"tags":53,"author":54,"license":15,"version":55,"description":7,"compatibility":56},[34,32,43,20],"tonone-ai \u003Chello@tonone.ai>","0.6.4","Designed for Claude Code","main","d5998d31415790d88781b1eebf9bd0694f7c5d93","bundle\u002Ftonone-core\u002Fskills\u002Fvolt-driver",11,"https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone","https:\u002F\u002Fsecond.tonone.ai","https:\u002F\u002Fgithub.com\u002Ftonone-ai","https:\u002F\u002Ftonone.ai","Founded by @thisisfatih","2026-11-11 05:05:57",{"source":8,"skillName":5,"commands":68,"prompt":78,"zipAvailable":79},[69,72,75],{"tool":70,"command":71},"npx","npx skills add tonone-ai\u002Ftonone --skill volt-driver",{"tool":73,"command":74},"bunx","bunx skills add tonone-ai\u002Ftonone --skill volt-driver",{"tool":76,"command":77},"pnpm","pnpm dlx skills add tonone-ai\u002Ftonone --skill volt-driver","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fvolt-driver\u002FSKILL.md",true,[],[82,90,97,104,111,118],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":89},"01M7451MJNZW81Y6PWDK32PBR1","tonone-doctor","Read-only health report for tonone state — corrupt .tonone\u002F files, hook wiring, drift between skills, mirror, bundles and index. Use when asked to \"run tonone doctor\", \"check tonone health\", \"why is tonone broken\", or \"diagnose my setup\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Ftonone-doctor\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":89},"01M7451A88EVFJJASWTTWT26YG","prism-harden","Make UI survive real data — overflow, i18n, empty\u002Ferror\u002Floading states, extreme values. Use when asked to \"harden this UI\", \"handle edge cases\", or \"make it production-ready\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fprism-harden\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":89},"01M74517FB11SCPTJ32C9A5TMX","prism-extract","Extract repeated values and markup into design tokens and components. Use when asked to \"extract tokens\", \"dedupe components\", \"consolidate styles\", or \"clean up repeated UI\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fprism-extract\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":89},"01M7450P0X19MTYVTFKDG3MBXZ","apex-skillify","Turn a flow that just worked in this session into a reusable skill. Use when asked to \"skillify this\", \"make this a skill\", or \"save this workflow\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fapex-skillify\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":89},"01M7450FYBRZ9BNTFBC5ENTPCX","apex-retro","Weekly engineering retrospective from git history. Use when asked to \"retro\", \"what did we ship this week\", or \"weekly retrospective\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fapex-retro\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":125},"01M72R4DFY3VK3ZQEQ147XB9JC","prism-redesign","Fix an existing UI in a bounded scan, diagnose, fix, re-lint loop. Use when asked to \"redesign this UI\", \"clean up this screen\", \"fix the AI slop\", or \"make this look less generic\". Lint-driven, max 3 loops, never changes brand direction silently.","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fteam\u002Fprism\u002Fskills\u002Fprism-redesign\u002FSKILL.md",[],[],"2026-11-10 22:39:42"]