# bugfix-crate

The bugfix-crate skill works through an existing Rust crate issue file one finding at a time, testing each change and recording its outcome.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 117 installs · ★ 5 repo stars
- Author: ulpi-io
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ulpi-io/skills/tree/HEAD/bugfix-crate/SKILL.md
- Updated: 2026-08-31
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/bugfix-crate

## What it does

Before editing, the skill reads the issue file and checks the crate’s baseline with tests and Clippy. It then handles each finding separately. For a behavioral or API fix, it writes a regression test first and confirms that the test fails before changing the implementation. After each fix, it reruns the checks and updates the finding’s status in the issue file.

Use it only when you already have a crate issue file, such as `.ulpi/issues/<crate>.md`; it is not intended to create one. The skill also calls for the `rust` skill before Rust code changes. Each fix is checked with `cargo test -p <crate>` and `cargo clippy -p <crate> -- -D warnings`, so findings are not bundled into a single verification pass.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add ulpi-io/skills --skill bugfix-crate -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/bugfix-crate/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/bugfix-crate/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add ulpi-io/skills --skill bugfix-crate -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/bugfix-crate/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add ulpi-io/skills --skill bugfix-crate -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/bugfix-crate/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install ulpi-io/skills bugfix-crate
```

2. **Manually: put the files in place**
- File: `.github/skills/bugfix-crate/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add ulpi-io/skills --skill bugfix-crate -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/ulpi-io/skills --path bugfix-crate
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/bugfix-crate/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add ulpi-io/skills --skill bugfix-crate -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/ulpi-io/skills/tree/HEAD/bugfix-crate/SKILL.md

## When to use it
- work through findings in a Rust crate issue file
- add a regression test before changing behavior
- check each fix with crate tests and Clippy
- record each finding’s resolution in the issue file

## Example prompts
- Use `/bugfix-crate` to work through `.ulpi/issues/my-crate.md` one finding at a time.
- Fix the findings in `.ulpi/issues/my-crate.md`; test behavioral changes before editing the implementation.
- Review `.ulpi/issues/my-crate.md`, verify each fix, and record deferred or invalid findings.

## Similar
- [rust-crate-ci](https://affpapa.org/en/nevibecode/skills/rust-crate-ci.md) — skill · ★ 539 repo stars
- [rust-best-practices](https://affpapa.org/en/nevibecode/skills/rust-best-practices.md) — skill · 23400 installs
- [verify](https://affpapa.org/en/nevibecode/skills/mag123c-verify.md) — skill · ★ 196 repo stars
- [rust-coder](https://affpapa.org/en/nevibecode/skills/rust-coder.md) — skill · ★ 869 repo stars
- [review](https://affpapa.org/en/nevibecode/skills/mag123c-review.md) — skill · ★ 196 repo stars
- [rust-engineer](https://affpapa.org/en/nevibecode/skills/sammcj-rust-engineer.md) — skill · ★ 173 repo stars

From the same set: [ulpi-io/skills](https://affpapa.org/en/nevibecode/by/ulpi-io/skills.md) — 49 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
