Help us improve
Share bugs, ideas, or general feedback.
From hone-skills
Surfaces magic numbers, unexplained string literals, hardcoded URLs, configuration values buried in code, and other "magical" values that should be named constants or config entries. Use when you want a weekly sweep for unnamed literals. Do NOT use for style or formatting audits.
npx claudepluginhub ckorhonen/hone-skillsHow this skill is triggered — by the user, by Claude, or both
Slash command
/hone-skills:magic-number-huntThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Scans source files for literal values that lack explanatory names:
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Share bugs, ideas, or general feedback.
Scans source files for literal values that lack explanatory names: numeric magic numbers, unexplained string constants, hardcoded URLs, embedded credentials patterns, timeout/retry values, threshold values, and configuration buried inline. Produces a prioritized list of findings with file paths, line numbers, the offending literal, and a suggested named constant or config key.
vendor/, node_modules/, .git/,
third_party/), generated files, and binary assets.foo(true, false)
where the meaning is unclear without a named parameter.high (likely config leak or unexplained
threshold), medium (unnamed numeric/string constant), or low
(borderline case, may be intentional).MAX_RETRY_ATTEMPTS = 3 in config module").Produce a Markdown report with:
src/http/client.ts into a config
object").MAGIC_NUMBER_1).low severity rather than omitting or inflating.