# Drc fix

> Drc fix is an open-source agent skill for developer tools. Diagnoses DRC violations in a layout or GDS and plans minimal fixes for the agent. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/vibeic/vibe-ic/tree/main/vibe-ic-marketplace/plugins/vibe-ic/skills/drc-fix
- **Repository:** https://github.com/vibeic/vibe-ic
- **GitHub stars:** 33
- **License:** Apache-2.0
- **Skill name:** drc-fix
- **Collection:** https://github.com/vibeic/vibe-ic
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill guides an agent through a DRC report and the layout it came from, grouping violations by rule, ranking them by severity and proposing the smallest geometry change that clears each rule. It covers common rule families such as spacing, width, density, via enclosure, antenna and metal fill, and reads reports from Calibre, KLayout or Magic.

The workflow has the agent group violations by rule category, sort them into hard and waiverable bands, propose a bounded edit, check that the change does not create new violations or break LVS, and emit a KLayout Python, SKILL or TCL snippet where relevant. It also includes guardrails: it avoids fixes that break connectivity, does not waive hard rules without approval and flags any edits outside the block boundary. Fixes are verified by rerunning the native DRC and reporting the best measured result.

The skill expects a DRC report, the GDS or OASIS layout or the affected cells, and ideally the PDK rule deck or manual. Its scripts are written in Python and the notes reference OpenROAD and KLayout-based flows.

## When your agent uses it

> Diagnose and fix Design Rule Check (DRC) violations in a layout or GDS. Use when the user says "fix DRC", "DRC clean", "resolve spacing errors", "my layout fails DRC", or shares a DRC report from Calibre, Klayout, or Magic.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/vibeic/vibe-ic/tree/HEAD/vibe-ic-marketplace/plugins/vibe-ic/skills/drc-fix)
- [No network calls found in its scripts](https://github.com/vibeic/vibe-ic/tree/HEAD/vibe-ic-marketplace/plugins/vibe-ic/skills/drc-fix)
- [License: Apache-2.0](https://github.com/vibeic/vibe-ic/tree/HEAD/vibe-ic-marketplace/plugins/vibe-ic/skills/drc-fix)

## Features

- **Violation grouping by rule:** Clusters large violation counts by rule category so that many markers can be traced to a few root causes.
- **Severity classification:** Labels violations as hard fab failures or waiverable items based on count bands.
- **Minimal edit proposals:** Suggests the smallest layout change that clears a given spacing, width, enclosure or density rule.
- **Collateral damage checks:** Looks for new violations or LVS breaks introduced by a proposed fix before it is accepted.
- **Fix script emission:** Produces KLayout Python, SKILL or TCL snippets for the proposed edits when applicable.
- **Native rerun verification:** Reruns the owning DRC tool after each change and keeps earlier results so regressions can be reverted.

## Good for

- Diagnose the spacing errors in my GDS after a Calibre DRC run
- Explain which violations in this KLayout report are real and which are waiver candidates
- Propose the smallest metal edit that clears a via enclosure failure
- Check whether my fill changes will introduce new DRC or LVS problems
- Triage a Magic DRC report with cryptic rule names

## Install

### Claude Code

This skill ships in the `vibe-ic` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add vibeic/vibe-ic
/plugin install vibe-ic@vibe-ic-marketplace
```

Or copy only this skill to `~/.claude/skills/drc-fix`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vibeic/vibe-ic.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/drc-fix &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/drc-fix" ~/.claude/skills/drc-fix &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/drc-fix` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/drc-fix` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vibeic/vibe-ic.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/drc-fix &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/drc-fix" ~/.agents/skills/drc-fix &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/drc-fix` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/drc-fix` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vibeic/vibe-ic.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/drc-fix &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/drc-fix" ~/.cursor/skills/drc-fix &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/drc-fix` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/vibeic/vibe-ic.git --path vibe-ic-marketplace/plugins/vibe-ic/skills/drc-fix
```

Or copy the folder to `~/.gemini/skills/drc-fix` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/drc-fix`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vibeic/vibe-ic.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/drc-fix &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/drc-fix" ~/.copilot/skills/drc-fix &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/drc-fix` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/vibeic/vibe-ic.git
```

Then copy `vibe-ic/vibe-ic-marketplace/plugins/vibe-ic/skills/drc-fix` into your agent's skills folder as `drc-fix`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It needs a DRC report from a tool such as Calibre, KLayout or Magic, the layout file (GDS or OAS) or the affected cells, and ideally the PDK DRC manual or rule deck name.

### When does Drc fix trigger?

It triggers when the user asks to fix DRC, mentions a DRC clean target or spacing errors, says their layout fails DRC, or shares a DRC report from Calibre, KLayout or Magic.

### Does Drc fix change my layout automatically?

It proposes bounded edits and fix scripts and says to rerun the native DRC after each change; it does not waive hard rules without explicit user approval.

### What license does Drc fix use?

The repository is licensed under Apache-2.0.

### How do I install Drc fix in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/drc-fix to use it in all your projects, or to .claude/skills/drc-fix in one project. Or install the vibe-ic plugin, which includes it: /plugin marketplace add vibeic/vibe-ic, then /plugin install vibe-ic@vibe-ic-marketplace.

### Does Drc fix run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Drc fix?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Drc fix?

The closest alternatives to Drc fix are Phase3 backend verify, Analog layout, Compliance gate spot check, Correct and Ci.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Phase3 backend verify](https://ai-powered.com/skills/phase3-backend-verify): Phase3 backend verify is an open-source agent skill for developer tools.
- [Analog layout](https://ai-powered.com/skills/analog-layout): Analog layout is an open-source agent skill for developer tools.
- [Compliance gate spot check](https://ai-powered.com/skills/compliance-gate-spot-check): Compliance gate spot check is an open-source agent skill for developer tools.
- [Correct](https://ai-powered.com/skills/correct): Correct is an open-source agent skill for developer tools.
- [Ci](https://ai-powered.com/skills/ci-chachamaru127): Ci is an open-source agent skill for developer tools.
- [Ir drop triage](https://ai-powered.com/skills/ir-drop-triage): Ir drop triage is an open-source agent skill for developer tools.
- [Gap analysis](https://ai-powered.com/skills/gap-analysis): Gap analysis is an open-source agent skill for developer tools.
- [Dopamine](https://ai-powered.com/skills/dopamine): Dopamine is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/drc-fix
