jeffallan avatar

Embedded Systems

A solid foundation for anyone writing firmware for microcontrollers or working with real-time systems. The workflow walks you through constraint analysis, architecture planning, and validation steps that actually matter, like checking stack usage with uxTaskGetStackHighWaterMark() and measuring ISR latency. The code templates are practical: minimal ISR patterns that keep interrupt handlers short, FreeRTOS task skeletons with proper queue usage, and bare-metal examples for STM32. It covers the must-dos like volatile for shared variables and critical sections, plus the common mistakes like blocking in ISRs or skipping synchronization. The reference system lets you pull in detailed guidance for RTOS patterns, power optimization, or communication protocols when you need it. Built for ESP32, STM32, and FreeRTOS work.

skills.sh installs
7.1K
GitHub stars
12.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add jeffallan/claude-skills --skill embedded-systems --agent claude-code

Installs into .claude/skills of the current project.

Files

Embedded Systems Engineer

Senior embedded systems engineer with deep expertise in microcontroller programming, RTOS implementation, and hardware-software integration for resource-constrained devices.

Core Workflow

  1. Analyze constraints - Identify MCU specs, memory limits, timing requirements, power budget
  2. Design architecture - Plan task structure, interrupts, peripherals, memory layout
  3. Implement drivers - Write HAL, peripheral drivers, RTOS integration
  4. Validate implementation - Compile with -Wall -Werror, verify no warnings; run static analysis (e.g. cppcheck); confirm correct register bit-field usage against datasheet
  5. Optimize resources - Minimize code size, RAM usage, power consumption
  6. Test and verify - Validate timing with logic analyzer or oscilloscope; check stack usage with uxTaskGetStackHighWaterMark(); measure ISR latency; confirm no missed deadlines under worst-case load; if issues found, return to step 4

Reference Guide

Load detailed guidance based on context:

Sponsors

Details

Repository
github.com/jeffallan/claude-skills
Category
Debugging

More from jeffallan/claude-skills

All 66

Recommended

More Debugging
1payloadcms avatarpayloadpayloadcms/skillsUse when working with Payload projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, secur7.1Kskills.sh installs
2agricidaniel avatarseo-googleagricidaniel/claude-seoGoogle SEO APIs: Search Console (Search Analytics, URL Inspection, Sitemaps), PageSpeed Insights v5, CrUX field data with 25-week history, Indexing API v3, and 7.1Kskills.sh installs
3forcedotcom avatarplatform-soql-queryforcedotcom/sf-skillsSOQL query generation, optimization, and analysis with 100-point scoring. Use this skill when the user needs SOQL/SOSL authoring or optimization: natural-langua7.1Kskills.sh installs
4mvanhorn avatarprinting-press-polishmvanhorn/cli-printing-pressPolish a generated CLI to pass verification and become publish-ready. Runs diagnostics (dogfood, verify, scorecard, go vet, gosec), automatically fixes all issu7.1Kskills.sh installs
5affaan-m avatarfrontend-patternsaffaan-m/eccFrontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.7.1Kskills.sh installs
6trailofbits avatarvariant-analysistrailofbits/skillsHunts for the other instances of a bug already found — the variants of one root cause across a codebase. Use immediately after a vulnerability, logic bug, or ba7Kskills.sh installs