Skip to content
Code Generation
Skill

/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 (--edit-check=SYM), branch conflicts and landing order, unmerged work stranded on old branches, which ref defines it. Code QUALITY → quality-bar. Even a

From plugin
ripwire
2.6k19 skills5 hooks1 MCP

Claude Code

$ npx -y skills add redhat-et/ripwire --skill ripwire-change-check --agent claude-code

SKILL.md

ripwire-change-check.SKILL.md
name: ripwire-change-check
description: >
  Merge-SAFETY of an existing diff — yours before you push, or a PR you review: blast radius, tests to
  run, a broken contract (--edit-check=SYM), branch conflicts and landing order, unmerged work
  stranded on old branches, which ref defines it. Code QUALITY → quality-bar. Even a one-line leaf fix
  runs --edit-check.
allowed-tools: Bash, Read

Change check with ripwire

> Routing: a change you have NOT written yet → **ripwire-before-you-build** · did the code itself get worse → > **ripwire-quality-bar**, run it FIRST (the chain is "did the code get worse" → "is it safe to merge") · risk in > a subsystem not tied to a diff → **ripwire-fresh-eyes** · a test for existing untested code → > **ripwire-write-tests** · unsure → **ripwire-router**.

`<dir>` = repo root, with your changes staged or unstaged (or the PR branch checked out): these verbs read `git diff` themselves.

The decision: which question are you asking?

| Question | Run | |---|---| | did I just change a contract someone depends on? (per symbol, right after an edit) | `ripwire <dir> --edit-check=SYM --legend=compact` | | which tests must I run for this change — and is anything untested in the blast radius? | `ripwire <dir> --test-gate --legend=compact` (exit 4 if either is non-empty) | | which tests reach these files | `ripwire <dir> --affected=F1,F2 --legend=compact`, or `ripwire <dir> --situ` for the whole mid-task report | | the whole review-evidence bundle for the diff (callers, blast radius, tests, co-change, owners) | `ripwire <dir> --pr-context --legend=compact` (vs a base: `--pr-context=main`) | | can I delete this one symbol? | `ripwire <dir> --safe-delete=SYM --legend=compact` | | several branches or worktrees: who conflicts, what landing order? | `ripwire <dir> --merge-scout=REF1,REF2,... --legend=compact` | | what is stranded on old branches; which ref defines a symbol | `ripwire <dir> --stray-content --legend=compact` · `ripwire <dir> --whereis=SYM --legend=compact` | | a test failed and I only have its file | `--exercises=TESTFILE` (the inverse of `--affected`) |

`--edit-check` reports exactly one of `status="unchanged"` / `"new-symbol"` / `"contract-change"` vs git HEAD, and flags any 1-hop call site whose argument count is now provably incompatible (`incompatible="1"`).

Stop rule

**Scope guard:** Do not turn a focused fix into a full merge audit merely because a diff now exists. Even a one-line leaf fix runs `--edit-check=SYM`: a genuinely `"unchanged"` result plus the focused test plus `git diff --check` is enough to stop. A `"contract-change"` means the fix was not as leaf-level as it looked — now the bundle is warranted. Never run `--pr-context` and then repeat its component steps without a specific unanswered question.

Reading the answer

Headers are stamped `at="<sha>[+dirty]"`: quote it when you paste findings; `+dirty` means uncommitted, so re-run after you commit. Recommend one of: **safe to merge** / **needs tests** / **review the hotspot** / **lint issues to fix** / **decouple before merge**. Blast radius is name-based; a high-`amb` edge was guessed. ripwire cedes data-flow and type checks to the compiler and the test suite.

Reference files

| You need | Read | |---|---| | the bundle in full; the narrated walk (`--situ`, `--hotspots`, `--lint`, `--seams`, `--map-diff`, `--metrics`, `--mentions`, `--test-gate`) | `pr-context.md` | | landing several branches, stranded content, `--whereis`, branch ABI drift | `branches.md` | | `--edit-check` and `--safe-delete` in full, and the Output checklist | `symbol-checks.md` |

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-find-bug

ripwire-find-bug

You have a SYMPTOM — crash, exception, wrong output, failing test, error string — and don't know which code is responsible. Ranks…

@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-change-check.

Which coding agents can use ripwire-change-check?
ripwire-change-check 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.