[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AME20N4NF7R3A7PP55X1Z0":3,"skill-same:01M7AME20N4NF7R3A7PP55X1Z0":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7AME20N4NF7R3A7PP55X1Z0","periph-designing-firmware-pcb-and-debugging",null,"Use when building your own peripheral: designing a custom peripheral from requirements to bill of materials, firmware including the USB stack choices, PCB and mechanical design, enumeration and debugging when a device will not appear or misbehaves, drivers and OS integration across Windows, macOS and Linux, and measuring latency properly rather than trusting a spec sheet.","the-vibey-project\u002Fvibey","the-vibey-project","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F329298758?v=4","01M7AJHGZ9722CTJ4JNQZVRH0Q","the vibey project","01M7AJHGZVMG2K7TGXQ6XFHVG3",5,"MIT","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fcomputer-peripherals-design-and-standards\u002Fskills\u002Fperiph-designing-firmware-pcb-and-debugging\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: periph-designing-firmware-pcb-and-debugging\ndescription: \"Use when building your own peripheral: designing a custom peripheral from requirements to bill of materials, firmware including the USB stack choices, PCB and mechanical design, enumeration and debugging when a device will not appear or misbehaves, drivers and OS integration across Windows, macOS and Linux, and measuring latency properly rather than trusting a spec sheet.\"\n---\n\n# Computer Peripherals: Designing a Custom Peripheral, Firmware, PCB and Mechanical Design, Enumeration and Debugging, Drivers and OS Integration, and Measuring Latency\n\n> **Part 4 of 6** of the *Computer Peripherals: Design, Building, Standards and Programming* reference (plugin `computer-peripherals-design-and-standards`), covering §16–§21. Sibling skills: `periph-stack-usb-thunderbolt-and-wireless` (§0–§5), `periph-buses-pcie-hid-keyboards-mice-and-displays` (§6–§11), `periph-audio-printers-storage-controllers-and-haptics` (§12–§15), `periph-compliance-accessibility-and-security` (§22–§24), `periph-reference` (§25–§30). Section numbers are shared across the set; a reference written as §N → `skill` points into that sibling skill.\n>\n> **Currency:** The protocols are stable and long-lived. Two areas are moving. See §25 → `periph-reference` for USB bandwidth and labelling, and display interface bandwidth tiers.\n\n> **⚠️ The layer where a computer meets the physical world — and the one where standards\n> politics, signal integrity, human factors and firmware all collide at once.**\n>\n> **Complements a computer-hardware reference (the host side), an electromagnetism\n> reference (signal integrity, differential pairs, EMC), and a semiconductor reference\n> (the microcontrollers involved).**\n>\n> **⚠️ GOTCHA** boxes mark where the marketing name and the actual capability diverge —\n> and this domain has the worst naming in computing.\n>\n> **The three ideas that organize this document:**\n> 1. **⚠️ THE CONNECTOR IS NOT THE PROTOCOL** (§2 → `periph-stack-usb-thunderbolt-and-wireless`, §3 → `periph-stack-usb-thunderbolt-and-wireless`, §25.1 → `periph-reference`). **A USB-C port can be\n>    anything from 480 Mbps and 5 W to 80 Gbps and 240 W with video and PCIe tunnelling.\n>    Identical-looking ports and cables behave completely differently, and this single\n>    confusion causes more peripheral problems than any technical failure.**\n> 2. **⚠️ DESCRIPTORS ARE THE INTERFACE** (§8 → `periph-buses-pcie-hid-keyboards-mice-and-displays`, §19). **A USB device declares what it is by\n>    handing over a data structure at enumeration. Almost all \"device not recognized\"\n>    problems are descriptor problems, and once you can read descriptors you can debug\n>    nearly anything.**\n> 3. **⚠️ LATENCY IS A CHAIN, AND PEOPLE OPTIMIZE THE WRONG LINK** (§9 → `periph-buses-pcie-hid-keyboards-mice-and-displays`, §21). **Polling\n>    rate, debounce, USB scheduling, OS input stack, render queue and display scanout all\n>    add up. Buying an 8 kHz mouse while running a 60 Hz display optimizes a link that\n>    wasn't the problem.**\n\n---\n\n## §16. Designing a Custom Peripheral\n\n```\n⚠️ THE DECISION ORDER\n   ⚠️ 1. What DEVICE CLASS is it? (§8) ⚠️ If HID fits, you get\n      cross-platform support free. ⚠️ Vendor-specific means\n      writing and maintaining drivers forever — avoid unless\n      genuinely necessary\n   ⚠️ 2. Wired or wireless? (§5)\n   ⚠️ 3. Power budget and source\n   ⚠️ 4. Microcontroller selection — ⚠️ NATIVE USB peripheral vs\n      bit-banged vs a USB bridge chip\n   ⚠️ 5. Enclosure and manufacturing method\n⚠️ COMMON MCU CHOICES  ⚠️ RP2040\u002FRP2350 (cheap, native USB, PIO) ·\n   STM32 · ATmega32U4 (the classic HID choice) · nRF52 (BLE) ·\n   ESP32 (Wi-Fi\u002FBLE)\n⚠️ ⚠️ VID\u002FPID  ⚠️ USB Vendor IDs are ISSUED BY THE USB-IF AND COST\n   MONEY. ⚠️ For hobby projects, use a PID sublicensed from a\n   chip vendor's range or a community allocation — ⚠️ do NOT\n   ship products with a squatted VID, which is common and wrong\n⚠️ PROTOTYPE PATH  breadboard → dev board → custom PCB →\n   ⚠️ and expect at least two board revisions\n```\n\n---\n\n## §17. Firmware\n\n**⚠️ The mature open ecosystems save enormous effort**: ⚠️ **QMK and ZMK for keyboards\n(⚠️ ZMK being BLE-first), CircuitPython and Arduino for rapid work, TinyUSB as the\nportable USB stack, and vendor HALs underneath.**\n**⚠️ What the firmware actually does**: ⚠️ **matrix scanning and debounce (§9 → `periph-buses-pcie-hid-keyboards-mice-and-displays`), layer and\nmacro handling, descriptor generation, endpoint management, and persistent configuration.**\n**⚠️ The real-time discipline**: ⚠️ **interrupt latency, avoiding blocking in the main loop,\nand keeping the USB polling deadline no matter what else is happening.**\n**⚠️ Power management for battery devices** is usually where naive firmware fails —\n⚠️ **sleep states, wake sources, and connection interval negotiation dominate battery life\nfar more than the radio's rated current.**\n**⚠️ DFU and bootloaders** — ⚠️ **and always leave a hardware recovery path, because\nbricking a device with no bootloader entry is the classic first-project disaster.**\n\n---\n\n## §18. PCB and Mechanical Design\n\n**⚠️ For USB specifically** (see an electromagnetism reference): ⚠️ **90 Ω differential\nimpedance for D+\u002FD−, length matching within the pair, avoiding stubs and layer changes on\nhigh-speed pairs, and a continuous ground reference plane under the pair — a split plane\nunder a differential pair is the classic EMC failure.**\n**⚠️ ESD protection on every externally exposed line** — ⚠️ **TVS diodes at the connector,\nand this is not optional on a product.**\n**⚠️ Power integrity**: ⚠️ **decoupling capacitors close to pins, bulk capacitance,\nand a clean supply for analog sections.**\n**⚠️ Mechanical**: ⚠️ **connector retention (⚠️ through-hole or reinforced SMD, because a\nripped-off USB connector is the most common physical failure), tolerance stack-up, and\nthe enclosure process choice — 3D print, injection mould, CNC or sheet metal** (see a\nmanufacturing reference).\n**⚠️ Design for assembly and test** — ⚠️ **test points, and a way to program the board\nafter assembly.**\n\n---\n\n## §19. ⚠️ Enumeration and Debugging\n\n> **⚠️ Where most peripheral development time actually goes.**\n```\n⚠️ THE ENUMERATION SEQUENCE  ⚠️ attach and speed detection via\n   pull-ups → reset → address assignment → ⚠️ DEVICE DESCRIPTOR\n   read → configuration, interface, endpoint descriptors →\n   ⚠️ HID REPORT DESCRIPTOR → configuration selected → operational\n⚠️ ⚠️ ALMOST EVERY \"DEVICE NOT RECOGNIZED\" IS A DESCRIPTOR OR\n   POWER PROBLEM. ⚠️ A malformed report descriptor typically\n   fails SILENTLY — the device enumerates and then does nothing,\n   or does something bizarre\n⚠️ THE TOOLS, in order of usefulness\n   ⚠️ lsusb -v \u002F USBView \u002F USB Prober — ⚠️ read the actual\n      descriptors first, always\n   ⚠️ HID descriptor validators and parsers\n   ⚠️ Wireshark with usbmon (Linux) — ⚠️ free protocol capture\n   ⚠️ Hardware protocol analysers — expensive and decisive\n   ⚠️ OSCILLOSCOPE for physical-layer problems, ⚠️ and eye\n      diagrams for signal integrity\n⚠️ THE COMMON FAULTS  ⚠️ descriptor length mismatches · wrong\n   usage page · endpoint size vs report size disagreement ·\n   ⚠️ requesting more current than declared · missing or wrong\n   pull-ups · ⚠️ bus-powered device browning out on inrush ·\n   host controller quirks that differ across OSes\n⚠️ ⚠️ TEST ON ALL TARGET PLATFORMS. ⚠️ Windows, macOS, Linux, BIOS\n   and phones parse descriptors differently and tolerate\n   different sloppiness\n```\n\n---\n\n## §20. Drivers and OS Integration\n\n**⚠️ Prefer the class driver** (§1 → `periph-stack-usb-thunderbolt-and-wireless`, §8 → `periph-buses-pcie-hid-keyboards-mice-and-displays`) — ⚠️ **a custom driver is a permanent maintenance\nliability across OS versions.**\n**⚠️ Userspace access** is the middle path: ⚠️ **libusb, HIDAPI, WebUSB and WebHID —\n⚠️ and WebHID in particular means a configuration tool can be a web page rather than an\ninstalled application, which is a genuine improvement in the peripheral world.**\n**⚠️ When a kernel driver is genuinely required**: ⚠️ **Windows WDF\u002FUMDF and driver signing;\nLinux kernel modules; macOS DriverKit having replaced kexts.**\n**⚠️ Permissions**: ⚠️ **udev rules on Linux, and the mistake of instructing users to run\nthings as root rather than shipping a rules file.**\n**⚠️ The honest observation about vendor software**: ⚠️ **much peripheral configuration\nsoftware is heavy, runs at startup, and exists partly for telemetry — which is why\nONBOARD PROFILE STORAGE is a real feature, letting the device keep its configuration\nwithout resident software.**\n\n---\n\n## §21. ⚠️ Measuring Latency\n\n> **⚠️ §1 → `periph-stack-usb-thunderbolt-and-wireless`'s third organizing idea, made concrete.**\n```\n⚠️ THE FULL CHAIN, and every link adds\n   ⚠️ Physical actuation and switch travel\n   ⚠️ DEBOUNCE window (§9)\n   ⚠️ Matrix scan interval\n   ⚠️ ⚠️ USB POLLING INTERVAL — ⚠️ 1000 Hz = 1 ms, 125 Hz = 8 ms\n   ⚠️ OS input stack and application\n   ⚠️ Render and present queue\n   ⚠️ ⚠️ DISPLAY SCANOUT AND PIXEL RESPONSE — ⚠️ at 60 Hz this\n      alone averages ~8 ms of the total\n⚠️ ⚠️ THE ARITHMETIC PEOPLE SKIP: going from 1000 Hz to 8000 Hz\n   polling saves at most ~0.9 ms. ⚠️ Going from a 60 Hz to a\n   240 Hz display saves several times that. ⚠️ Optimize the\n   largest term\n⚠️ HOW TO ACTUALLY MEASURE  ⚠️ high-speed camera on the input and\n   the screen together (the ground truth) · ⚠️ instrumented\n   hardware that shorts a switch and watches the display ·\n   ⚠️ latency test tools in-OS. ⚠️ Software timestamps alone\n   cannot see the ends of the chain\n⚠️ VARIANCE MATTERS MORE THAN MEAN  ⚠️ consistent 5 ms feels\n   better than 2 ms averaging with occasional 20 ms spikes\n```\n\n---\n\n# PART IV — CROSS-CUTTING\n","# Computer Peripherals: Designing a Custom Peripheral, Firmware, PCB and Mechanical Design, Enumeration and Debugging, Drivers and OS Integration, and Measuring Latency\n\n> **Part 4 of 6** of the *Computer Peripherals: Design, Building, Standards and Programming* reference (plugin `computer-peripherals-design-and-standards`), covering §16–§21. Sibling skills: `periph-stack-usb-thunderbolt-and-wireless` (§0–§5), `periph-buses-pcie-hid-keyboards-mice-and-displays` (§6–§11), `periph-audio-printers-storage-controllers-and-haptics` (§12–§15), `periph-compliance-accessibility-and-security` (§22–§24), `periph-reference` (§25–§30). Section numbers are shared across the set; a reference written as §N → `skill` points into that sibling skill.\n>\n> **Currency:** The protocols are stable and long-lived. Two areas are moving. See §25 → `periph-reference` for USB bandwidth and labelling, and display interface bandwidth tiers.\n\n> **⚠️ The layer where a computer meets the physical world — and the one where standards\n> politics, signal integrity, human factors and firmware all collide at once.**\n>\n> **Complements a computer-hardware reference (the host side), an electromagnetism\n> reference (signal integrity, differential pairs, EMC), and a semiconductor reference\n> (the microcontrollers involved).**\n>\n> **⚠️ GOTCHA** boxes mark where the marketing name and the actual capability diverge —\n> and this domain has the worst naming in computing.\n>\n> **The three ideas that organize this document:**\n> 1. **⚠️ THE CONNECTOR IS NOT THE PROTOCOL** (§2 → `periph-stack-usb-thunderbolt-and-wireless`, §3 → `periph-stack-usb-thunderbolt-and-wireless`, §25.1 → `periph-reference`). **A USB-C port can be\n>    anything from 480 Mbps and 5 W to 80 Gbps and 240 W with video and PCIe tunnelling.\n>    Identical-looking ports and cables behave completely differently, and this single\n>    confusion causes more peripheral problems than any technical failure.**\n> 2. **⚠️ DESCRIPTORS ARE THE INTERFACE** (§8 → `periph-buses-pcie-hid-keyboards-mice-and-displays`, §19). **A USB device declares what it is by\n>    handing over a data structure at enumeration. Almost all \"device not recognized\"\n>    problems are descriptor problems, and once you can read descriptors you can debug\n>    nearly anything.**\n> 3. **⚠️ LATENCY IS A CHAIN, AND PEOPLE OPTIMIZE THE WRONG LINK** (§9 → `periph-buses-pcie-hid-keyboards-mice-and-displays`, §21). **Polling\n>    rate, debounce, USB scheduling, OS input stack, render queue and display scanout all\n>    add up. Buying an 8 kHz mouse while running a 60 Hz display optimizes a link that\n>    wasn't the problem.**\n\n---\n\n## §16. Designing a Custom Peripheral\n\n```\n⚠️ THE DECISION ORDER\n   ⚠️ 1. What DEVICE CLASS is it? (§8) ⚠️ If HID fits, you get\n      cross-platform support free. ⚠️ Vendor-specific means\n      writing and maintaining drivers forever — avoid unless\n      genuinely necessary\n   ⚠️ 2. Wired or wireless? (§5)\n   ⚠️ 3. Power budget and source\n   ⚠️ 4. Microcontroller selection — ⚠️ NATIVE USB peripheral vs\n      bit-banged vs a USB bridge chip\n   ⚠️ 5. Enclosure and manufacturing method\n⚠️ COMMON MCU CHOICES  ⚠️ RP2040\u002FRP2350 (cheap, native USB, PIO) ·\n   STM32 · ATmega32U4 (the classic HID choice) · nRF52 (BLE) ·\n   ESP32 (Wi-Fi\u002FBLE)\n⚠️ ⚠️ VID\u002FPID  ⚠️ USB Vendor IDs are ISSUED BY THE USB-IF AND COST\n   MONEY. ⚠️ For hobby projects, use a PID sublicensed from a\n   chip vendor's range or a community allocation — ⚠️ do NOT\n   ship products with a squatted VID, which is common and wrong\n⚠️ PROTOTYPE PATH  breadboard → dev board → custom PCB →\n   ⚠️ and expect at least two board revisions\n```\n\n---\n\n## §17. Firmware\n\n**⚠️ The mature open ecosystems save enormous effort**: ⚠️ **QMK and ZMK for keyboards\n(⚠️ ZMK being BLE-first), CircuitPython and Arduino for rapid work, TinyUSB as the\nportable USB stack, and vendor HALs underneath.**\n**⚠️ What the firmware actually does**: ⚠️ **matrix scanning and debounce (§9 → `periph-buses-pcie-hid-keyboards-mice-and-displays`), layer and\nmacro handling, descriptor generation, endpoint management, and persistent configuration.**\n**⚠️ The real-time discipline**: ⚠️ **interrupt latency, avoiding blocking in the main loop,\nand keeping the USB polling deadline no matter what else is happening.**\n**⚠️ Power management for battery devices** is usually where naive firmware fails —\n⚠️ **sleep states, wake sources, and connection interval negotiation dominate battery life\nfar more than the radio's rated current.**\n**⚠️ DFU and bootloaders** — ⚠️ **and always leave a hardware recovery path, because\nbricking a device with no bootloader entry is the classic first-project disaster.**\n\n---\n\n## §18. PCB and Mechanical Design\n\n**⚠️ For USB specifically** (see an electromagnetism reference): ⚠️ **90 Ω differential\nimpedance for D+\u002FD−, length matching within the pair, avoiding stubs and layer changes on\nhigh-speed pairs, and a continuous ground reference plane under the pair — a split plane\nunder a differential pair is the classic EMC failure.**\n**⚠️ ESD protection on every externally exposed line** — ⚠️ **TVS diodes at the connector,\nand this is not optional on a product.**\n**⚠️ Power integrity**: ⚠️ **decoupling capacitors close to pins, bulk capacitance,\nand a clean supply for analog sections.**\n**⚠️ Mechanical**: ⚠️ **connector retention (⚠️ through-hole or reinforced SMD, because a\nripped-off USB connector is the most common physical failure), tolerance stack-up, and\nthe enclosure process choice — 3D print, injection mould, CNC or sheet metal** (see a\nmanufacturing reference).\n**⚠️ Design for assembly and test** — ⚠️ **test points, and a way to program the board\nafter assembly.**\n\n---\n\n## §19. ⚠️ Enumeration and Debugging\n\n> **⚠️ Where most peripheral development time actually goes.**\n```\n⚠️ THE ENUMERATION SEQUENCE  ⚠️ attach and speed detection via\n   pull-ups → reset → address assignment → ⚠️ DEVICE DESCRIPTOR\n   read → configuration, interface, endpoint descriptors →\n   ⚠️ HID REPORT DESCRIPTOR → configuration selected → operational\n⚠️ ⚠️ ALMOST EVERY \"DEVICE NOT RECOGNIZED\" IS A DESCRIPTOR OR\n   POWER PROBLEM. ⚠️ A malformed report descriptor typically\n   fails SILENTLY — the device enumerates and then does nothing,\n   or does something bizarre\n⚠️ THE TOOLS, in order of usefulness\n   ⚠️ lsusb -v \u002F USBView \u002F USB Prober — ⚠️ read the actual\n      descriptors first, always\n   ⚠️ HID descriptor validators and parsers\n   ⚠️ Wireshark with usbmon (Linux) — ⚠️ free protocol capture\n   ⚠️ Hardware protocol analysers — expensive and decisive\n   ⚠️ OSCILLOSCOPE for physical-layer problems, ⚠️ and eye\n      diagrams for signal integrity\n⚠️ THE COMMON FAULTS  ⚠️ descriptor length mismatches · wrong\n   usage page · endpoint size vs report size disagreement ·\n   ⚠️ requesting more current than declared · missing or wrong\n   pull-ups · ⚠️ bus-powered device browning out on inrush ·\n   host controller quirks that differ across OSes\n⚠️ ⚠️ TEST ON ALL TARGET PLATFORMS. ⚠️ Windows, macOS, Linux, BIOS\n   and phones parse descriptors differently and tolerate\n   different sloppiness\n```\n\n---\n\n## §20. Drivers and OS Integration\n\n**⚠️ Prefer the class driver** (§1 → `periph-stack-usb-thunderbolt-and-wireless`, §8 → `periph-buses-pcie-hid-keyboards-mice-and-displays`) — ⚠️ **a custom driver is a permanent maintenance\nliability across OS versions.**\n**⚠️ Userspace access** is the middle path: ⚠️ **libusb, HIDAPI, WebUSB and WebHID —\n⚠️ and WebHID in particular means a configuration tool can be a web page rather than an\ninstalled application, which is a genuine improvement in the peripheral world.**\n**⚠️ When a kernel driver is genuinely required**: ⚠️ **Windows WDF\u002FUMDF and driver signing;\nLinux kernel modules; macOS DriverKit having replaced kexts.**\n**⚠️ Permissions**: ⚠️ **udev rules on Linux, and the mistake of instructing users to run\nthings as root rather than shipping a rules file.**\n**⚠️ The honest observation about vendor software**: ⚠️ **much peripheral configuration\nsoftware is heavy, runs at startup, and exists partly for telemetry — which is why\nONBOARD PROFILE STORAGE is a real feature, letting the device keep its configuration\nwithout resident software.**\n\n---\n\n## §21. ⚠️ Measuring Latency\n\n> **⚠️ §1 → `periph-stack-usb-thunderbolt-and-wireless`'s third organizing idea, made concrete.**\n```\n⚠️ THE FULL CHAIN, and every link adds\n   ⚠️ Physical actuation and switch travel\n   ⚠️ DEBOUNCE window (§9)\n   ⚠️ Matrix scan interval\n   ⚠️ ⚠️ USB POLLING INTERVAL — ⚠️ 1000 Hz = 1 ms, 125 Hz = 8 ms\n   ⚠️ OS input stack and application\n   ⚠️ Render and present queue\n   ⚠️ ⚠️ DISPLAY SCANOUT AND PIXEL RESPONSE — ⚠️ at 60 Hz this\n      alone averages ~8 ms of the total\n⚠️ ⚠️ THE ARITHMETIC PEOPLE SKIP: going from 1000 Hz to 8000 Hz\n   polling saves at most ~0.9 ms. ⚠️ Going from a 60 Hz to a\n   240 Hz display saves several times that. ⚠️ Optimize the\n   largest term\n⚠️ HOW TO ACTUALLY MEASURE  ⚠️ high-speed camera on the input and\n   the screen together (the ground truth) · ⚠️ instrumented\n   hardware that shorts a switch and watches the display ·\n   ⚠️ latency test tools in-OS. ⚠️ Software timestamps alone\n   cannot see the ends of the chain\n⚠️ VARIANCE MATTERS MORE THAN MEAN  ⚠️ consistent 5 ms feels\n   better than 2 ms averaging with occasional 20 ms spikes\n```\n\n---\n\n# PART IV — CROSS-CUTTING\n",{"name":5,"description":7},"develop","ae32736a1aabddabca5d2c96d665aa0ebc7d8700","src\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fcomputer-peripherals-design-and-standards\u002Fskills\u002Fperiph-designing-firmware-pcb-and-debugging",3,"https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey","https:\u002F\u002Fthe-vibey-project.github.io\u002Fvibey\u002F","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project","https:\u002F\u002Fvibewithadam.matthewsteinberger.com","freedom for software engineers","2026-11-15 05:47:42",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add the-vibey-project\u002Fvibey --skill periph-designing-firmware-pcb-and-debugging",{"tool":40,"command":41},"bunx","bunx skills add the-vibey-project\u002Fvibey --skill periph-designing-firmware-pcb-and-debugging",{"tool":43,"command":44},"pnpm","pnpm dlx skills add the-vibey-project\u002Fvibey --skill periph-designing-firmware-pcb-and-debugging","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fcomputer-peripherals-design-and-standards\u002Fskills\u002Fperiph-designing-firmware-pcb-and-debugging\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7AT1FQJAE1FQYAMDTF490Y4","white-paper-writing","Use when writing white papers, technical reports, policy documents, thought leadership pieces, or any long-form authoritative document. Triggers on requests to write, structure, outline, or review white papers, technical reports, position papers, policy briefs, or evidence-driven arguments. Also use for B2B content marketing strategy, technical documentation requiring authority, academic-style reports, or any document that must educate while persuading. Use when someone asks \"how should I structure this\" for a long-form document.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fwhite-paper-writing\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7AT16BJRJJKK2MASXRZS76G","prose-technical-mechanics","Use when editing or writing prose at a technical\u002Fmechanical level: choosing between Anglo-Saxon and Latinate diction, placing information in topic vs stress positions, writing periodic vs cumulative sentences, handling sentence rhythm, punctuation as logic, transitions, paragraph structure, or phonesthetics. Use when someone wants to understand WHY prose works or doesn't, not just surface-level style advice. Triggers on word choice, sentence structure, emphasis, rhythm, diction, or any deep writing mechanics question.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fprose-technical-mechanics\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7AT0W9HT0ZZ9Y287NW99MR3","prose-mechanics","Use when writing, editing, or analyzing prose style; when trying to avoid generic AI-sounding writing; when applying specific prose styles such as journalistic, academic, narrative, KJV biblical, Hemingway plain, Latinate\u002FJamesian, Orwellian, Augustan, Victorian, Early Modern (Bacon, Browne, Milton), or free indirect discourse; or when coaching someone on writing voice and mechanics. Triggers on any request to improve, analyze, or write in a specific prose style, to fix \"AI-sounding\" writing, to make prose more vivid or concrete, to vary sentence rhythm, or to understand how a particular writer achieves their effects.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fprose-mechanics\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7AT0KR635JX66X2X6F3E2CP","narrative-structure","Use when structuring stories, pitches, presentations, white papers, or any persuasive narrative; analyzing the hero's journey in fiction or non-fiction; applying StoryBrand for business communication; designing narrative arcs for thought leadership; or understanding Vogler, Snyder, Propp, or Campbell frameworks. Triggers on any narrative structure, storytelling, pitch structure, StoryBrand, hero's journey, three-act structure, Freytag, Save the Cat, narrative arc, or \"how should I structure this story\u002Fpitch\u002Fpresentation\" request.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fnarrative-structure\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7AT0AKGW09NKKZDYBT8VRDE","legal-brief-writing","Use when writing legal briefs, motions, or any court filing; when analyzing judicial cognition and persuasion; when applying elite brief-writing techniques from Roberts, Clement, Kagan, Garner; or when structuring legal arguments for maximum persuasion. Also use for autistic\u002Fneurodivergent advocates who need to understand how their natural communication style maps to elite legal advocacy. Triggers on any legal writing, brief drafting, motion preparation, or legal argument structuring request.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Flegal-brief-writing\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7AT00VWPS4Q8B5VEMXX9NQT","journal-publishability-criteria","Use whenever a research paper, article or preprint is being written, revised, reviewed or published, and specifically before every publication of docs\u002Fpaper.md. Covers what legitimate journals actually gate on, in order of gating — the editor's desk screen (scope, novelty, package problems), what reviewers judge (methodological soundness, claims the evidence can carry, statistical and qualitative reporting), EQUATOR reporting guidelines, the ICMJE authorship criteria, COPE's view of text recycling, the near-universal generative-AI policy (no AI author, disclosure, author responsibility), TOP 2025 transparency standards, how to verify a journal is legitimate, submitting without an institution, and a pre-submission checklist. Triggers on requests to evaluate, review, prepare or submit a paper, to judge publishability, to write a declarations or data-availability section, to disclose AI use, or to check a journal.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fjournal-publishability-criteria\u002FSKILL.md",[],[]]