# Rtl repair

> Rtl repair is an open-source agent skill for developer tools. Guides an agent to fix lint, synthesis and simulation errors in Verilog and RTL code. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/vibeic/vibe-ic/tree/main/vibe-ic-marketplace/plugins/vibe-ic/skills/rtl-repair
- **Repository:** https://github.com/vibeic/vibe-ic
- **GitHub stars:** 33
- **License:** Apache-2.0
- **Skill name:** rtl-repair
- **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 walks an AI coding agent through repairing RTL designs that fail a lint, synthesis or simulation check. It takes the broken module together with the tool's error log, groups messages by underlying cause so that one fix can clear several warnings, ranks synthesis blockers ahead of style issues, and then applies small, targeted edits rather than rewriting the module unless a refactor is requested.

The output is structured as a report: the identified root causes with their line ranges and fix strategies, a diff of the patch, a justification for each change, any remaining risks, and a suggested follow-up check. The skill also sets a convention for register initial values, preferring a value stated in the input, then a recognized circuit-class default, and otherwise zero, and it asks that defaults be marked in comments and listed in the report.

The plugin includes Python scripts for specific checks, such as generating a candidate in-order watchdog module from a JSON declaration and a check that prevents a file rewrite from deleting a module that other code still instantiates. Working through the Python tooling requires a Python environment.

## When your agent uses it

> Automatically fix lint violations, synthesis errors, and simulation mismatches in RTL code. Use when the user says "fix this Verilog", "repair the RTL", "resolve these lint errors", "my synthesis is failing", or shares an HDL file with error logs from a lint/synth/sim tool.

## 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/rtl-repair)
- [No network calls found in its scripts](https://github.com/vibeic/vibe-ic/tree/HEAD/vibe-ic-marketplace/plugins/vibe-ic/skills/rtl-repair)
- [License: Apache-2.0](https://github.com/vibeic/vibe-ic/tree/HEAD/vibe-ic-marketplace/plugins/vibe-ic/skills/rtl-repair)

## Features

- **Error log triage:** Groups lint, synthesis and simulation messages by root cause and ranks them by severity.
- **Minimal patch edits:** Prefers surgical diffs over rewrites unless a refactor is explicitly requested.
- **Repair report output:** Produces root causes, a diff, per-change justification, remaining risks and next steps.
- **Register initial values:** Applies a precedence order for register reset or initial values and marks defaults in comments.
- **Interface preservation:** Flags port changes instead of silently altering module interfaces.
- **Python consistency checks:** Includes scripts that check file-delivery clobbering and generate a watchdog candidate module.

## Good for

- Fix the lint violations reported by Verilator on this module
- Resolve the errors my Yosys synthesis run is throwing
- Repair a Verilog module whose simulation output differs from the golden reference
- Apply the fixes suggested by a previous RTL review

## 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/rtl-repair`:

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

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

### Codex

Copy the skill folder to `~/.agents/skills/rtl-repair` 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/rtl-repair &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/rtl-repair" ~/.agents/skills/rtl-repair &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/rtl-repair` 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/rtl-repair &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/rtl-repair" ~/.cursor/skills/rtl-repair &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/rtl-repair` 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/rtl-repair
```

Or copy the folder to `~/.gemini/skills/rtl-repair` yourself.

### VS Code

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

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

For one project only, put the folder in `.github/skills/rtl-repair` 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/rtl-repair` into your agent's skills folder as `rtl-repair`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Rtl repair trigger?

It triggers when you share a Verilog or HDL file together with error output from a lint, synthesis or simulation tool, or when you say things like "fix this Verilog" or "repair the RTL".

### Does Rtl repair change module ports?

No. The skill says it should not silently change module interfaces and should flag any required port change explicitly.

### Which tools does Rtl repair mention?

It mentions SpyGlass, Verilator and Icarus for lint, Yosys, DC and Genus for synthesis, and golden-versus-DUT comparison for simulation.

### Does Rtl repair need Python?

The plugin ships Python scripts for some checks, so Python is needed to run those parts of the workflow.

### How do I install Rtl repair in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/rtl-repair to use it in all your projects, or to .claude/skills/rtl-repair 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 Rtl repair 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 Rtl repair?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Rtl repair?

The closest alternatives to Rtl repair are Rtl review, Phase2 rtl verify, Correct, Agent architecture audit and Principle fix root causes.

## Where this comes from

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

## Alternatives

- [Rtl review](https://ai-powered.com/skills/rtl-review): Rtl review is an open-source agent skill for developer tools.
- [Phase2 rtl verify](https://ai-powered.com/skills/phase2-rtl-verify): Phase2 rtl verify 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.
- [Agent architecture audit](https://ai-powered.com/skills/agent-architecture-audit): Agent architecture audit is an open-source agent skill for developer tools.
- [Principle fix root causes](https://ai-powered.com/skills/principle-fix-root-causes): Principle fix root causes is an open-source agent skill for developer tools.
- [Synth doctor](https://ai-powered.com/skills/synth-doctor): Synth doctor is an open-source agent skill for developer tools.
- [Build fix edho ferdian](https://ai-powered.com/skills/build-fix-edho-ferdian): Build fix edho ferdian is an open-source agent skill for developer tools.
- [Vibe anti rationalization check](https://ai-powered.com/skills/vibe-anti-rationalization-check): Vibe anti rationalization check is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/rtl-repair
