/atopile-dev:creating-packagesfrom atopile-dev
Guides creating and managing atopile packages for ICs, components, and subcircuits. Covers searching the registry, vendoring existing packages, and package naming/layout conventions.
Ships in atopile-dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
For atopile syntax, interfaces, and design patterns, see the ato-language skill. For build workflow and debugging, see build-and-test.
Writing a new part/driver is the last resort. Stop as soon as you find something usable.
The atopile registry — use the find_packages / inspect_package MCP tools, or browse packages.atopile.io. Install with ato dependencies add <name> (e.g. atopile/usb-connectors).
Packages you can vendor — other repos and your own past projects often have a driver for the same IC. Copy it into a local packages/ directory and reference it via type: file in ato.yaml. Review and adapt — vendored packages may carry application-specific assumptions.
Local shared packages — check the project's own packages/ (or equivalent) for something already vendored.
Create new — only if nothing above works. Use ato create part to generate the footprint/symbol + a .ato stub from a JLCPCB search, then write the driver around it.
These conventions keep packages predictable and reviewable. Adapt the exact namespace to your project.
<vendor>-<device> (e.g. ti-bq25756, microchip-emc2101).<namespace>/<package-name> in ato.yaml's package.identifier (the namespace is your project/org slug).hide_designators: true on build targets — designators are assigned at the consuming board level, not in the package.<package-name>.ato) contains the reusable, configurable module that consumers import.test.ato instantiates it in one specific configuration, connects all interfaces, and adds assertions that verify that configuration. Consumers import from the driver, never from the test.<package-name>/ato.yaml, <package-name>.ato (driver — importable), test.ato (build validation + design verification), parts/ (footprint/symbol/step files).UNVERIFIED — design complete, builds clean, not yet fabricated or testedBUILT — PCB fabricated, not yet powered or testedTESTED — powered and functionally verified on hardwarePRODUCTION — used in a shipped/deployed productbuilds:
package:
entry: <package-name>.ato:<DriverModule>
hide_designators: true
test:
entry: test.ato:Test
hide_designators: true
package build compiles the driver module standalone (used for the package-level layout).test build compiles the test harness that instantiates and wires the driver (used for a test-level layout with instance-prefixed addresses).dependencies:
- type: file
identifier: <namespace>/<package-name>
path: ../packages/<package-name>
Then import the driver:
from "<namespace>/<package-name>/<package-name>.ato" import DriverModule
Shared package (in packages/): two or more boards use it, or it's a commodity block (MCU, regulator, current sense, connector).
Inline in the board: only one board uses it, and it's tightly coupled to that application.
When in doubt, start inline. Extract to a shared package when a second board needs it.
What SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/ato-languageUse when writing, reading, or reviewing .ato files. Triggers on "what interface for X", "how to connect Y", choosing between interface types, parameter constraints, tolerance syntax, or atopile design patterns./board-designUse when designing a new board or modifying board-level architecture in atopile. Triggers on new board creation, connector wiring, power rail routing, MCU peripheral assignment, or composing packages into a board./build-and-testUse when building, validating, or debugging atopile projects. Triggers on build errors, "ato build", solver failures, "no parts found", package management, creating parts from JLCPCB, or debugging connectivity issues./design-reviewUse when reviewing or completing an atopile package or board design. Triggers on design review, pre-commit check, "is this ready", quality audit, finishing a package implementation, or verifying a design before build./layout-relinkingUse when renaming or refactoring components in .ato files that have existing PCB layout placements. Triggers on "layout broken", "components at origin", "lost placement after rename", "relink layout", or any .ato refactor that changes component names or module structure./lspUse when working with .ato files and you need semantic code intelligence — hover info, diagnostics, go-to-definition, find-references, or symbol inspection. Triggers on questions like "what type is this", "what members does X have", "where is X defined", "what uses Y", checking for parse errors, or understanding atopile module/interface signatures.npx claudepluginhub mawildoer/atopile-agent-skill --plugin atopile-devOther plugins' skills for the same job