Re-anchor picking/choosing right tool for the job (library, what framework, language, dependency, approach) for problem, not habit, defaulted incumbency, or always reaching for X; evaluate options, should we build or use X, right approach choice. Use when 'pick for the problem', 'which library should we use', 'choose a dependency', build-vs-buy.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Pick For The Problem?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/melodic-software-pick-for-the-problem)
---
description: "Re-anchor picking/choosing right tool for the job (library, what framework, language, dependency, approach) for problem, not habit, defaulted incumbency, or always reaching for X; evaluate options, should we build or use X, right approach choice. Use when 'pick for the problem', 'which library should we use', 'choose a dependency', build-vs-buy."
user-invocable: true
disable-model-invocation: false
metadata:
discipline-batch: situational # only at a tool/library/approach selection point
discipline-batch-rank: 80
workflow-stage: anytime
summary: Re-derive a tool or approach choice from the problem, not habit
---
# Pick for the problem
A drift corrector for selection discipline: the tool must fit the problem,
not the reflex. The shared method (re-anchor, audit the work in flight,
correct forward, report) lives in
[`${CLAUDE_PLUGIN_ROOT}/context/re-anchor-audit-correct.md`](../../context/re-anchor-audit-correct.md).
Read it; this file adds only what is specific to selecting a tool, library,
framework, language, or approach.
## The discipline this re-anchors
A selection is a design decision, not a reflex. Resolve the source of truth
per the method doc's ladder: if the consuming project states a
technology-selection or dependency-adoption rule in its own `CLAUDE.md` /
`.claude/rules/`, re-anchor that. Otherwise re-anchor this portable
baseline.
**The five selection sins**, an unexamined choice usually traces to one:
- **Habit**. "I always use X." The reach is muscle memory, not analysis.
- **Availability**. "X is already at hand." Convenience picked it, not fit.
- **Incumbency**. "the repo already uses X, so new work assumes X." Current
state is treated as the requirement.
- **Preconception**. "I came in believing X is the answer." The verdict
preceded the problem.
- **Popularity**. "Everyone uses X; the top template ships it." Adoption
stood in for correctness, unchecked against the principle X claims to serve.
**The discipline that replaces them:**
- **Define the actual problem first.** Name what is being solved, the real
requirements, before any candidate is on the table.
- **Survey the field.** More than one candidate, judged against the stated
requirements and the plausible future ones (variables that could shift and
turn a choice into future pain).
- **Walk the preference ladder**, an earlier rung wins when it covers the
requirements and the plausible future requirements:
1. **Native**. What the platform, language, or framework already
provides: no new dependency, no new coupling.
2. **Official / authoritative**, the first-party or canonical option when
native falls short.
3. **Vetted third-party**. Only when the rungs above genuinely miss, and
only if it is well-maintained, well-known, safe, and secure.
- **Every dependency is a coupling point.** Weigh, at adoption time, the
cost this coupling can impose later: abandonment, a pricing pivot, a
license change, security posture, and exit cost.
Name all five of these costs in the reply, in those words, including when the research is still to come.
- **Building what already exists is a finding.** Re-implementing a solved,
well-served problem (native or vetted) is a selection error in the other
direction. Name it.
## Mandatory routing. No verdict from memory
When the selection is load-bearing, the field survey and the maintenance /
security / license / adoption judgment must come from current research, not
training-data recall: a tool's maintenance status, licensing, and security
posture drift constantly. Route to a research capability rather than judging
from memory: invoke `/discovery:research` (if enabled) via the Skill tool, or
`/discovery:research deep` (if enabled) for a large surface. Degrade to an explicit in-thread research pass (fetch the primary
sources yourself and cite them) when that capability is not enabled, never a bare recalled verdict.
State the chosen option with a `Basis:`: `verified` with the source URLs or tool output it rests
on, or `judgment` only where the call is not consequential (consequential means cross-repo,
shared infrastructure, irreversible or costly to reverse, or security). A consequential choice research cannot settle is
withheld: raise it as an open question naming the evidence that would settle it. Contract:
[`${CLAUDE_PLUGIN_ROOT}/context/recommendation-basis.md`](../../context/recommendation-basis.md);
full convention: [recommendation-basis](https://github.com/melodic-software/claude-code-plugins/blob/main/docs/contracts/recommendation-basis/README.md#basis-label).
## Audit. What to look for
Name concrete, located findings (per the method doc's step 2, self-audit; on load-bearing work a fresh-context subagent confirms a clean result),
both at an explicit choice-time and over choices already embedded in the
work in flight:
- a tool named before the problem it solves was stated;
- a single candidate with no field surveyed;
- a choice tracing to habit, availability, incumbency, or preconception
rather than fit;
- a third-party dependency adopted with no maintenance / security / license /
exit-cost weighing;
- a native or authoritative option skipped straight to third-party;
- a hand-built solution to an already-solved, well-served problem.
Correct each forward now: re-derive the choice from the stated problem, run
(or route) the survey, walk the ladder, and price the coupling. Where the
evaluation is load-bearing, route it to research rather than self-checking
from the same recall that produced the reflex.
Resolve the verification level once with
`bash "${CLAUDE_PLUGIN_ROOT}/lib/read-verification.sh" --plugin discipline --skill pick-for-the-problem --file docs/conventions/discipline.yaml`
and report its line ([levels](https://github.com/melodic-software/claude-code-plugins/blob/main/docs/contracts/verification-level/README.md)):
The method doc's steps 2-4 say what `light` and `off` skip and the line the reply then carries.
## Distinct axis, the incumbency overlap
The incumbency sin here is selection-specific. "the repo uses X, so this
new work uses X". The general interrogation of inherited precedent is
`/discipline:reason-dont-recite`; route a broader inherited-design challenge
there. Consistency of idioms, structure, and process, where matching the
established way is usually right, is `/discipline:reuse-or-replace`'s axis,
which carves tool/dependency selection out to this skill.
## What this skill does not do
- **Does not churn a well-fitted choice.** A tool re-derived from the problem
and found to fit audits clean, including an incumbent one; the duty is to
re-derive, not to switch for its own sake.
- **Does not audit a whole repository's dependency graph.** The audit covers the
selection in flight; a repo-wide coupling-risk inventory is out of scope.
## Related
- Load-bearing field survey and vendor evaluation: /discovery:research.
- Challenge inherited precedent generally: /discipline:reason-dont-recite.
- Idiom or structure consistency without dependency choice: /discipline:reuse-or-replace.
## Gotchas
- **The reflex hides as a reason.** "We use X here" and "X is what I know"
are the incumbency and habit sins wearing the costume of a rationale; a
real rationale names the requirement X satisfies, not its familiarity.