library-migration-guide
Skill by ailyProject
Guides the conversion of Arduino and ESP32 hardware libraries into the Aily Blockly format. It is for developers who want to wrap an existing Arduino library as Blockly blocks.
Install library-migration-guide
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ailyProject/aily-blockly /tmp/aily-blockly && mkdir -p ~/.claude/skills && cp -r /tmp/aily-blockly/public/skills/library-migration-guide ~/.claude/skills/library-migration-guideRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install library-migration-guide in Claude Code
git clone --depth 1 https://github.com/ailyProject/aily-blockly /tmp/aily-blockly && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/aily-blockly/public/skills/library-migration-guide ~/.gemini/antigravity-cli/skills/library-migration-guideAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install library-migration-guide in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a step-by-step guide for converting Arduino and ESP32 hardware libraries into Aily Blockly compatible libraries. It covers source analysis, block.json design, generator.js implementation, toolbox.json setup, bus initialization for Serial, I2C and SPI, board adaptation, and packaging. The source says it is based on real conversion cases such as ArduinoJson, OneButton, PubSubClient, DHT, INA219 and VL53L0X.
The guide tells the assistant how to create the library folder in the project path, copy the Arduino source files, and write block types, field types and code generator rules. It includes a block type mapping, rules for avoiding duplicate setup code, and a package.json template with board compatibility settings. It is aimed at developers who build Aily Blockly libraries from Arduino code.
Written from the project's SKILL.md and checked against it.
What it can do
- Source analysisClassifies the public APIs of an Arduino library header by operation type.
- Block designMaps Arduino patterns to Blockly block types, connections and field types.
- Generator implementationCovers generator.js rules for code injection, return values and variable renaming.
- Toolbox configurationSets up toolbox.json categories, label separators and shadow blocks.
- Bus initializationExplains how to set up Serial, I2C and SPI once without duplicate begin calls.
- Board adaptationShows how to read board settings and choose target boards in package.json.
- Library packagingDescribes the library folder layout and the package.json fields to fill in.
What you need
- Aily Blockly project context, or permission to create a project
- npm for installing the local library
- Arduino library source files (.c, .cpp, .h, .hpp)
- Network access to fetch the README conventions file
Try asking
- Convert this Arduino library into an Aily Blockly library with block.json and generator.js
- Design Blockly blocks for the public API of this Arduino sensor header
- Write a toolbox.json with shadow blocks for my new Aily library
Good to know
- Companion files such as Blockly_Library_CODE_Conventions.md are referenced but not included in this source
- Library files must go in the project folder, not node_modules
- Auto-activation is turned off, so it must be invoked explicitly
- The source is cut off near the end, so the quality checklist is incomplete
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: public/skills/library-migration-guide/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to library-migration-guide
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
library-migration-guide: common questions
What does the library-migration-guide skill convert?
It converts Arduino and ESP32 hardware libraries into the Aily Blockly compatible format. The source lists ArduinoJson, OneButton, PubSubClient, DHT, INA219 and VL53L0X as example cases.
Where should converted library files be written?
All library files must be created in the project path under the library name, not in node_modules. The source says node_modules is write-protected and managed by npm.
How does the skill handle Serial setup?
It requires the ensureSerialBegin function instead of writing Serial.begin directly. The source says direct Serial.begin calls are forbidden.
How do I install library-migration-guide?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is library-migration-guide free?
The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.
Is library-migration-guide safe to use?
It scores 81 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to library-migration-guide?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
