code-reuse-enforcer

Community

Reuse code, don't reinvent.

Authormbelenmontoya
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents redundant code by ensuring developers search for and leverage existing components, hooks, and utilities before creating new implementations.

Core Features & Use Cases

  • Codebase Search Guidance: Directs developers to specific directories and files where existing solutions are likely to be found.
  • Component & Hook Inventory: Lists pre-existing UI components and custom hooks to avoid duplication.
  • Verification Checklist: Provides steps to confirm if a solution already exists and guidelines for extending or wrapping existing code.
  • Use Case: A developer needs to add a new button component. Instead of creating a new one, they consult the Skill, find the existing Button component in app/components/ui/, and use it, potentially extending it with new props if necessary.

Quick Start

Before creating a new component, search the codebase for existing implementations in app/components/ui/ and app/components/.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: code-reuse-enforcer
Download link: https://github.com/mbelenmontoya/hara/archive/main.zip#code-reuse-enforcer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.