Firmware Code Review

Review a change to C or C++ firmware for the defects that kill devices in the field, ordered by lethality: everything an ISR touches (volatile is not atomic, multi-byte reads tear on narrow cores, no blocking, allocation or printf), every hardware wait with a timeout and an exit, tick arithmetic that survives wrap, narrowing from ADC counts and shifts, lengths from a bus or radio treated as hostile, a defined safe state with outputs de-energised for each driver failure, stack use against the task budget, and output state at reset and brownout. Ends with the map-file size delta; every comment carries a severity label. Use for "review this driver", "check this ISR", "is this safe on a Cortex-M0", "MISRA-ish review of my PR". Not for general diffs with no firmware cue (code-review), vulnerability classes (security-review), sizing (memory-footprint-budget).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit 7cbacab48c

Frequently asked questions

npx get-skill add greenblacked/firmware-code-review