no-hardcoding

Detect hardcoded values and recommend constants, environment variables, and config files.

1|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/Doyajin174/myskills --skill no-hardcoding
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: no-hardcoding
Source: https://github.com/Doyajin174/myskills/tree/main/.public/skills/no-hardcoding
Command: npx skills add https://github.com/Doyajin174/myskills --skill no-hardcoding

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents hardcoded values in code and promotes the use of constants, environment variables, and config files.

Core Features & Use Cases

  • Detection patterns: Magic numbers/strings, hardcoded URLs, credentials, and timeouts.
  • Configuration discipline: Guide to extracting constants and env-based values.
  • Safe patterns: Recommend using enums and centralized config.

Quick Start

Refactor a module to replace a hardcoded URL with an environment variable.