agentleFS
ku5icku5ic/claude-kit/skills/code-evaluate/SKILL.md

code-evaluate

Skill2 starsChanged 14 days agoMITView on GitHub

Whether to adopt a package, or which of several: need, health, security, license, footprint, fit, and exit cost

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read-only: installs, adds, or runs nothing from the package.

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/code-evaluate

Evaluate a package before it's adopted, or compare candidates, the way a reviewer would: whether it's needed at all, whether it's healthy and safe, and what leaving it later would cost. Read-only; installs nothing.

Loading this skill isn't enough. Before the step a row names, read its file.

BeforeRead
Step 3, the assessmentreference/assessment.md
Step 2, querying the registries and scorersreference/data.md

Supply-chain checks also follow security-patterns' reference/dependencies.md, and the ecosystem's own conventions its pattern skill.

Procedure

  1. Inputs. No package named: ask. The ecosystem comes from the argument, else from kit detect-stack and the manifest the package would join; unclear, ask. A version not given is the latest stable.
  2. Collect, per candidate, from reference/data.md: the version's license, advisories, publish date, and dependencies; the project's Scorecard; the release history. Save raw responses in the report's sibling folder. A source that fails gets named in the report, never filled from memory.
  3. Assess each candidate against reference/assessment.md, in its order. Necessity comes first: what the repo, the standard library, or a dependency already installed does today, found with rg on the repo and in its manifests. That's the cheapest option (skills/kit-rules/reference/change.md section 7).
  4. Fit: read how the repo would call it. The two or three call sites it would replace or add, by file:line, and whether its API covers them without wrappers.
  5. Exit cost: how many files would import it, and whether its types or concepts would leak past one module.

Report

Load the report-format skill and use its format, written to the path kit scratch-dir evaluate <package-slug> prints, with these narrowings:

  • The TL;DR's first bullet is the verdict in place of the health word: adopt, adopt with: <condition>, don't adopt: <reason>, or use <alternative>.
  • With several candidates, a table first: one row each, one column per assessment area, each cell a value (a date, a count, a license id, a score).
  • Each finding names the assessment area, its evidence (the API field and value, or the file:line), and its source.

Reply

The report path and the verdict line.

Stop

Read-only: installs, adds, or runs nothing from the package.

Arguments: $ARGUMENTS

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.