should-i-use

v0.3.2
io.github.mrkeyoor/should-i-use Checked 2 days ago Published 3 months ago

Honest library picks for coding agents in 25-360 tokens.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

pick_library

Given a coding task, recommend 1-3 libraries from the should-i-use index with one-line reasoning and an honest warning about the top pick. Use before installing anything.

ParameterTypeDescription
task *stringWhat you are trying to do, e.g. "parse CSV files in node"
ecosystemstringOptional registry filter

should_i_use

Honest verdict on a specific library: 4-axis scores with reasons, when to skip it, and maintenance signals (last push, weekly downloads).

ParameterTypeDescription
library *stringLibrary name as published on npm or PyPI

alternatives

Curated alternatives to a library, each with a one-line "prefer it when" and a verdict if the alternative is also indexed.

ParameterTypeDescription
library *stringLibrary name as published on npm or PyPI

how_do_i

Return the 1-2 best code snippets for a task with a library, plus the gotcha for each. Snippets are correct for the indexed version. Far cheaper in tokens than a docs dump.

ParameterTypeDescription
library *stringLibrary name as published on npm or PyPI
task *stringWhat you want to do, e.g. "retry a failed request"

audit_dependencies

Audit a project's dependencies for unmaintained packages, unstable APIs, and documented reasons to switch. Pass the contents of package.json, requirements.txt, or pyproject.toml. Returns only the dependencies worth a decision, not a report on every line. Run this before working in an unfamiliar codebase.

ParameterTypeDescription
manifest *stringContents of package.json, requirements.txt, pyproject.toml, or a newline-separated list of package names
ecosystemstringOptional hint when the manifest format is ambiguous