Firmware and boards outlive the people who made them.
These skills make AI-assisted embedded code, tests, field communication, device security, battery life, schematics and circuit boards that a technician, a beginner,
or a new developer can read like a story, change safely, and fix with the help of drawings.
| Skill | Use it for |
|---|---|
| easy-embedded-code | Firmware in C, C++, Arduino and MicroPython: simple readable code, drawings, settings in one file, problem solving, git |
| easy-industrial-comms | Field communication to the standards: TIA-485 wiring, Modbus RTU / TCP per the Modbus specifications, CAN / CANopen, MQTT and OPC UA uplink, register maps, commissioning and fault-finding |
| easy-device-security | Security for connected devices: ETSI EN 303 645, IEC 62443-4-1/4-2, EU Cyber Resilience Act, RED / EN 18031; secure boot, signed updates, unique credentials, TLS, debug lock, SBOM, vulnerability handling |
| easy-low-power-design | Battery-powered and energy-saving design: energy budget first, nano-amp power tree, deep sleep and wake sources, radio duty cycle, current measurement and battery-life validation; EU standby limits (2023/826, IEC 62301), IEC 62133-2 / IEC 60086 / UN 38.3, EU Battery Regulation, ETSI EN 300 220 |
| easy-firmware-testing | Firmware tests to ISO/IEC/IEEE 29119 and safety standards: unit tests on the PC, tests on the board and hardware-in-the-loop, fault and soak tests, coverage, CI, traceability and reports |
| easy-schematic-design | Schematics to IEC / IEEE standards: standard symbols, designators and values, a calculation for every value, worst-case and derating checks, ERC and review |
| easy-pcb-design | Circuit boards: schematic and layout to IPC / IEC standards, verified library parts, standard manufacturing files, review checklists and first power-up |
Install any of them. Each works on its own; together they cover the whole device, from the schematic to the board to the code that runs on it, how it talks to the field, how it stays secure, how long its battery lasts, and the tests that prove it works.
Most firmware is written by one expert and maintained by everyone else. The usual problems:
| Problem in the field | What this skill does about it |
|---|---|
| "Where do I change the pump timeout?" | Every changeable value lives in one settings.h, marked CHANGE HERE: with its unit and safe range |
| A typo sends a wrong value to the device | Build-time checks (static_assert) stop the build with a plain message |
| Nobody knows which wire goes to which pin | One pins.h plus a pin map table and wiring drawing |
The logic is a maze of ifs and flags |
Behaviour is a drawn state machine: the drawing sits right above the switch that implements it |
x = (p*10)>>3; // calc |
Names with units (pressure_bar_x10, timeout_ms) and comments that explain why |
| A fault in the field is a mystery | Every error has a code, a plain log line, an LED blink pattern and a row in error_codes.md |
| A new developer (or AI) gets lost | PROJECT_MAP.md and searchable tags let anyone find the right file in seconds |
| "It resets randomly on site" | A 7-step problem-solving method and a table of common embedded faults: find the cause with evidence, fix it, leave a guard |
| Repo full of build files, passwords, "final_v2" | Git rules: .gitignore for every IDE, secrets kept out, one version number, clear commit messages, releases |
| Code that only an expert can review | Expert rules built in: architecture layers, C rules, interrupts, RTOS, hardware, reliability, OTA, testing |
flowchart LR
A[1. Understand<br>the hardware] --> B[2. Draw first<br>block, pins, states]
B --> C[3. Standard<br>project layout]
C --> D[4. Write simple<br>readable code]
D --> E[5. Human docs<br>map, how-to, errors]
E --> F[6. Checklist +<br>plain explanation]
- Understand the hardware. The skill writes down what the device does in plain words, a pin map, and a block diagram.
- Draw before coding. State machines, flowcharts and timing as plain-text drawings, which work inside code comments, in Git, and in any editor.
- Standard layout. Settings, pins, one file per real thing (
pump.c,pressure_sensor.c), chip-specific code kept separate. - Readable code. Small flat functions, no clever tricks, non-blocking timers, safe state on power-up and on error.
- Human documents.
README.md,PROJECT_MAP.md,HOW_TO_CHANGE.md,error_codes.md,CHANGELOG.md. - Check and explain. A final checklist, then a plain summary with the drawing, a "what you can change" list, assumptions, and test steps.
The skill works on its own and carries what experienced firmware engineers do, explained simply:
| Area | Examples of what the skill applies |
|---|---|
| Architecture | Small layout for small projects; app / module / interface / bsp / platform layers for products; one-way dependencies |
| C rules | Fixed-size types, static / const / volatile used correctly, checked return values, one error enum, no malloc, bounded loops |
| Interrupts | Fast in, fast out; ring buffers; FromISR APIs; priorities by importance; safe shared data |
| RTOS | One task one job, drift-free loops, one owner per peripheral, timeouts on every wait, health monitor, task table |
| Hardware | Pull-ups, debounce, opto-isolation, 4-20 mA broken-wire detection, relay drivers, RS-485 termination |
| Field reliability | Watchdog, reset reason, safe state, settings with CRC and two copies, flash wear, retries with limits |
| Communication | Framing, CRC, timeouts, byte order, Modbus timing, MQTTS with offline buffering |
| OTA & security | A/B slots with rollback, signed images, no secrets in code, locked debug port |
| Testing & release | PC unit tests, fault tests, soak tests, factory test mode, release checklist |
Same rules for MicroPython, CircuitPython and Python on Raspberry Pi / embedded Linux:
settings.py with safe-range checks at start-up, pins.py, one module per real thing,
wrap-safe ticks_diff timers, tiny interrupt handlers (micropython.schedule), asyncio jobs,
watchdog and reset-reason logging, safe-boot, few flash writes, secrets.py kept out of git,
mpremote deploy steps, PC tests with pytest, and systemd services on Linux.
When something "does not work", the skill does not guess. It follows a 7-step method:
describe -> collect evidence -> reproduce -> split hardware/software -> list causes -> test one
at a time -> fix the cause and leave a guard. It then reports Problem, Cause, Fix, Checked,
Prevent, and adds the symptom to a troubleshooting.md table so a technician can solve it
next time. Includes git bisect steps to find which change broke it.
Every project comes ready for GitHub: .gitignore for PlatformIO / STM32CubeIDE / ESP-IDF /
Keil / IAR / MPLAB, .gitattributes, secrets.example.h instead of real passwords, one
FIRMWARE_VERSION matching the git tag, plain commit messages (fix: debounce fire input),
releases with binaries and checksums, and a pull-request checklist.
project/
├── README.md What it does, block diagram, how to build and flash
├── PROJECT_MAP.md Every file in one line + "where to change what"
├── HOW_TO_CHANGE.md Step-by-step recipes for common changes
├── CHANGELOG.md What changed, when, why (plain words)
├── docs/
│ ├── pin_map.md Pin table + wiring drawing
│ ├── states.md State machine drawings
│ └── error_codes.md Every error: code, meaning, what to check
├── config/
│ ├── settings.h ALL changeable values: units, safe range, default
│ └── pins.h ALL pin numbers in one place
└── src/
├── main.c Short. Reads like a story
├── <thing>.c/.h One file per real thing
└── hal/ Chip-specific code only
Small Arduino sketches get a lighter version of the same idea.
Search for one tag and find every place of that kind, in any editor:
| Tag | Meaning |
|---|---|
CHANGE HERE: |
A value people are expected to change |
DANGER: |
Safety-critical: explains the risk before you touch it |
HARDWARE: |
Depends on wiring or chip |
ASSUMPTION: |
Guessed value; confirm on site |
TODO: |
Not finished, and what is missing |
WHY: |
Reason for a non-obvious decision |
The schematic is the master document of a board. Layout, parts list, firmware pin map and
every future repair come from it. easy-schematic-design gives right values, proved by
calculation, drawn so anyone can follow them.
flowchart LR
A[1. Requirements<br>+ interface table] --> B[2. Block diagram<br>+ sheet plan]
B --> C[3. Calculate<br>every value]
C --> D[4. Draw to<br>the standards]
D --> E[5. ERC + worst case<br>+ review]
E --> F[6. PDF, BOM,<br>layout notes]
| Area | What the skill applies |
|---|---|
| Symbols and designators | IEC 60617 or IEEE 315 symbols (one style per drawing), IEEE 315 / ASME Y14.44 designators (R, C, U, J, K, TP...), IEC 81346 for industrial panels |
| Values | IEC 60062 codes (4K7, 2R2, 100n), IEC 60063 E-series standard values, SI units (IEC 60027) |
| Drawing rules | IEC 61082-1 / IPC-2612: signals left to right, supplies up, ground down, junction dots, no four-way junctions, net naming, no hidden power pins, ISO 5457 sheets, ISO 7200 title blocks |
| Calculations | LED, divider and ADC scaling, I2C pull-ups (UM10204), RC filters, transistor and MOSFET switches, relays, opto inputs, 4-20 mA with NAMUR NE 43 fault levels, crystal capacitors, regulators, fuses, TVS, RS-485 bias, USB-C |
| Checks | ERC messages explained, derating tables, worst-case tables, full review checklist, common schematic mistakes |
| Safety | Mains areas and isolation barriers marked with IEC 60417 symbols and ratings; separate earth, chassis and signal grounds |
| Handover | PDF, BOM, firmware pin map, layout notes (net classes, placement, keep-outs), revisions and git |
Two small Python scripts (no extra packages):
python scripts/e_series.py --divider --vin 24 --vout 3.0 # resistor pair from standard values
python scripts/check_schematic.py my_project/ # designators, values, footprints, MPNs
A board is cheap to change on screen and expensive to change after it is made.
easy-pcb-design follows published standards instead of guesses, uses standard library parts
from the web (checked against the datasheet), and produces the standard file set any factory
accepts.
flowchart LR
A[1. Requirements<br>+ block diagram] --> B[2. Parts with MPN<br>+ schematic]
B --> C[3. Verified<br>footprints]
C --> D[4. Factory rules<br>placement, routing]
D --> E[5. DRC + review<br>checklists]
E --> F[6. Standard files<br>+ bring-up plan]
| Area | What the skill applies |
|---|---|
| Standards | IPC-2221 voltage spacing, IPC-2152 / IPC-2221 trace width, IPC-7351 footprints and names, IPC-6012 / IPC-A-600 / IPC-A-610 classes, IEC 62368-1 / 60664-1 creepage and clearance for mains, IEC 61000-4-x EMC tests |
| Standard libraries | KiCad official libraries, manufacturer CAD files, Ultra Librarian / SnapEDA / SamacSys, assembler parts: with a pin-1, pin-map, land-pattern and 3D check for every part |
| Design rules | Power input protection, regulators, decoupling, MCU block, ground plane, opto-isolated inputs, 4-20 mA, relays, RS-485 / CAN / USB, 4G and antennas, EMC / ESD, heat, mechanics, DFM / DFA / DFT, silkscreen |
| Manufacturing files | Gerber X2, Excellon PTH / NPTH, IPC-D-356 netlist, BOM, pick-and-place, fab notes template, assembly and schematic PDFs, STEP, IPC-2581; one-command export with kicad-cli |
| Reviews and bring-up | Schematic, layout and before-ordering checklists; first power-up plan; fault-finding method; table of common board problems; recording bodge fixes (ECOs) |
| Git for hardware | Repository layout, .gitignore for KiCad, revisions on the silkscreen and as tags, release zips |
Two small Python scripts (no extra packages):
python scripts/trace_width.py --current 2 # 2 A, 1 oz, outer layer -> 0.78 mm minimum
python scripts/check_fab_outputs.py board_fab.zip # missing layers, drill files, X2, BOM vs placement
A device that works on the desk can still fail on site. A sensor wire breaks, the supply
dips, the network drops for a day, a timer wraps after 49 days. easy-firmware-testing finds
these before a customer does, and keeps fixed bugs fixed.
flowchart LR
A[1. Testable code<br>+ requirement IDs] --> B[2. Static checks<br>warnings, MISRA]
B --> C[3. Unit tests<br>on the PC]
C --> D[4. Board + HIL<br>tests]
D --> E[5. Fault, power<br>and soak tests]
E --> F[6. Coverage, CI,<br>traceability, report]
| Area | What the skill applies |
|---|---|
| Standards | ISO/IEC/IEEE 29119 test design and documents; IEC 61508, ISO 26262, IEC 62304, DO-178C integrity levels and coverage (statement, branch, MC/DC); IEC 60730-1 Class B self-tests; MISRA C / CERT C |
| Unit tests on the PC | Logic separated from hardware, fakes for I/O, time and storage, Unity / Ceedling / CMake, pytest for MicroPython, state machine tables, timer wrap-around, CRC check values, sanitizers, gcov coverage |
| Board and HIL tests | Unity on the MCU over UART, plain-text test commands, a hardware-in-the-loop rig with relays, 4-20 mA source and programmable supply, a ready pytest + pyserial template |
| Fault and long-run tests | Fault injection table, brown-out and power-cut during flash write, watchdog and boot-loop, communication loss, OTA failures, 72-hour soak with memory and stack logging |
| Production | Factory test sequence with records per serial number, technician checklists |
| CI and documents | Compiler warnings, cppcheck, stack and size limits, GitHub Actions template, test plan / test case / report / bug templates, flaky tests, release gate |
Two small Python scripts (no extra packages):
python scripts/unity_report.py serial_log.txt --junit report.xml # pass/fail summary, board resets
python scripts/trace_matrix.py --req docs/requirements.md --tests test/ hil/ --strict
Field buses fail in boring ways: A and B swapped, a terminator missing, parity different on one
device, a register off by one. easy-industrial-comms gets them right first time by following the
standards, and gives technicians a way to find faults on site.
flowchart LR
A[Interface sheet] --> B[Wiring to TIA-485 / ISO 11898]
B --> C[Register map]
C --> D[Firmware to the Modbus spec]
D --> E[Comm-loss safe state]
E --> F[Test and commission]
| Area | What the skill applies |
|---|---|
| Standards | TIA/EIA-485-A, Modbus Application Protocol V1.1b3, Modbus over Serial Line V1.02, Modbus TCP, ISO 11898 CAN / CAN FD, CiA 301 CANopen, MQTT 3.1.1 / 5.0, Sparkplug, OPC UA (IEC 62541) |
| Wiring | Daisy chain, termination at both ends, fail-safe bias, unit loads, common wire, shield and isolation, surge protection |
| Firmware | Frame end by t3.5 / idle line, CRC-16/MODBUS, function limits and exception codes in the specification's order, driver-enable timing, master polling with timeouts and retries, communication watchdog |
| Documents | Interface sheet per link, register map as the single source of truth (wire address and PLC number, scaling, word order) |
| On site | Multimeter checks (60 ohm, idle voltage), commissioning checklist, fault-finding order, symptom table, fault report |
python scripts/modbus_tool.py --decode "01 03 00 00 00 0A C5 CD" # check a captured frame
python scripts/rs485_calc.py --devices 12 --vcc 5 --bias 680 --baud 19200 --length 800
A connected device is a small computer on someone else's network for ten years.
easy-device-security closes the usual holes first (default passwords, unsigned updates, open
debug ports, secrets in firmware, unchecked certificates), then maps everything to the standards
customers and laws ask for, while making sure safety functions never depend on security checks.
flowchart LR
A[Which standards apply] --> B[Threat model]
B --> C[Security requirements]
C --> D[Secure boot and signed updates]
D --> E[Credentials, TLS, debug lock]
E --> F[Scan and test]
F --> G[SBOM, disclosure, release]
| Area | What the skill applies |
|---|---|
| Standards and laws | ETSI EN 303 645, IEC 62443-4-1 / 4-2, EU Cyber Resilience Act, RED delegated act + EN 18031, NIST IR 8259A and SP 800-193, IETF SUIT, ISO/IEC 29147 / 30111, SPDX / CycloneDX, OWASP IoT; Indian TEC code of practice, CERT-In, DPDP Act |
| Boot and updates | Chain of trust, signed images (ECDSA P-256 / Ed25519), A/B update with rollback, anti-rollback counters, key management plan, per-chip notes (ESP32, STM32, nRF, NXP, RP2350) |
| Hardening | Unique per-device credentials, factory provisioning, TLS with certificate validation and CA pinning, secret storage, interface list, secure coding, security logging |
| Process | STRIDE threat model, mapped security requirements, security tests, SBOM, vulnerability disclosure, CRA duties, release checklist |
python scripts/security_scan.py my_firmware/ --exclude Drivers # keys, passwords, TLS off, weak crypto
A battery product lives or dies on one number: the average current. Most of it is lost where
nobody looked: a pull-up held low, a regulator eating 50 uA doing nothing, a sensor never told to
sleep, a debugger left connected while measuring. easy-low-power-design plans the energy on
paper first, measures it on the bench second, and keeps alarms and safety functions working to
the last drop of the battery.
flowchart LR
A[Requirements: life, battery, latency] --> B[Energy budget]
B --> C[Power tree, low-Iq parts]
C --> D[Firmware that sleeps]
D --> E[Radio duty cycle]
E --> F[Measure the floor]
F --> G[Validate: hot, cold, end of life]
| Area | What the skill applies |
|---|---|
| Standards and rules | EU ecodesign standby limits (Regulation (EU) 2023/826) measured per IEC 62301, IEC 60086 / IEC 62133-2 (IS 16046) / IEC 61960-3, UN 38.3, EU Battery Regulation 2023/1542, EEMBC ULPMark, ETSI EN 300 220 duty cycle, alarm battery rules (EN 14604, UL 217, EN 54-25) |
| Hardware | Power tree with quiescent currents, nano-amp regulators, load switches, no resistor current in sleep, back-powering and leakage, battery choice, pulse loads and buffer capacitors, energy harvesting |
| Firmware | Sleep modes for STM32, ESP32, nRF, EFR32, MSP430, AVR; power state machine; GPIO before sleep; tickless RTOS; BLE, LTE-M PSM / eDRX, LoRaWAN and Wi-Fi strategies; power settings in one file |
| Measurement | Power analyzer setup, divide-and-conquer for a high sleep current, culprit table, hot / cold / end-of-life / brown-out tests, power report |
python scripts/battery_life.py docs/power/profile.txt --battery ER14505 --target-years 10 --vmin 2.8
python scripts/current_log.py capture.csv --capacity 2600 # sleep floor, wake events, charge per event
All skills use the standard SKILL.md folder format for AI coding agents. Copy the skill
folders into the skills folder your tool reads. The commands below use ~/.agents/skills as the
example; change the folder if your tool's documentation names another.
Windows (PowerShell)
git clone https://github.com/arunranga247/Embedded_skill.git
$skills = "$env:USERPROFILE\.agents\skills" # change if your tool uses another folder
New-Item -ItemType Directory -Force $skills | Out-Null
Copy-Item -Recurse Embedded_skill\easy-embedded-code $skills
Copy-Item -Recurse Embedded_skill\easy-firmware-testing $skills
Copy-Item -Recurse Embedded_skill\easy-schematic-design $skills
Copy-Item -Recurse Embedded_skill\easy-pcb-design $skills
Copy-Item -Recurse Embedded_skill\easy-industrial-comms $skills
Copy-Item -Recurse Embedded_skill\easy-device-security $skills
Copy-Item -Recurse Embedded_skill\easy-low-power-design $skillsmacOS / Linux
git clone https://github.com/arunranga247/Embedded_skill.git
SKILLS=~/.agents/skills # change if your tool uses another folder
mkdir -p "$SKILLS"
cp -r Embedded_skill/easy-embedded-code Embedded_skill/easy-firmware-testing Embedded_skill/easy-schematic-design Embedded_skill/easy-pcb-design Embedded_skill/easy-industrial-comms Embedded_skill/easy-device-security Embedded_skill/easy-low-power-design "$SKILLS/"One project only: copy the folders into the project's own skills folder instead.
Web apps that accept skill uploads: zip each skill folder separately (the folder itself at the top of the zip) and upload it in the app's skills settings.
The skills turn on by themselves for firmware, testing, comms, security, low power, schematic and board work. Some prompts to try:
Write ESP32 code that reads a 4-20 mA pressure sensor and a fire alarm dry contact, and blinks an error code on the LED. My technician must be able to change the limits.
Here is my STM32 relay controller code. Clean it up and explain it to my team, who are not programmers.
Draw the state machine for this pump controller and add it to the docs.
My ESP32 board resets every few hours on site but works fine on my desk. Help me find why.
Put my STM32CubeIDE project on GitHub properly. There is a WiFi password in main.c.
MicroPython on a Raspberry Pi Pico: count pulses from a water flow meter and show litres per minute. Keep it simple for my team.
Our PLC reads wrong values from register 40010 of my device and gets CRC errors now and then. Help me find why.
Write a Modbus RTU slave for my STM32 with a register map document for the PLC programmer.
Make my ESP32 product meet ETSI EN 303 645: secure boot, signed OTA, no default passwords. Scan my code for secrets.
My sensor runs on a CR2032 and should last 3 years. It wakes every 10 s and sends BLE every minute. Will it make it?
The sleep current of my board is 180 uA instead of 3 uA. Here is the schematic and the power-analyzer CSV.
Write unit tests for my pump controller state machine and make them run on my PC without the board.
Set up a Python test rig that switches the fire input with a USB relay board and checks the pump relay over the serial port.
Which requirements have no test yet? Make the traceability matrix and a test report for release 1.4.
Design the input circuit for a 24 V dry contact from a fire panel, 50 m cable, into a 3.3 V microcontroller. Show the calculations.
Review my schematic PDF against the standards and list what to fix before layout.
Plan a KiCad board for a 24 V pump monitor: 4 opto inputs, 2 relays, two 4-20 mA inputs, isolated RS-485 and a 4G modem.
How wide should a 3 A relay trace be, and how far must 230 V copper stay from the 5 V side?
Check my Gerber zip before I order from the factory.
My new board pulls 500 mA and gets hot as soon as I power it. Help me find the fault.
You can also ask for a skill by name: "Use the easy-low-power-design skill."
Each skill is complete on its own, and also works alongside other embedded skills (coding style, architecture, RTOS, interrupt design). When two rules conflict, it picks the safer one first, then the simpler one.
easy-embedded-code/
├── SKILL.md The workflow, readability rules and final checklist
└── references/
├── templates.md File header, settings.h, pins.h, module, state machine,
│ timer, error codes, main.c, README, HOW_TO_CHANGE, CHANGELOG
├── diagrams.md Plain-text drawing guide: block, wiring, state machine,
│ flowchart, timing, RS-485 / I2C bus, optional Mermaid
├── expert-rules.md Architecture, C, ISR, RTOS, hardware, reliability, protocols,
│ memory, low power, OTA/security, testing, production, review
├── debugging.md 7-step problem solving, common faults table, git bisect,
│ fix report, troubleshooting template
├── git.md .gitignore / .gitattributes, secrets, versions, releases,
│ commit messages, branches, pull request checklist
└── python.md MicroPython, CircuitPython and embedded Linux Python:
layout, settings, timing, IRQs, asyncio, deploy, tests
easy-industrial-comms/
├── SKILL.md 7-step link workflow, fault-finding, final checklist
├── references/
│ ├── standards.md TIA-485, Modbus RTU / TCP limits and exceptions, CAN, MQTT, OPC UA
│ ├── firmware.md Receive / CRC / server / client / DE timing / register map / tests
│ └── troubleshooting.md Wiring, measurements, commissioning, symptom table, fault report
└── scripts/
├── modbus_tool.py Build / decode Modbus RTU frames, exceptions, timing
└── rs485_calc.py Unit loads, bias, length vs baud, stub length
easy-device-security/
├── SKILL.md 8-step security workflow, final checklist
├── references/
│ ├── standards.md EN 303 645, IEC 62443, CRA, RED / EN 18031, NIST, India; mapping table
│ ├── secure-boot-and-update.md Chain of trust, keys, secure boot per chip, A/B OTA, debug lock
│ ├── hardening.md Credentials, provisioning, TLS, secret storage, interfaces, coding
│ └── process-and-compliance.md Threat model, requirements, tests, SBOM, disclosure, CRA, release
└── scripts/
└── security_scan.py Finds keys, hard-coded secrets, TLS off, weak crypto, unsafe C
easy-low-power-design/
├── SKILL.md 8-step low-power workflow, battery fault-finding, final checklist
├── references/
│ ├── standards.md Standby limits, battery standards and transport, radio sleep and duty cycle
│ ├── hardware.md Power tree, regulators, leakage, batteries, pulses, harvesting, checklist
│ ├── firmware.md Sleep modes per chip, state machine, code examples, tickless RTOS, radio
│ └── measurement.md Bench setup, finding the floor, culprit table, validation, power report
└── scripts/
├── battery_life.py Budget, battery life, allowed current for a target, pulse / buffer capacitor
└── current_log.py Analyses power-analyzer CSV: floor, wake events, charge, life
easy-firmware-testing/
├── SKILL.md 10-step testing workflow, failed tests, final checklist
├── references/
│ ├── standards.md 29119, 61508, 26262, 62304, DO-178C, 60730 Class B, MISRA,
│ │ coverage levels, test design techniques, environmental / EMC
│ ├── unit-testing.md Testable design, fakes, Unity / CMake / Ceedling, state machines,
│ │ time wrap, ISR code, CRC, parsers, coverage, pytest for MicroPython
│ ├── target-and-hil.md Unity on the MCU, test commands, HIL rig and pytest template,
│ │ fault injection, power, watchdog, OTA, soak, production test
│ └── ci-and-reports.md Warnings, static analysis, stack / size, CI template, requirement IDs,
│ test plan / case / report / bug templates, flaky tests, release gate
└── scripts/
├── unity_report.py Unity output -> summary + JUnit XML, detects mid-run resets
└── trace_matrix.py Requirements -> tests -> results matrix, untested requirements
easy-schematic-design/
├── SKILL.md 10-step schematic workflow, problem solving, final checklist
├── references/
│ ├── standards.md Symbols, designators, value codes, E-series, units, sheets,
│ │ title blocks, safety and earth symbols, where to get them
│ ├── drawing-rules.md Layout, wires, junctions, labels, net names, power symbols,
│ │ connectors, notes, safety areas, worked example
│ ├── circuit-blocks.md Formulas and worked examples for 20 common circuits
│ └── review-and-erc.md ERC, derating, worst case, review checklist, common mistakes,
│ outputs, layout handover, revisions and git
└── scripts/
├── e_series.py Standard values, IEC 60062 codes, divider and LED resistors
└── check_schematic.py Checks KiCad schematics before layout
easy-pcb-design/
├── SKILL.md 11-step board workflow, problem solving, final checklist
├── references/
│ ├── standards.md IPC / IEC spacing, trace width, vias, classes, footprint
│ │ names, EMC tests, file formats, where to get the standards
│ ├── design-rules.md Power, MCU, I/O, 4-20 mA, relays, buses, 4G / RF, EMC,
│ │ thermal, mechanical, DFM / DFA / DFT, silkscreen
│ ├── libraries.md Standard symbol / footprint / 3D sources and how to verify them
│ ├── outputs.md Gerber X2, drill, BOM, pick-and-place, fab notes, kicad-cli,
│ │ hardware git layout, revisions
│ └── review-and-bringup.md Review checklists, bring-up plan, common board problems, ECOs
└── scripts/
├── trace_width.py Trace width for a current (IPC-2221 formula)
└── check_fab_outputs.py Checks a release folder or zip before ordering
Ideas, fixes and new templates are welcome. Open an issue or a pull request and describe the problem it solves for the person who has to maintain the code.
MIT: free to use, change and share, including in commercial products. Keep the licence notice in copies of the skill.