add-driver

Generate native driver package files for mikrojs hardware peripherals.

11|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/mikrojs/mikrojs --skill add-driver-mikrojs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-driver
Source: https://github.com/mikrojs/mikrojs/tree/main/skills/add-driver
Command: npx skills add https://github.com/mikrojs/mikrojs --skill add-driver-mikrojs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies the process of creating and integrating custom hardware drivers into mikrojs projects, enabling developers to quickly support new peripherals.

Core Features & Use Cases

  • Driver scaffolding: Generate the foundational files for a new hardware driver package, including CMake, TypeScript wrappers, and native modules.
  • Rapid development: Accelerate hardware support development for sensors, displays, motors, and other peripherals.
  • Use Case: Imagine you want to add support for a new I2C sensor, and this Skill helps you generate the entire driver structure to start coding immediately.

Quick Start

Use the add-driver skill to scaffold a new driver package for your hardware component based on your specified parameters.

Frequently Asked Questions about add-driver

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a native hardware driver for a new microcontroller peripheral?

Scaffolding a native hardware driver automates the generation of complete driver packages, including CMake configurations, TypeScript wrappers, and native modules, for quick deployment and integration into mikrojs projects.

What files are generated when scaffolding a mikrojs hardware driver?

Scaffolding a mikrojs hardware driver generates foundational project files including CMake configurations, TypeScript wrappers, and native modules, providing the complete package structure needed for hardware extension development.

Can I use this scaffolding tool for I2C sensors and display peripherals?

Yes, the scaffolding tool applies across microcontroller peripherals like I2C sensors and displays, streamlining integration and development for various hardware extensions by generating the necessary driver structure.

What's the best way to add support for a new sensor in mikrojs?

The best way to add sensor support is to use driver scaffolding to generate the entire driver structure, including TypeScript wrappers and native modules, allowing you to start coding the hardware extension immediately.

Do I need to manually configure CMake when creating a mikrojs native module?

No, you do not need to manually configure CMake when creating a native module; the scaffolding process automatically generates the required CMake configurations alongside TypeScript wrappers for quick deployment.