Skip to content
Code Generation
Skill

/ripwire-find-bug

You have a SYMPTOM — crash, exception, wrong output, failing test, error string — and don't know which code is responsible. Ranks candidates; a stack trace or sanitizer output maps onto frames innermost-first; 'it worked yesterday' / 'my last edit broke it' → --situ. One clear

From plugin
ripwire
2.6k19 skills5 hooks1 MCP

Claude Code

$ npx -y skills add redhat-et/ripwire --skill ripwire-find-bug --agent claude-code

SKILL.md

ripwire-find-bug.SKILL.md
name: ripwire-find-bug
description: >
  You have a SYMPTOM — crash, exception, wrong output, failing test, error string — and don't know
  which code is responsible. Ranks candidates; a stack trace or sanitizer output maps onto frames
  innermost-first; 'it worked yesterday' / 'my last edit broke it' → --situ. One clear hit plus one
  focused read is enough.
allowed-tools: Bash, Read

Find the bug with ripwire

> Routing: you know the symbol and want to understand it → **ripwire-navigate** · blast radius / tests for a > change → **ripwire-change-check** · a quality once-over with no symptom → **ripwire-fresh-eyes** · a feature that > is simply not there may be built but flagged OFF, not broken: `ripwire <dir> --flags --legend=compact` > (**ripwire-fresh-eyes**).

`<dir>` = repo root; calls are warm after the first parse.

The decision: pick the branch that matches what you already have

| You have | First call | |---|---| | a stack trace, sanitizer report, compiler error, or failing-test output | `ripwire <dir> --from-trace=FILE --legend=compact` (`--from-trace=-` reads stdin) — paste it verbatim; frames map to in-corpus symbols innermost-first, and rank 1's full body is included | | "I changed X and now something's broken" | `ripwire <dir> --situ` — your diff, its blast radius, tests to run, co-change partners you forgot | | a symptom in words, no idea where | `ripwire <dir> --for="<symptom in plain words>"` | | an exact error string | `ripwire <dir> --grep="ERROR_STRING" --legend=compact` (literal + enclosing symbol) | | a suspect subsystem | `--for="<symptom>"`, then `ripwire <dir> --hotspots --legend=compact` on those directories |

Then read narrowly: the top symbol's body or the smallest source range that can confirm or refute it. For a regression, read first what appears in BOTH the blast radius (`--callers=SYM`) and the co-change list (`--cochange=FILE`).

Stop rule

**Evidence-sufficiency stop:** escalate only while the responsible code is still ambiguous. If one candidate ranks clearly and a focused read explains the symptom with a minimal fix, stop retrieval and implement and validate it. Do not add `--hotspots`, `--impact`, another skill or a whole-file read once the defect is proven. Resume only when the source contradicts the candidate, several remain plausible, or the blast radius is itself part of the task.

Trust

The call graph gives structure; `--slice=SYM:VAR` (with `--slice-flow=back|fwd|both`) gives a variable's data flow inside one function. Dynamic dispatch and callbacks can be missing from name-based edges. Found it? Pin the gotcha: `ripwire <dir> --note-add="SYM_or_path: what actually went wrong"`.

Reference file

`branches.md` — all four branches step by step (symptom search, subsystem narrowing, regression with co-change, trace mapping with `--token-budget` and `--run-trace`), the Output shape and the full Honesty note.

Read more
@redhat-et
Ships withripwire

The ripgrep of AI context. A map before your agent reads the repo — and a check on what it writes. Ranked, deterministic call graph: what to touch, what it breaks, which tests to run.

2.6k19 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
2.6k
Star history of redhat-et/ripwire on GitHub, a chart by star-history.com

Other skills on ripwire.

emitting-output

emitting-output

Writing or converting formatted output in ripwire's C++ source — std::print/std::format via rw::emitTo, emitRaw and formatTo,…

@redhat-et@redhat-etInstall Skill
ripwire-before-you-build

ripwire-before-you-bui…

Starting a FEATURE (multi-symbol work): the plan, the API boundary, the scope — how big does this change get — from the…

@redhat-et@redhat-etInstall Skill
ripwire-change-check

ripwire-change-check

Merge-SAFETY of an existing diff — yours before you push, or a PR you review: blast radius, tests to run, a broken contract…

@redhat-et@redhat-etInstall Skill
ripwire-fresh-eyes

ripwire-fresh-eyes

Maintenance risk in code you did NOT write — inheriting a module, planning a refactor, a suspected god object, 'what's gnarly /…

@redhat-et@redhat-etInstall Skill
ripwire-graph-query

ripwire-graph-query

A call-graph question the fixed verbs can't phrase — 'which high-complexity functions can reach X?', 'what has 10+ callers in…

@redhat-et@redhat-etInstall Skill

More skills from other plugins.

orval

orval

Generate type-safe API clients, TanStack Query/SWR hooks, Zod schemas, MSW mocks, Hono server handlers, MCP servers, and…

orval1d6.6k
@orval-labs@orval-labsInstall Skill
claude-api

claude-api

Use this skill when the user is building against Anthropic APIs or SDKs, including `@anthropic-ai/sdk`, `anthropic`, or Agent SDK…

@oboard@oboardInstall Skill
paper2code

paper2code

Converts an arxiv paper into a minimal, citation-anchored Python implementation. Trigger when user runs /paper2code with an arxiv…

paper2code13d1.5k

Questions about ripwire-find-bug.

Which coding agents can use ripwire-find-bug?
ripwire-find-bug installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.