code-reuse-enforcement

Official

Enforce reuse: avoid magic strings.

Authorai-debugger-inc
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This CRITICAL guardrail ensures developers discover existing constants, enums, and utilities before writing new code, preventing magic strings, duplication, and drift.

Core Features & Use Cases

  • Discovery-First Workflow: Check constants, enums, and utilities before coding.
  • Avoid Magic Strings & Numbers: Replace literals with shared values from constants.
  • Consistent Refactoring: Centralize changes to avoid drift and duplication.

Quick Start

Before writing new code with literals, check the discovery catalog and existing patterns; use the provided references to guide your implementation.

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-enforcement
Download link: https://github.com/ai-debugger-inc/aidb/archive/main.zip#code-reuse-enforcement

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.