/analog-design-layout:custom-layoutfrom analog-design-layout
Generates DRC-ready analog chip layouts from schematics: floorplanning, matched device generation, place/route with symmetry/shielding/matching constraints. Also services fix requests for DRC/LVS or parasitic failures.
Ships in analog-design-layout. 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.
analog-chip-design-agents:custom-layout-orchestrator agent and pass the full user request
and any available context. Do not execute stages directly.custom-layout-orchestrator mid-flow (including fix-request
servicing): do not spawn a new agent. Treat this file as read-only — return the requested
stage rules, sign-off criteria, or loop-back guidance.Spawning the orchestrator from within an active orchestrator run causes recursive delegation and must never happen.
Before executing or advising on any stage, read the following if they exist:
memory/layout/knowledge.md — known matching recipes, density/antenna fixes, PDK layer
quirks. Incorporate its guidance into every placement/routing decision.memory/layout/run_state.md — current run identity (run_id, design_name, pdk,
last_stage) for resume-after-interruption.Turn a sign-off-ready schematic + netlist into a DRC-ready GDS layout that honours analog matching, symmetry, and shielding constraints. Six stages with explicit QoR gates and loop-back criteria enforced by the custom-layout orchestrator. Custom-layout also services fix_requests routed to it (DRC/LVS repairs from physical-verification; parasitic-reduction from post-layout / extraction).
magic) — layout editor + DRC/extraction; sky130/gf180mcu/ihp-sg13g2 support (freepdk45/asap7 predictive PDKs are usable but academic — asap7 FinFET/multi-patterning rules are best handled in KLayout)klayout) — layout viewer/editor, DRC/LVS decks, scripting (Python/Ruby)python -m gdsfactory) — programmatic GDS generationvirtuoso) — XL / GXL / EAD (constraint-driven, electrically-aware)custom_compiler)l-edit)design_state.architecture / design_state.circuit and constraints.area_um2; allocate per-block regions with aspect ratios suited to matching.constraints.area_um2 with ≥ 10% reserve| Issue | Fix |
|---|---|
| Aspect ratio fights matching | Re-shape the block region; rotate to align matched gates |
| No room for guard rings | Re-budget floorplan; merge non-critical blocks |
| Issue | Fix |
|---|---|
| Mismatch from edge effects | Add/extend dummy rows; widen the common-centroid array |
| Missing well tap | Stamp tap ring; tie to the documented bias net |
| Issue | Fix |
|---|---|
| Asymmetric matched placement | Mirror about the symmetry axis; equalise neighbour context |
| Input pair near aggressor | Re-place away from switching nets; add shielding |
| Issue | Fix |
|---|---|
| Matched nets length-mismatched | Add matched detours; route on symmetric layers |
| Coupling onto a high-Z node | Re-route with spacing; add a shield trace |
| Issue | Fix |
|---|---|
| Fill perturbs matching | Add fill-exclude over matched/high-Z nets |
| Density below window | Add dummy fill in non-critical regions |
| Check | Criterion |
|---|---|
| Pre-DRC geometry | clean (no obvious spacing/width/density flags) |
| Matching/symmetry | matched arrays common-centroid + symmetric placement/routing |
| Shielding | sensitive/bias nets shielded |
| Antenna | ratios within PDK limits |
| Density | within the PDK window |
See plugins/meta/skills/pipeline-orchestration/SKILL.md §Constraints Schema for the authoritative schema and stage-entry validation rule.
Required at entry (layout_floorplan) — hard-fail if missing:
design_state.circuit.netlist (or schematic_ref) — the design to lay outconstraints.pdk — for layers, design rules, and device generatorsOptional (schema defaults apply when absent):
constraints.area_um2 — area gating skipped (with a note) when absentSkip constraint validation entirely when invoked in fix-request-servicing mode (a
fix_request.id was passed in the prompt).
Write memory/layout/run_state.md as the first action before launching any tool:
run_id: layout_<YYYYMMDD>_<HHMMSS>
design_name: <design>
pdk: <pdk or unknown>
tool: <primary tool>
start_time: <ISO-8601>
last_stage: null
Update last_stage to the completed stage name only after each stage finishes successfully.
After each stage completes, upsert one JSON record in memory/layout/experiences.jsonl
keyed by run_id (do not append a second line for the same run). key_metrics fields:
matching_sigma_pct, density_pct, area_um2. Set signoff_achieved: false until
layout_check passes; then true. Create the file and parent directories if they do not exist.
If mcp__plugin_ecc_memory__add_observations is available, emit each applied fix as an
observation to entity analog-design-layout-fixes after writing to experiences.jsonl.
Skip silently if absent — the JSONL file is the canonical record.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
analog-layout, chip-design, drc-lvs, place-and-route, matched-devices
npx claudepluginhub hdl-tools/analog-chip-design-agents --plugin analog-design-layoutOther plugins' skills for the same job