ripwire-reuse-first
FeaturedAbout to write ONE symbol (even a 'quick' one-liner) or add a dependency: reuse before you reinvent. Finds the building block that already exists, the house pattern to imitate, the duplicate you'd recreate, a vendored dependency. An interface or whole feature → before-you-build. One --exemplar or --grep call at most.
Install
Quality Score: 96/100
Skill Content
Details
- Author
- redhat-et
- Repository
- redhat-et/ripwire
- Created
- 1 months ago
- Last Updated
- today
- Language
- C++
- License
- Apache-2.0
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
ripwire-before-you-build
Starting a FEATURE (multi-symbol work): the plan, the API boundary, the scope — how big does this change get — from the codebase's real structure. Implementing an EXISTING interface? --lego=Iface lists its contract and current implementors. ONE standalone symbol → reuse-first. A small feature with an obvious home needs none of this.
ripwire-orient
Landing COLD in an unfamiliar repo or subsystem, or about to open several files for one question: map first, read only what it ranks highest — main subsystems, entry points, 'how does X work / where is Y'. Also recover context after compaction, retrieve saved docs (--recall), divide code for subagents (--partition), save gotchas (--note-add). NAMED symbol → navigate. Stop at the first rung that answers.
code-reuse
Reuse before writing: find the existing function, util, hook, or component and extend it instead of adding a near-duplicate. Use when adding a helper or utility, consolidating duplicate or copy-paste code, or reviewing a diff for reuse.