agentleFS
telagodtelagod/code-abyss/skills/designing-hardware-products/SKILL.md

designing-hardware-products

Skill242 starsChanged 5 months agoMITView on GitHub

AI-automated hardware product pipeline: from requirements to manufacturable Gerber + compiled firmware + cross-platform app. Orchestrates system design, ESP-IDF firmware, KiCad PCB, UniApp client, and release packaging in a zero-human-touch flow.

The file

Files
SKILL.md

Designing Hardware Products

判断先于执行:决定「是否做 / 选什么 / 如何取舍」(栈、方案、架构、权衡)前,先读领域判断内核 skills/_kernel/hardware/SKILL.md——它管 judgment,本秘典管 execution;冲突时以内核判断为准。

From empty directory to shippable product. Requirements in, Gerber + .bin + .apk out.

When to use

ScenarioUseWhy
New IoT / embedded product from scratchYesFull pipeline
Adding BLE app to existing hardwarePartialPhase 4 only
PCB redesign with existing firmwarePartialPhase 3 only
One-off breadboard prototypeNoOverkill, just wire it

Pipeline phases

Phase 1: System Design    → DESIGN.md (architecture, topology, protocol)
Phase 2: Firmware          → ESP-IDF components, FreeRTOS tasks, BLE GATT
Phase 3: Hardware          → KiCad schematic → PCB → route → DRC → Gerber
Phase 4: Mobile App        → UniApp (BLE, i18n, dev mode, SVG icons)
Phase 5: Verify + Package  → build all → zip release

Each phase is independently re-runnable. Skip phases that already exist.

Key decision points

  1. MCU selection — ESP32-C3 (BLE+WiFi, RISC-V, cheap) vs ESP32-S3 (AI, USB) vs STM32 (low power) vs nRF (BLE-only)
  2. HV topology — if product needs high voltage (mosquito swatter, taser), see references/hv-design.md
  3. PCB form factor — match physical product shape, not default rectangle
  4. App framework — UniApp (WeChat+Android+iOS) vs React Native vs Flutter

Companion skills

  • operating-kicad-eda — Phase 3 detail, KiCad MCP tool routing
  • developing-software — firmware language patterns (C for ESP-IDF)
  • developing-mobile-apps — app framework patterns

Usage

/designing-hardware-products "BLE mosquito swatter with kill counting, ESP32-C3, 30x100mm PCB strip"

References

TopicFile
Phase execution detailspipeline-phases.md
KiCad 9 gotchaskicad9-quirks.md
ESP-IDF patternsesp-idf-patterns.md
HV circuit designhv-design.md
UniApp patternsuniapp-patterns.md

Exit criteria

  • idf.py build passes (firmware)
  • KiCad DRC = 0 violations (hardware)
  • npx uni build passes (app)
  • Release zip contains: source + binary + Gerber + BOM + docs

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.