Pick for the problem

From melodic-software/claude-code-plugins · View interactive version

Pick for the problem is an AI agent skill from the GitHub repository melodic-software/claude-code-plugins. Re-anchors fitting a tool, library, framework, language, or approach to the problem, not habit, incumbency, or preconception; re-derives the choice. Use when: 'pick for the problem', 'right tool for the job', 'which library should we use', 'what framework', 'should we build this or use X', 'is this

How to use this skill

Skill file

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

CODE0.

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:

state is treated as the requirement.

preceded the problem.

stood in for correctness, unchecked against the principle X claims to serve.

The discipline that replaces them:

requirements, before any candidate is on the table.

requirements and the plausible future ones (variables that could shift and

turn a choice into future pain).

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.

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.

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:

CODE0;

full convention: recommendation-basis.

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:

rather than fit;

exit-cost weighing;

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):

light and off skip the method doc's step 2 and step 3 subagents, as it says, and the final reply then carries the line verification: skipped (<level>) verbatim, such as verification: skipped (light).

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

and found to fit audits clean, including an incumbent one; the duty is to

re-derive, not to switch for its own sake.

selection in flight; a repo-wide coupling-risk inventory is out of scope.

Related

Gotchas

are the incumbency and habit sins wearing the costume of a rationale; a

real rationale names the requirement X satisfies, not its familiarity.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.