magic-number-eliminator

Community

Eliminate magic numbers in code.

Authormouayadakel
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the issue of hardcoded numeric values in code, which can make it difficult to understand, maintain, and update.

Core Features & Use Cases

  • Identify: Detects and flags literal numbers used for configuration, limits, or calculations.
  • Extract & Name: Replaces these numbers with descriptive, named constants.
  • Organize: Groups related constants for better readability and reusability.
  • Use Case: Refactor code that uses 3000 for a timeout value into a constant like DEFAULT_TIMEOUT_MS.

Quick Start

Use the magic number eliminator skill to replace all hardcoded numbers with named constants.

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: magic-number-eliminator
Download link: https://github.com/mouayadakel/flixCamFinal/archive/main.zip#magic-number-eliminator

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.