electronics

$npx mdskill add Tibsfox/gsd-skill-creator/electronics

Routes electronics queries to 15 educational modules from Ohm's law to PCB design.

  • Matches user topics to the most specific electronics module.
  • Depends on chipset.yaml for trigger definitions and module mapping.
  • Uses longest matching trigger string to resolve ambiguous queries.
  • Returns the target module directory name for further processing.

SKILL.md

.github/skills/electronicsView on GitHub ↗
---
name: electronics
description: Electronics Educational Pack — routes queries to 15 modules covering Ohm's law through PCB design
triggers:
  - electronics
  - circuit
  - voltage
  - current
  - resistor
  - capacitor
  - inductor
  - amplifier
  - transistor
  - diode
  - op-amp
  - digital logic
  - PCB
  - power supply
  - microcontroller
  - sensor
  - DSP
  - filter
  - ADC
  - DAC
---

# Electronics Educational Pack

Comprehensive electronics curriculum grounded in *The Art of Electronics* (Horowitz & Hill, 3rd ed., 2015). Covers 15 modules across 4 tiers, from Ohm's law through PCB design, with interactive labs powered by MNA circuit simulation and digital logic simulation.

## Routing

Given a user topic, this skill routes to the appropriate module by matching trigger keywords against the 14 domain skills defined in `chipset.yaml`.

### routeToModule(topic: string): string | null

Accepts a topic string (user query or keyword) and returns the target module directory name, or `null` if no match is found.

**Algorithm:**
1. Normalize the topic string (lowercase, trim whitespace)
2. Match against each skill's `triggers` array from `chipset.yaml`
3. If multiple skills match, prefer the most specific match (longest matching trigger string)
4. Return the matched skill's `module` field (e.g., `"01-the-circuit"`)
5. For `industrial-and-applied` (multi-module skill), return the best-fit module from `[13-plc, 14-off-grid-power, 15-pcb-design]` based on the specific trigger matched
6. If no trigger matches, return `null`

**Keyword-to-Module Routing Table:**

| Keyword | Module | Skill |
|---------|--------|-------|
| voltage, current, resistance, ohm, kirchhoff, power, series, parallel, divider | 01-the-circuit | circuit-fundamentals |
| capacitor, inductor, RC, RL, RLC, filter, resonance, thevenin, norton, impedance | 02-passive-components | passive-components |
| AC, frequency, bode, decibel, dB, noise, signal, coupling, spectrum, waveform | 03-the-signal | signal-analysis |
| diode, rectifier, zener, LED, shockley, clamping, bridge, I-V curve | 04-diodes | diode-circuits |
| transistor, BJT, MOSFET, amplifier, common-emitter, emitter-follower, current-mirror, beta, gain | 05-transistors | transistor-circuits |
| op-amp, operational amplifier, inverting, non-inverting, integrator, differentiator, comparator, golden rules, active filter | 06-op-amps | op-amp-circuits |
| power supply, regulator, buck, boost, switching, linear, 7805, LDO, ripple, thermal, battery | 07-power-supplies | power-supply-design |
| logic gate, boolean, AND, OR, NOT, NAND, NOR, XOR, CMOS, truth table, K-map, de morgan | 07a-logic-gates | logic-gate-design |
| flip-flop, counter, register, state machine, clock, latch, moore, mealy, SRAM, memory | 08-sequential-logic | sequential-logic |
| ADC, DAC, sampling, nyquist, quantization, R-2R, SAR, sigma-delta, aliasing | 09-data-conversion | data-conversion |
| DSP, FIR, IIR, FFT, DFT, filter design, convolution, windowing, fixed-point | 10-dsp | dsp-fundamentals |
| microcontroller, MCU, GPIO, UART, SPI, I2C, interrupt, PWM, Arduino, ESP32 | 11-microcontrollers | microcontroller-systems |
| sensor, actuator, Wheatstone, H-bridge, stepper, thermocouple, optocoupler, strain gauge, instrumentation amplifier | 12-sensors-actuators | sensor-actuator-systems |
| PLC, ladder logic, off-grid, solar, MPPT, PCB, layout, Gerber, PID, Modbus, NEC | 13-plc / 14-off-grid-power / 15-pcb-design | industrial-and-applied |

## Modules

| # | Module | Tier | Topics |
|---|--------|------|--------|
| 1 | The Circuit | 1 | V, I, R, Ohm's law, KVL/KCL, voltage dividers, power |
| 2 | Passive Components | 1 | Capacitors, inductors, RC/RL/RLC, filters, Thevenin/Norton |
| 3 | The Signal | 1 | AC, frequency response, Bode plots, dB, noise |
| 4 | Diodes | 2 | I-V curves, rectification, Zener, LEDs, Shockley equation |
| 5 | Transistors | 2 | BJT, MOSFET, amplifiers, common-emitter, current mirrors |
| 6 | Op-Amps | 2 | Golden rules, inverting/non-inverting, active filters, integrators |
| 7 | Power Supplies | 2 | Linear/switching regulators, buck/boost, LDO, thermal |
| 7A | Logic Gates | 3 | Boolean algebra, CMOS, truth tables, K-maps, De Morgan's |
| 8 | Sequential Logic | 3 | Flip-flops, counters, state machines, registers, memory |
| 9 | Data Conversion | 3 | ADC/DAC, sampling, Nyquist, quantization, aliasing |
| 10 | DSP | 3 | FIR/IIR, FFT/DFT, convolution, windowing, fixed-point |
| 11 | Microcontrollers | 4 | MCU, GPIO, UART/SPI/I2C, interrupts, PWM |
| 12 | Sensors & Actuators | 4 | Wheatstone, H-bridge, stepper, thermocouples, inst. amps |
| 13 | PLC | 4 | Ladder logic, PID, structured text, Modbus, IEC 61131-3 |
| 14 | Off-Grid Power | 4 | Solar PV, MPPT, batteries, charge controllers, NEC |
| 15 | PCB Design | 4 | Layout, design rules, EMI, Gerber files, soldering |

## Learning Progression

The curriculum follows a 4-tier pipeline, where each tier builds on the previous:

**Tier 1 (Foundations)** -- Modules 1-3
Voltage, current, resistance, passive components, and AC signals. No active devices. All labs use passive circuits only. Safety: Annotate mode.

**Tier 2 (Active Devices)** -- Modules 4-7
Semiconductors (diodes, transistors), op-amps, and power supplies. Introduces nonlinear behavior and active circuit design. Safety: Gate mode for higher voltages.

**Tier 3 (Digital & Mixed-Signal)** -- Modules 7A, 8, 9, 10
Logic gates, sequential circuits, data conversion, and DSP. Bridges analog and digital domains. Safety: Annotate (logic) to Gate (mixed-signal).

**Tier 4 (Applied Systems)** -- Modules 11-15
Microcontrollers, sensors, PLCs, off-grid power, and PCB design. Real-world applications combining all previous tiers. Safety: Gate to Redirect mode for industrial/high-voltage.

## Configuration

See `chipset.yaml` for detailed skill triggers, agent assignments, and pipeline topology.
See `metadata.yaml` for pack identity, version, and tier structure.
See `references/bibliography.md` for H&H citation conventions.
See `references/hh-chapter-map.md` for chapter-to-module mapping.

More from Tibsfox/gsd-skill-creator

SkillDescription
3d-interaction-designDesign heuristics for three-dimensional interaction — input modalities (6DoF controllers, gaze, gesture, voice), selection and manipulation techniques (ray-cast, virtual hand, go-go, world-in-miniature), navigation (teleport, continuous, redirected walking), and feedback loops (haptic, audio, visual). Covers Fitts' law in 3D, discoverability vs affordance, safe-zone design, and comfort/simulator sickness mitigation. Use when designing VR/AR interactions, immersive walkthroughs, or any input system where the user's body is the controller.
accessibility-patternsProvides web accessibility best practices for semantic HTML, ARIA, keyboard navigation, color contrast, and screen reader patterns. Use when building UI components, reviewing accessibility, or when user mentions 'a11y', 'accessibility', 'ARIA', 'screen reader', 'keyboard navigation', 'WCAG'.
active-listeningActive listening techniques for effective communication. Covers attending behaviors, paraphrasing, reflective listening, clarifying questions, empathic response, barriers to listening, listening in conflict, and cross-cultural listening. Use when building listening skills, improving understanding in conversation, mediating disputes, or analyzing communication breakdowns.
adversarial-pr-reviewAdversarial spec-compliance PR review — cross-references diffs against approved specs, verifies runtime claims against source, detects competing PRs, audits scope/convention compliance. Use before merging.
agile-methodsAgile and Lean software development methodologies for iterative, adaptive project execution. Covers Scrum (roles, ceremonies, artifacts), Kanban (WIP limits, flow metrics), XP (TDD, pair programming, CI), SAFe overview, Lean Software Development (Poppendieck's 7 principles), user stories (INVEST criteria), estimation via story points and velocity, and the Agile Manifesto's values and principles. Includes Cynefin framework for methodology selection and GSD's relationship to Agile as a structured Lean variant.
algebraic-reasoningSymbolic manipulation, equation solving, and algebraic structures for mathematical reasoning. Covers distributive law, factoring, completing the square, linear through polynomial equation solving, systems of equations (substitution, elimination, Gaussian elimination, matrix methods), algebraic structures (groups, rings, fields), modular arithmetic, polynomial theory, and inequalities. Use when solving equations, simplifying expressions, working with algebraic structures, or performing symbolic manipulation.
algorithmic-awarenessUnderstanding how algorithmic systems shape what users see, know, and do -- from recommendation feeds to search ranking to credit scoring to hiring software. Covers the mechanics of recommendation systems, algorithmic bias and its sources, personalization's effects on information diets, opacity and accountability, AI limitations (hallucination, confident wrongness), and the human-in-the-loop question. Use when a learner needs to think critically about why particular content reached them.
algorithms-data-structuresAlgorithms and data structures from first principles through advanced analysis. Covers sorting (bubble, insertion, selection, merge, quick, heap, radix), searching (linear, binary, BFS, DFS, Dijkstra, A*), fundamental data structures (arrays, linked lists, stacks, queues, hash tables, trees, heaps, graphs, tries), complexity analysis (Big-O, Big-Omega, Big-Theta, amortized), recurrence relations, and algorithm design paradigms (divide-and-conquer, greedy, dynamic programming, backtracking). Use when analyzing, selecting, implementing, or comparing algorithms and data structures.
aminet-browserAminet search and browse: full-text search, category tree navigation, architecture filtering, package detail, and curated collections. Use when searching, browsing, or managing package collections.
aminet-emulatorFS-UAE emulator configuration and launch: hardware profiles, ROM management, WHDLoad integration, config generation, and state snapshots. Use when configuring emulation, managing ROMs, or launching Amiga software.