emitting-output
Writing or converting formatted output in ripwire's C++ source — std::print/std::format via rw::emitTo, emitRaw and formatTo,…
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
Claude Code
$ npx -y skills add redhat-et/ripwire --skill ripwire-change-check --agent claude-code
Codex
$ npx skills add redhat-et/ripwire --skill ripwire-change-check -a codex -y
Cursor
$ npx skills add redhat-et/ripwire --skill ripwire-change-check -a cursor -y
Gemini CLI
$ npx skills add redhat-et/ripwire --skill ripwire-change-check -a gemini-cli -y
GitHub Copilot
$ npx skills add redhat-et/ripwire --skill ripwire-change-check -a github-copilot -y
OpenCode
$ npx skills add redhat-et/ripwire --skill ripwire-change-check -a opencode -y
Windsurf
$ npx skills add redhat-et/ripwire --skill ripwire-change-check -a windsurf -y
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
> 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.
| 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"`).
**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.
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.
| 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` |
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.
Writing or converting formatted output in ripwire's C++ source — std::print/std::format via rw::emitTo, emitRaw and formatTo,…
Starting a FEATURE (multi-symbol work): the plan, the API boundary, the scope — how big does this change get — from the…
You have a SYMPTOM — crash, exception, wrong output, failing test, error string — and don't know which code is responsible. Ranks…
Maintenance risk in code you did NOT write — inheriting a module, planning a refactor, a suspected god object, 'what's gnarly /…
A call-graph question the fixed verbs can't phrase — 'which high-complexity functions can reach X?', 'what has 10+ callers in…
Generate type-safe API clients, TanStack Query/SWR hooks, Zod schemas, MSW mocks, Hono server handlers, MCP servers, and…
Use the Modern Go Guidelines CLI whenever writing, modifying, fixing, or refactoring Go code. Apply its version-specific guidance…
Use this skill when the user is building against Anthropic APIs or SDKs, including `@anthropic-ai/sdk`, `anthropic`, or Agent SDK…
Converts an arxiv paper into a minimal, citation-anchored Python implementation. Trigger when user runs /paper2code with an arxiv…