Skip to content
Skill

Drc fix

Diagnoses DRC violations in a layout or GDS and plans minimal fixes for the agent

Drc fix is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
Python
Platforms
Claude Code, Codex, Cursor
GitHub stars
33
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Drc fix

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 4 files (35 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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.

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Drc fix 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.

More from vibeic/vibe-ic

  1. Plans and runs analog circuit simulations and triages the results across corners

    • Open source
    • 33 GitHub stars
    • Developer tools
  2. Re-simulates analog blocks after layout to measure parasitic performance loss

    • Open source
    • 33 GitHub stars
    • Developer tools
  3. Walks an agent through a nine-step analog circuit design flow from spec to hardware

    • Open source
    • 33 GitHub stars
    • Developer tools
  4. Packages a verified analog block into LEF, Liberty, GDS and Verilog hardmacro files

    • Open source
    • 33 GitHub stars
    • Developer tools
  5. Runs hardware measurements on analog blocks using a scope and FPGA ADC

    • Open source
    • 33 GitHub stars
    • Developer tools
  6. Generates FPGA Verilog for hardware-in-the-loop testing of analog circuits

    • Open source
    • 33 GitHub stars
    • Developer tools