reinvented-abstractions-tripwire

Applies a stored review definition to detect reinvented abstractions in diffs.

2|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/nseng-ai/ns --skill reinvented-abstractions-tripwire-nseng-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reinvented-abstractions-tripwire
Source: https://github.com/nseng-ai/ns/tree/main/skills/internal/review-system/reinvented-abstractions-tripwire
Command: npx skills add https://github.com/nseng-ai/ns --skill reinvented-abstractions-tripwire-nseng-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Code reviews often miss cases where contributors rebuild functionality that already exists in the codebase, leading to duplicated abstractions and maintenance burden. This Skill runs a predefined tripwire review against a diff or the current branch to flag such reinventions consistently. ## Core Features & Use Cases - Authoritative Review Definition: Reads the review rules from .ns/reviews/reinvented-abstractions-tripwire/review.md instead of relying on memory, ensuring consistent application. - CLI Integration: Prefers running through the ns reviews review run reinvented-abstractions-tripwire command when available inside the repository. - Read-Only Inline Review: When run inline, applies the review definition exactly to the supplied diff or current branch changes while staying read-only. - Use Case: Before merging a pull request, run this tripwire against the branch diff to catch newly introduced helpers or wrappers that duplicate existing abstractions. ## Quick Start Ask the agent to run the reinvented abstractions tripwire review against the current branch changes.

Frequently Asked Questions about reinvented-abstractions-tripwire

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run the reinvented abstractions tripwire review?

Run `ns reviews review run reinvented-abstractions-tripwire` inside the repository when the ns command face is available. Otherwise, read `.ns/reviews/reinvented-abstractions-tripwire/review.md` and apply that definition to the supplied diff or current branch.

What does the reinvented abstractions tripwire check in a code review?

It checks a diff or branch for cases where contributors rebuild abstractions that already exist in the codebase. The exact rules live in the review.md definition file, which the Skill reads rather than reinterpreting from memory.

Can this review modify my code or branch?

No. The review is explicitly read-only and keeps all findings grounded in the supplied diff. It only reports findings and never edits files or branch state.

What happens if the ns CLI is not available?

The Skill falls back to inline review: it reads the review definition from `.ns/reviews/reinvented-abstractions-tripwire/review.md` and applies it exactly to the diff or current branch changes.

Where are review findings logged or published?

For durable logging or publication of review results, the Skill directs users to the guidance in `.ns/reviews/README.md` within the repository.