/atopile-dev:design-reviewfrom atopile-dev
Reviews atopile hardware designs for connectivity correctness, datasheet compliance, and design rule adherence. Useful before committing or building.
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 agentic workers: This skill orchestrates four parallel review agents. Do NOT delegate to generic software code-review skills — this is a hardware design review. Each agent uses the atopile LSP (
lspskill) tools and reads local datasheets — no internet searches for datasheets.
Dispatches four parallel review agents, each focused on a distinct type of reasoning. For the why behind design rules, see the ato-language skill's design-patterns.md.
.ato files under review.datasheets/ directory for the relevant IC datasheet and application note. If missing, download them there first (WebFetch/curl the PDF URL from the manufacturer's site, save as <manufacturer>_<part>.pdf). Agents must read from the local copy, not hunt the internet.v_max, current targets, etc.) from the source.Reasoning type: Structural — are the right things connected?
Checks:
.reference connected on every ElectricLogic~> only on can_bridge modules)_-prefixed (private) members of other modulesbase matching datasheet, assert addressor.address is i2c.address, and address_lines[].reference connectedTools: Read .ato files, get_hover to check interface types, get_references to trace connections, get_diagnostics for type mismatches.
Reasoning type: Specification — does the design match the IC datasheet?
Checks:
datasheets/ directoryassert with the correct K-factorratio and total_resistance constrained on every dividerTools: Read .ato files, Read datasheet PDF from the local datasheets/ directory, get_hover to inspect solved values.
Reasoning type: Arithmetic — can every component handle its working conditions?
Checks:
assert max_voltage >= ... derived from design params (not magic numbers)assert max_power >= ... with deratingTools: Read .ato files, get_hover to check constraint values, arithmetic verification.
Reasoning type: Convention — does it follow project standards and build clean?
Checks:
ato build passes cleanget_diagnostics returns empty for all files.package lockedhide_designators: true in all build targetspackage.identifier set in ato.yamlTools: Read .ato files, ato build, get_diagnostics, read ato.yaml and BOM output.
You are reviewing an atopile hardware design for correctness. Your focus is [CATEGORY].
IMPORTANT:
- Do NOT use generic software code-review skills.
This is a hardware design review. Use atopile-specific tools only.
- Do NOT search the internet for datasheets. Use the local copy at the path provided below.
Tools to use:
- Read .ato source files directly
- mcp__atopile-lsp__get_hover — inspect types, members, constraints
- mcp__atopile-lsp__get_diagnostics — parse errors and type mismatches
- mcp__atopile-lsp__get_references — trace connections across files
- Read datasheet PDF from the local path below
Files under review:
- [list .ato files with full paths]
Datasheet (local): datasheets/[filename].pdf
Application note (local): datasheets/[filename].pdf (if available)
Design parameters:
- [v_max, current targets, etc. from the module]
Confidence scoring (0-100):
- 0: false positive — do not report
- 25: might be real, possibly false positive
- 50: real issue but may be nitpick
- 75: confident, will matter in practice
- 100: certain, confirmed against datasheet or code
Pre-existing issues:
- Still report pre-existing issues — they are often critical and this may be
the first time anyone has reviewed them properly
- Tag as `[PRE-EXISTING]` so they can be triaged separately
- Apply the same confidence scoring — a pre-existing blocker is still a blocker
Your job:
1. Read the .ato source files and the datasheet
2. [Category-specific checks]
3. For each finding with confidence >= 60, report:
- BLOCKER / ISSUE / NOTE
- Confidence: [0-100]
- File and line number
- What's wrong
- Evidence (datasheet page, calculation, or code reference)
- Suggested fix
4. Do NOT report findings below confidence 60
5. End with a verdict: PASS / PASS WITH ISSUES / FAIL
and a summary: N blockers, N issues, N notes
Use a lower threshold (≥60) than typical software reviews (≥80) because hardware false negatives are more costly than false positives — a missed issue means a board respin, not a patch.
When a fix involves removing an assertion, constraint, voltage/power rating, package lock, or any other design requirement — even if the removal is correct — document why inline in the commit message AND in a code comment at the removal site.
Every removal must answer:
If you can't answer all three, the requirement should be weakened (loosened bounds) rather than removed.
This applies even when the requirement was wrong from the start (e.g., asserting common-mode voltage on a parameter that means differential voltage). The explanation prevents future reviewers from re-adding it without understanding the nuance.
Verdicts:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
hardware-design-review, atopile, pcb-review, design-rule-check
npx claudepluginhub mawildoer/atopile-agent-skill --plugin atopile-dev8 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./creating-packagesUse when adding a new IC, component, or subcircuit to an atopile project. Triggers on creating atopile packages, sourcing parts, vendoring an existing package, or deciding whether to make a shared package vs. inline in a board. Also use when you see ato create part or are about to write a new .ato driver module./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.Other plugins' skills for the same job