Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By jusjinukv0.1.0MIT
KLayout DRC and GDS file tools for Claude Code — write DRC rules, generate/edit GDS files, and run evaluation pipelines
You run one by typing its /name in Claude Code.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that gives Claude deep knowledge of KLayout DRC (Design Rule Checking) and GDS layout file workflows. It enables Claude to write correct DRC rules, generate and inspect GDS files, and run evaluation pipelines — all within the Claude Code CLI.
KLayout's DRC Ruby DSL and GDS binary format are niche domains that LLMs frequently get wrong: missing .um suffixes, confusing .space() with .separation(), wrong SKY130 layer numbers, forgetting boilerplate. This plugin solves that by:
.drc files before they're written and suggest running DRC checks afterwardklayout-tools/
├── .claude-plugin/plugin.json # Plugin metadata
├── skills/ # Domain knowledge (loaded into Claude's context)
│ ├── klayout-drc/ # KLayout DRC Ruby DSL syntax & patterns
│ ├── gds-generation/ # GDS creation with pya Python API
│ ├── gds-editing/ # GDS inspection & modification
│ └── drc-eval-workflow/ # Evaluation pipeline patterns
├── commands/ # Slash commands (user-invocable)
│ ├── drc-check.md # /drc-check — run KLayout DRC
│ ├── gds-inspect.md # /gds-inspect — show GDS contents
│ └── gds-create.md # /gds-create — scaffold generator script
├── agents/ # Specialized worker agents
│ ├── drc-reviewer.md # Review .drc rules for correctness
│ ├── gds-analyzer.md # Deep GDS file analysis
│ ├── drc-doc-searcher.md # Search KLayout docs on demand
│ └── eval-runner.md # Run DRC eval pipelines
├── hooks/ # Automatic validation
│ ├── hooks.json # Hook configuration
│ ├── validate_drc.py # PreToolUse: validate .drc before write
│ └── post_drc_write.py # PostToolUse: suggest /drc-check after write
└── refs/ # Bundled quick references
├── klayout_drc_cheatsheet.md # Condensed DRC DSL cheat sheet
└── sky130_layers.md # SKY130 layer/datatype table
Skills are domain knowledge packages that Claude reads when relevant tasks arise. They do not embed the full KLayout documentation into context — instead, they include condensed cheat sheets and instruct Claude to search the full docs on demand via Grep.
| Skill | Trigger | What It Provides |
|---|---|---|
| klayout-drc | Writing/reading .drc files | Ruby DSL syntax, common DRC patterns (width, space, separation, enclosure, overlap), common mistakes, reference lookup instructions |
| gds-generation | Creating GDS files programmatically | KLayout pya API for cell creation, shape insertion (Box, Polygon, Path), pass/fail test case generation patterns |
| gds-editing | Inspecting/modifying existing GDS files | Reading GDS with pya.Layout, layer enumeration, polygon extraction, GDS-to-text conversion, file modification |
| drc-eval-workflow | Running DRC evaluation | KLayout batch mode, .lyrdb XML parsing, F1 score computation, evaluation workflow patterns |
| Command | Usage | Description |
|---|---|---|
/drc-check | /drc-check rule.drc test.gds | Runs KLayout DRC in batch mode, parses the .lyrdb output, and reports violations by category |
/gds-inspect | /gds-inspect layout.gds | Converts GDS to human-readable text showing layers, cells, polygon coordinates, and bounding boxes |
/gds-create | /gds-create my_generator | Scaffolds a Python GDS generator script with imports, layer definitions, and shape insertion boilerplate |
Agents are specialized workers that can be dispatched in parallel for focused tasks.
| Agent | Model | Purpose |
|---|---|---|
| drc-reviewer | inherit | Reviews .drc rules against a checklist: boilerplate, layer numbers, operations, units, categories, completeness vs spec |
| gds-analyzer | inherit | Deep GDS analysis: layer/cell/geometry info, dimension measurement, pass vs fail comparison |
| drc-doc-searcher | haiku | Searches KLayout reference docs (klayout_doc_drc_v2.txt, klayout_doc_layout_v2.txt) for specific API calls and usage examples |
| eval-runner | inherit | Executes DRC rules against test GDS files, parses results, computes F1/accuracy metrics |
Generated from the plugin's indexed repository (jusjinuk/klayout-tools) — no native marketplace selected
npx claudepluginhub p/jusjinuk-klayout-toolsBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground