Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

bom-generator

БесплатноЗапускает вложенные скриптыНе проверен

Generates Bill of Materials (BOM) from project descriptions for Arduino/ESP32/RP2040 projects. Use when user needs component lists, parts shopping lists, cost…

wedsamuel1230от wedsamuel1230★ 36 звёзд на GitHub

Об этом скилле

BOM Generator

Creates comprehensive Bill of Materials for maker projects with supplier links and compatibility checks.

Resources

  • scripts/generate_bom.py - Python script for xlsx/csv/markdown BOM generation (requires openpyxl)
  • references/example-bom.md - Complete example BOM
  • assets/example-project.json - Sample project configuration for script

Quick Start

Generate BOM interactively:

uv run --no-project scripts/generate_bom.py --interactive

Generate from JSON configuration:

uv run --no-project scripts/generate_bom.py --json assets/example-project.json --output bom.xlsx

List component database:

uv run --no-project scripts/generate_bom.py --list

Export formats: xlsx (default), csv, md, json

When to Use

  • User describes a project and needs parts list
  • User asks "what components do I need for X"
  • User wants to order parts for a design
  • User needs cost estimates

Workflow

Step 1: Gather Project Requirements

Ask user for:

1. Project description (what does it do?)
2. Target microcontroller (Arduino UNO/Nano/Mega, ESP32, RP2040)
3. Power source (USB, batteries, wall adapter)
4. Quantity (how many units to build?)
5. Budget constraints (optional)
6. Supplier preference (optional)

Step 2: Generate BOM

Run scripts/generate_bom.py --interactive for guided generation, or use this template format:

# Bill of Materials: [Project Name]

**Generated:** [Date]
**Target Board:** [MCU]
**Quantity:** [N] unit(s)
**Estimated Total:** $[X.XX] - $[Y.YY] (per unit)

## Core Components

| Qty | Component | Specifications | Est. Price | Supplier Links |
|-----|-----------|----------------|------------|----------------|
| 1 | [MCU Board] | [specs] | $X.XX | [DigiKey](#) / [Amazon](#) |
| ... | ... | ... | ... | ... |

## Sensors & Input

| Qty | Component | Specifications | Est. Price | Supplier Links |
|-----|-----------|----------------|------------|----------------|
| ... | ... | ... | ... | ... |

## Output Devices

| Qty | Component | Specifications | Est. Price | Supplier Links |
|-----|-----------|----------------|------------|----------------|
| ... | ... | ... | ... | ... |

## Power Components

| Qty | Component | Specifications | Est. Price | Supplier Links |
|-----|-----------|----------------|------------|----------------|
| ... | ... | ... | ... | ... |

## Passive Components

| Qty | Component | Specifications | Est. Price | Supplier Links |
|-----|-----------|----------------|------------|----------------|
| ... | ... | ... | ... | ... |

## Mechanical & Connectors

| Qty | Component | Specifications | Est. Price | Supplier Links |
|-----|-----------|----------------|------------|----------------|
| ... | ... | ... | ... | ... |

## Tools Required (if not owned)
- [ ] Tool 1
- [ ] Tool 2

## Compatibility Warnings
⚠️ [Any voltage/current/timing concerns]

## Substitution Notes
💡 [Alternative components if primary unavailable]

Component Database

Microcontrollers

Board Voltage GPIO Flash Price Range Best For
Arduino UNO R3 5V 14 32KB $12-25 Beginners, most tutorials
Arduino Nano 5V 14 32KB $3-20 Compact projects
Arduino Mega 5V 54 256KB $15-40 Many I/O, large programs
ESP32 DevKit 3.3V 34 4MB $5-15 WiFi, Bluetooth, IoT
ESP32-C3 3.3V 22 4MB $4-10 Low-cost WiFi
RP2040 Pico 3.3V 26 2MB $4-6 Dual-core, PIO
RP2040 Pico W 3.3V 26 2MB $6-8 Pico + WiFi

Common Sensors

Sensor Interface Voltage Price Use Case
DHT22/AM2302 1-Wire 3.3-5V $3-8 Temperature + humidity
BME280 I2C/SPI 3.3V $5-15 Temp + humidity + pressure
BMP280 I2C/SPI 3.3V $2-8 Temp + pressure (no humidity)
DS18B20 1-Wire 3-5.5V $2-5 Waterproof temperature
HC-SR04 GPIO 5V $1-3 Ultrasonic distance
VL53L0X I2C 3.3V $5-12 Laser distance (accurate)
MPU6050 I2C 3.3V $2-8 Accelerometer + gyroscope
BNO055 I2C 3.3V $25-35 9-DOF IMU (best accuracy)
VEML7700 I2C 3.3V $4-8 Ambient light (lux)
MAX30102 I2C 3.3V $5-12 Heart rate + SpO2

Displays

Display Interface Resolution Price Notes
16x2 LCD I2C 16 chars $3-8 Need I2C backpack
20x4 LCD I2C 20 chars $5-12 Larger text display
SSD1306 OLED I2C 128x64 $3-8 Sharp, no backlight needed
SSD1306 OLED I2C 128x32 $3-6 Compact OLED
ST7735 TFT SPI 128x160 $5-10 Color, fast refresh
ILI9341 TFT SPI 240x320 $8-15 Larger color display
E-Paper SPI Various $15-40 Low power, no refresh

Motors & Actuators

Type Driver Needed Price Notes
SG90 Servo None (PWM)
Полный SKILL.md на GitHub

Установить bom-generator в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/example-project.jsonreferences/example-bom.mdscripts/generate_bom.py

FAQ

Что делает скилл bom-generator?

Generates Bill of Materials (BOM) from project descriptions for Arduino/ESP32/RP2040 projects. Use when user needs component lists, parts shopping lists, cost estimates, or asks "what parts do I need". Outputs formatted BOMs with part numbers, quantities, suppliers (DigiKey, Mouser, Amazon, AliExpress), and compatibility warnings. Run scripts/generate_bom.py for xlsx/csv export.

Как установить скилл bom-generator?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл bom-generator запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить bom-generator с