agentleFS
jabbott-iiijabbott-iii/Tidepool/.claude/skills/evaluate-dependency/SKILL.md

evaluate-dependency

Skill1 starsChanged 10 days agoApache-2.0View on GitHub

Use before proposing any third-party crate or vendored code. Runs the build-vs-buy test from docs/02-dependency-policy.md and writes an evaluation for the user to decide on. Never adds the dependency.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. paultyng/skill-issue★ 8same name
    2. tejastn10/workbench★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository7 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is 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.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write "unverified" for anything you can't check.

    line 39
  2. Very specific:

    Ask the user for a decision: If approved, follow the policy's "Exception process" step 3 as a separate change (register row, ADR via …

    line 42

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Evaluate a proposed dependency

Proposal: $ARGUMENTS

The project rule: build it ourselves unless building it is unreasonable. You are writing an evaluation for the user to decide on. You never approve it yourself, and you never change any Cargo.toml or Cargo.lock.

Steps

  1. Restate the need. Inputs, outputs, performance, platforms, and where it would live (crate and layer).
  2. Try to remove the need. List design changes, each with its cost:
    • a simpler format or subset
    • reduced scope
    • a managed tool doing the work as a child process (ADR-0002), the way HTTPS goes through curl and signing through apksigner
    • a platform API we already bind
  3. Estimate building it ourselves: components and approximate lines, specs to implement (with links), test strategy (vectors, property tests, fuzzing), risks, engineer-weeks as a labeled range. Check whether the owner's Nadir repository already has code to port.
  4. Apply the exception test, criterion by criterion, "met" or "not met" with a reason:
    1. Disproportionate cost: over 4 engineer-weeks, not central, no design change or managed tool avoids it.
    2. Specialist correctness with severe failure modes.
    3. Dev-only tooling with no reasonable equivalent, never shipped.
  5. Gather facts about the candidate with the web tools: license, latest version and date, maintainers and activity, transitive dependency count, unsafe usage, MSRV, binary-size impact, whether it ships in the Tidepool binary. Never add the crate to this workspace to inspect it. Write "unverified" for anything you can't check.
  6. Write the evaluation to docs/dependency-evaluations/<crate>.md using the template below.
  7. Ask the user for a decision. If approved, follow the policy's "Exception process" step 3 as a separate change (register row, ADR via /record-decision, allowlist line, exact pin, one wrapping module). If rejected, record that in the evaluation and the register.

Template

# Dependency evaluation: <crate> (<version>)

- **Date:** YYYY-MM-DD
- **Requested for:** <capability>, used in <crate/layer>
- **Ships in the Tidepool binary:** yes | no (dev/tool only)

## Need
<concrete description>

## Design changes or managed tools that would avoid it
| Option | Cost | Viable? |
| :- | :- | :- |

## Build-it-ourselves estimate
<components, specs, test strategy, risks, estimate range, Nadir code to port>

## Exception test
| Criterion | Met? | Reason |
| :- | :- | :- |
| 1. Disproportionate cost | | |
| 2. Specialist correctness | | |
| 3. Dev-only, no equivalent | | |

## Candidate facts
| Fact | Value | Verified? |
| :- | :- | :- |
| License | | |
| Latest version / date | | |
| Transitive deps | | |
| `unsafe` usage | | |
| MSRV | | |
| Binary size impact | | |

## Recommendation
<build | adopt with conditions | reject>, with one paragraph of reasoning.

## Decision
<left blank for the user>

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.