agentleFS
stdinstdin/buy-vs-build/skills/buy-vs-build-audit/SKILL.md

buy-vs-build-audit

Skill3 starsChanged 6 months agoMITView on GitHub

Use when auditing a repository or subsystem for avoidable in-house implementations, unnecessary dependencies, duplicated platform features, vendor lock-in, maintenance burden, or unclear buy-vs-build ownership decisions.

The file

Files
SKILL.md

Buy vs Build Audit

Audit the repository for ownership choices that deserve a second look. This is broader than a diff review: scan dependencies, common utilities, integration code, and high-maintenance subsystems.

Workflow

  1. Inspect dependency manifests and major source directories.
  2. Find custom implementations in standardized domains: dates, parsing, auth, crypto, queues, retries, validation, file formats, email, payments, observability, and search.
  3. Find dependencies that duplicate built-ins, native platform features, installed packages, or small clear code.
  4. Separate "fix now" from "watch later"; churn without payoff is not an improvement.
  5. Preserve safety boundaries: validation, security, privacy, accessibility, observability, and explicit requirements.

Output

Group results by action:

  • Replace with reuse: custom code that should move to a built-in, platform feature, library, or service.
  • Keep in-house: code that is core, small, constrained, or safer to own.
  • Remove dependency: dependency that does not earn its ownership cost.
  • Needs decision note: unclear tradeoffs requiring maintainer input.

For each item, include the likely rung, owner impact, and migration risk.

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.