domain-embedded

Community

Enforce no_std safety for embedded Rust.

AuthorAlexKVal
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Writing robust embedded Rust is hard without standard libraries and safe interrupt handling. This skill defines domain constraints and Rust implications to guide correct hardware ownership and ISR-safe patterns, reducing risk of heap usage, data races, and unsafe misuse.

Core Features & Use Cases

  • Domain rules for bare-metal Rust: No_std, deterministic memory, and ISR safety through patterns like Mutex<RefCell<T>> and HAL singletons.
  • Hardware ownership model: Use take() to acquire peripherals and avoid conflicts across components.
  • Guided design decisions: Layered view from PAC to HAL to Framework (RTIC/Embassy) to enforce safe concurrency and resource ownership in firmware.

Quick Start

Create a no_std embedded project, declare peripherals as HAL singletons with take().unwrap(), and implement a minimal ISR that toggles a GPIO using a mutex-protected shared state.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: domain-embedded
Download link: https://github.com/AlexKVal/rust-skills-for-cursor/archive/main.zip#domain-embedded

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.