Skip to content
Back to skills

Easyeda To Kicad

ASecurity

Imports LCSC/EasyEDA parts into a Tiny Engineer KiCad board via easyeda2kicad --full (symbol, footprint, 3D model). Use when adding JLCPCB/LCSC parts, EasyEDA libraries, or filling hardware/boards/<board>/libraries.

  • 515 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 5, 2026
ai-agentspythonbash

Works with

  • cursor

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 5, 2026

npx -y skills add jamro/tiny-engineer --skill easyeda-to-kicad --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Easyeda To Kicad?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Easyeda To Kicad
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jamro-easyeda-to-kicad/badge)](https://www.skillsdirectory.com/skills/jamro-easyeda-to-kicad)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: easyeda-to-kicad
description: >-
  Imports LCSC/EasyEDA parts into a Tiny Engineer KiCad board via
  easyeda2kicad --full (symbol, footprint, 3D model). Use when adding
  JLCPCB/LCSC parts, EasyEDA libraries, or filling
  hardware/boards/<board>/libraries.
---

# EasyEDA → KiCad board

Import an LCSC part into `hardware/boards/<board_name>/`. Library files only — do **not** place the symbol on the schematic. Do **not** merge into `TinyEngineerModules`.

## Inputs

| Input | Meaning |
| --- | --- |
| Part number | LCSC id starting with `C` (e.g. `C2040`) |
| Board | `hardware/boards/<board_name>/` (directory name = KiCad project) |

Fail if the board dir has no `.kicad_pro`. Manufacturer PNs are not valid; find the LCSC `C…` id first.

## Run

Execute this script (do not reimplement the download/move/lib-table steps):

```bash
python3 .cursor/skills/easyeda-to-kicad/scripts/import_lcsc.py \
  --lcsc-id C2040 \
  --board main-control-board
```

`--board` accepts `main-control-board` or `hardware/boards/main-control-board`.

The script:

1. Resolves the board from the repo root; creates `libraries/{symbols,footprints,3d}`.
2. Installs `easyeda2kicad` if missing.
3. Runs from the **board directory** (required for `--project-relative`):

```bash
python3 -m easyeda2kicad --full --lcsc_id=Cxxxx \
  --output libraries/symbols/easyeda \
  --project-relative --overwrite
```

Always `--full`. Always `--overwrite`. Never `--use-cache`.

4. Moves `libraries/symbols/easyeda.pretty/` → `libraries/footprints/easyeda.pretty/` and `libraries/symbols/easyeda.3dshapes/` → `libraries/3d/easyeda.3dshapes/`.
5. Rewrites 3D paths in footprints to `${KIPRJMOD}/libraries/3d/easyeda.3dshapes`.
6. Upserts lib nickname `easyeda` in `sym-lib-table` / `fp-lib-table`.

## Layout

```
hardware/boards/<board>/
  libraries/symbols/easyeda.kicad_sym
  libraries/footprints/easyeda.pretty/
  libraries/3d/easyeda.3dshapes/
  sym-lib-table
  fp-lib-table
```

Lib nickname **must** be `easyeda` (symbol footprint field is `easyeda:…`). URIs use `${KIPRJMOD}` only — no absolute local paths.

## Example

Import C2040 into main-control-board:

```bash
python3 .cursor/skills/easyeda-to-kicad/scripts/import_lcsc.py \
  --lcsc-id C2040 \
  --board main-control-board
```

Files in this skill

  • SKILL.md2.2 KB
  • scripts/import_lcsc.py6.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…