magic-number-eliminator
CommunityEliminate 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
3000for a timeout value into a constant likeDEFAULT_TIMEOUT_MS.
Quick Start
Use the magic number eliminator skill to replace all hardcoded numbers with named constants.
Dependency Matrix
Required Modules
None requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.