review-constants-to-configs

Identify hardcoded constants and generate config registry integration plans.

1|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/cwilliams5/Alt-Tabby --skill review-constants-to-configs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-constants-to-configs
Source: https://github.com/cwilliams5/Alt-Tabby/tree/main/.claude/skills/review-constants-to-configs
Command: npx skills add https://github.com/cwilliams5/Alt-Tabby --skill review-constants-to-configs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill identifies hardcoded constants within the codebase that should be user-configurable, improving flexibility and maintainability by promoting them to the configuration registry.

Core Features & Use Cases

  • Constant Identification: Scans source files to find hardcoded values (magic numbers, timeouts, sizes, intervals).
  • Configurability Assessment: Evaluates which constants would benefit from user-level configuration based on impact and user need.
  • Registry Integration Plan: Outlines requirements for promoting constants to the config registry, including section, key name, type, and default values.
  • Use Case: A developer can use this Skill to systematically review a feature's tuning parameters, like timeout durations or UI element sizes, and plan how to make them adjustable by end-users without code changes.

Quick Start

Use the review-constants-to-configs skill to find and plan the promotion of hardcoded constants to the configuration registry.

Frequently Asked Questions about review-constants-to-configs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify hardcoded constants that should be user-configurable?

This Skill evaluates hardcoded constants by analyzing their behavioral, timing, and appearance controls to assess suitability for user modification. It identifies magic numbers, timeouts, sizes, and intervals that would benefit from being promoted to a user-configurable registry.

What is the best way to refactor magic numbers into a configuration registry?

The best way to refactor constants to configurable settings is to generate a detailed integration plan specifying the config section, key name, type, and default value. This allows end-users to adjust tuning parameters like timeout durations without requiring code changes.

When do I need to promote hardcoded values to configurable settings?

You need to promote hardcoded values to configurable settings when tuning parameters like timeout durations or UI element sizes require frequent adjustment by end-users. Moving them to a configuration registry eliminates code changes and improves overall maintainability.

How do I plan a config registry integration for hardcoded tuning parameters?

To plan a config registry integration, analyze hardcoded constants and outline requirements including the config section, key name, data type, and default values. This systematic approach ensures all necessary metadata is prepared for registry implementation.

Can I use this to evaluate which constants need configurability based on user impact?

Yes, you can evaluate which constants need configurability by assessing their impact on behavior, timing, and appearance. The Skill reviews source code constants to determine which ones genuinely benefit from user-level modification based on actual user need.