/naming:name-it-better [tournament]from naming
Generates and evaluates name candidates for variables, functions, files, modules, repos, or domain terms. Runs blind generators from distinct lenses to break naming anchors, then presents a scored shortlist for the human to choose from. Includes optional tournament mode for high-stakes names.
Ships in naming. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Produce better name candidates for anything that needs one: an identifier, file, module, skill, repo, or domain term. Then hand the human a scored shortlist to choose from. The dominant trigger is a reactive retry: a name was just suggested and rejected, and the same context that produced it will only produce more of the same. So the generators run BLIND to the conversation, from distinct lenses, to break the anchor. A blank-slate naming request is the same machinery without a rejected incumbent.
The human always picks. This skill narrows and recommends; it never auto-locks a name.
Score against the consuming organization's naming criteria, resolved from its own context, never from a baked-in path:
Declared conventions win. When the consuming project names where its
naming and domain-language conventions live, its CLAUDE.md,
.claude/rules/, or a shared standards source it points to, score against
THAT. Read the criteria there; do not restate them here. A criterion the
user wants that is missing from those conventions flows UP into them
(their standards change), not hardcoded into this skill.
None declared → the general criteria grounded in
context/sources.md, applied in this
research-ordered priority. A higher tier breaks ties over every tier
below it:
i, a receiver) are not penalized.This ordering governs the scoring and judging steps. It is the fallback only: a consuming project's declared criteria (rule 1) override it wherever the two differ.
Naming criteria split in two. The semantic layer covers accuracy, scope
fit, no collisions, and noun-for-a-thing / verb-for-an-action. It carries across
every modality, and is what the generators and judges optimize. The
syntactic layer covers casing, length budgets, and separator and affix
conventions. It is modality- and vendor-specific; apply it as a final
shaping pass over the semantic winners, never as a scoring axis that
overrides meaning. Shaping can change the string, so RE-RUN the full
merge-step filter set on the shaped forms: dedupe, collision, reject-list,
word-blocklist. Two distinct candidates can normalize to one string
(SessionStore and session-store → session_store), a normalization
can recreate an existing sibling or a rejected incumbent, and a required
affix can introduce a blocked word (Order → OrderManager) that the
pre-scoring filters could not match.
context/sources.md.context/sources.md). A skill
loadable as primed context at conversation start must also be
temporally neutral: the name has to read valid before any work
exists, so a candidate that presupposes completed output ("critique your
run") fails for a skill that can fire cold.Build the structured context brief. This brief, NOT the conversation, is all the generators receive, so it must carry every field they need, each captured by name:
/domain-driven-design:ubiquitous-language lookup via the Skill tool
when that skill is available, else find and read the glossary
yourself. Canonical terms and chosen verbs feed the domain-lore lens;
Avoid: words, and a verb in the parentheses of the entity's
Actions: line (blocked only for that operation on that entity),
join the blocklist with the reason "rejected in the glossary" and the
provenance glossary-stated, treated as user-stated: the team resolved
it, so the merge step disqualifies a candidate that uses it.Rejected incumbent NAMES deliberately stay out of the brief. The main thread holds them as its reject list and disqualifies matches at merge time (anti-anchoring: a generator shown a rejected name re-derives it). Only the abstracted REASON a name failed enters the brief, as a blocklist entry or scope-boundary correction.
The brief mirrors the replicated concept → word → structure naming model
(grounded in context/sources.md): the named
fields fix the concepts and constraints; the generators then choose the
words per concept and arrange the structure.
Fan out blind generators. Spawn ~3 fresh-context subagents, each seeded ONLY with the brief (blind to this conversation and to each other), each working a distinct lens:
Running them blind and independent is deliberate anti-anchoring; the
method grounding is in context/sources.md.
Merge and score. For a name used as an utterance, a skill, command, or anything invoked by saying it, apply the sentence-form test as an early filter before scoring: is the candidate the imperative you would actually say, readable cold with no context? Contentless idioms (a bare "check", "take stock") fail it even when they score well on the criteria below. For a skill loadable as primed context, apply the temporal-neutrality test in the same early filter: a candidate that presupposes completed work fails before scoring, however accurate it is once work exists. Then pool the candidates, dedupe, and disqualify any candidate that matches the rejected incumbent (if any), that contains a USER-STATED word-level blocklist entry (a generator can miss the brief's constraint; the merge step enforces it), or that collides with the existing vocabulary. The rejected-incumbent list is carried by the main thread as an explicit reject list, never shared with the generators. A candidate containing only an AGENT-INFERRED blocklist word is not disqualified. It stays in, flagged with the inferred concern, so the user's pick confirms or overrides the inference (provenance rule above). Score every surviving candidate against the criteria resolved above, breaking ties by their declared priority order.
Shortlist + recommend. Present a short ranked list with a
one-line rationale per candidate and a single RECOMMENDED pick, marked
and listed first. When the target already has a name, state its
call-site blast radius (the references a rename would touch, counted by
a search this session, including other repositories that consume it)
and give the pick a Basis:, verified with the file:line or tool
output, or judgment (only when the rename is not consequential:
cross-repo, shared infrastructure, irreversible, or security). When a
consequential rename's blast radius cannot be settled, withhold the
RECOMMENDED mark and name the evidence that would settle it. A changed
pick is restated as old → new → why. Contract:
${CLAUDE_PLUGIN_ROOT}/context/recommendation-basis.md;
full convention: recommendation-basis.
Human picks. Stop and let the user choose. Do not apply the name.
If the human rejects the shortlist or a specific candidate, the rejection is data, not a dead end. Capture the REASON as an explicit new constraint and fold it into the next round's brief before regenerating:
Rejected names and rejected words never re-enter. The reject list and the word-level blocklist only grow across rounds. Each new round is a fresh blind fan-out seeded with the corrected brief, never a patch of the last round's candidates.
tournament actionWhen $ARGUMENTS contains tournament, run this in place of the default
pass.
/naming:name-it-better tournament is for a high-stakes name that will be
hard to refactor later. Widen to ~5 generators (optionally different
models), then run elimination rounds with independent scoring judges until
one candidate remains, and present it plus the runners-up for the human
choice.
The default pass's merge filters still apply BEFORE the elimination rounds begin, including the sentence-form and temporal-neutrality tests for utterance and cold-loadable names and the blocklist provenance rule: pool the widened candidates, fail contentless idioms and completed-work-presupposing names early, and disqualify any that match the rejected incumbent, contain a user-stated blocklisted word, or collide with the existing vocabulary (agent-inferred blocklist matches enter the bracket flagged, not disqualified).
Settle the scoring criteria before the generators return, and write them down. The criteria are still resolved from the consuming project's own declared standards, not chosen here. Which of them decide this name, and how they rank, is a judgment, and it must be made while the pool is still unknown. A rubric fixed after the candidates land gets shaped by them, and one that already fits the pool cannot eliminate anything: the independent judges then score against a standard the pool itself authored. A criterion found missing mid-bracket still routes upstream, and adding it means re-scoring the round it changes.
HONEST FRAMING: a "naming tournament / bracket" is NOT a documented
software-naming technique. This mode ADAPTS elimination brackets plus
pairwise social-choice scoring as a convergence mechanism. See
context/sources.md. Present it as such, not as an
established standard.
Invoke an adjacent capability through its slash command when present; degrade to prose guidance when it is absent.
Manager or Context). That
is not a blinding failure. The main thread's reject list disqualifies
it at merge time regardless of how a candidate was produced.tournament costs several generators plus judges; reserve it for names
that are genuinely expensive to change, not routine locals.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
naming, rename, identifier, code-quality, naming-conventions
npx claudepluginhub melodic-software/claude-code-plugins --plugin namingOther plugins' skills for the same job