redhat-et/ripwire/ripwire-quality-bar
Claude Code and agent skill by redhat-et/ripwire
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Code QUALITY of what YOU just wrote, before commit or 'done', or a cleanup: --quality-delta lists what got WORSE in 12 kinds, exit 2 if old code got worse (new-symbol rows never gate, except defect-shape format-arity); the fix a measured shape (humps/deep, tangle) calls for. Merge safety → change-check. Even a single-line leaf fix runs it.
Install
npx vskill@latest install redhat-et/ripwire/ripwire-quality-barSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as redhat-et/ripwire/ripwire-quality-bar.
The quality-bar convergence loop
Routing: merge safety, tests to run → ripwire-change-check (run this skill FIRST, then its--test-gate) · reusebefore writing → ripwire-reuse-first · rot in code you did not write → ripwire-fresh-eyes · a memory-layouthypothesis → ripwire-perf-target.
Measure the delta, don't eyeball it. Even a single-line leaf fix runs it: the warm run is well under a second.
The one call
In a git repo it compares the working tree with git HEAD (baseline="git-HEAD") and lists only what YOUR change made worse, across 13 kinds (complexity, verbosity, nesting, params, duplication, dead-code, api-surface, error-masking, short-horizon-churn, new-clone-of-reused-helper, placeholder, defect-shape, tangle). Watch `verbosity` hardest — LOC growth is the most-measured agent failure mode. Long multi-commit change? ripwire <dir> --quality-baseline FIRST, on a clean tree, so later runs delta against where you started (dirty tree: refused; --allow-dirty pins anyway and stamps baseline_absorbed="N").
Read the exit code — it is narrower than it looks
Exit 2 = at least one row gates, exactly the header's gating="N": major, unacked, in scope, on code that already existed (preexisting-worse), or one of three new-symbol exceptions — defect-shape format-arity, a new function at the ceiling, a new function at tangle 6 or more. Read gating=, not regressions=. Exit 0 means no row gated, NOT "clean": open the origin="new-symbol" rows — they are the debt you are adding. Moved code: unchanged keeps its identity, a small edit reads origin="moved" and never gates, a rewrite reads as new — so on a moving diff the exit code is weak evidence. Before an extract-method fix, read ev= on the cx= row: absent or ev="1" = mechanical.
Stop rule
A gating="0" run on a leaf fix that keeps the signature and adds no branch, symbol, dependency or abstraction is confirmation: stop. Drill-down, --dmm, acking and a second round are for a run that reported something. Otherwise fix the real rows, re-run, converge; two rounds without progress → report what remains.
Reference files — read only the one the answer sends you to
| You need | Read | |
|---|---|---|
the wide-angle --quality-panel read (six evidence families) | panel.md | |
the full loop: exit-code contract, exemptions, idiom demotions, acking (--quality-ack) | loop.md | |
a flagged row: zoom in (--dmm, drill-down per kind) | drill-down.md | |
| which refactor a shape calls for, and the loop that proves it landed | playbook.md | |
| paying down EXISTING debt; guardrails; CI / pre-commit wiring | debt-ci.md | |
| every metric's definition and threshold | quality-metrics.md |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ripwire-quality-bar/SKILL.md
Popularity
- Repository stars
- 2,341
- Repository forks
- 151
- 7-day trend score
- 39
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/redhat-et/ripwire/ripwire-quality-bar)