dependencies
Skill1 starsChanged 4 months agoMITView on GitHub
Manage third-party dependencies as long-term liabilities, not free code: decide when a package earns its place versus writing it yourself, vet before adding (maintenance, transitive tree, license, install scripts, exact name), commit the lockfile, bump one dependency at a time, changelog read first, and remove what no longer pays rent. Use whenever adding, upgrading, auditing, or removing a package, editing a manifest or lockfile (package.json, pyproject.toml, Cargo.toml, go.mod, Gemfile), handling a security advisory or Dependabot/Renovate PR, or choosing between a library and hand-rolling.
12 other projects use a version of this.
Adopted by
Most recently taken up by
- p-chan/agent-skillstheir own version, first seen Nov 8, 2026
- p-chan/skillstheir own version, first seen Nov 8, 2026
- profdorly/ultimate-dev-skillstheir own version, first seen Nov 8, 2026
- e-reitbauer/habitstheir own version, first seen Nov 8, 2026
- facebook/docusaurustheir own version, first seen Oct 17, 2026
- keyreylaa/universal-agent-frameworktheir own version, first seen Oct 17, 2026
Used with
Projects with it also use versioning, documentation and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
xiaominglengSkillversioning
Use when making changes to this plugin's skills, data, or configuration — determines correct version bump and updates plugin.json and marketplace.json accordingly
Also in 3 projects that use this
AnthropicSkilldocumentation
Write and maintain technical documentation. Trigger with "write docs for", "document this", "create a README", "write a runbook", "onboarding guide", or when the user needs help with any form of technical writing — API docs, architecture docs, or operational runbooks.
Also in 3 projects that use this
0xSeroSkillsecurity
Also in 3 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- facebook/docusaurus★ 67ksame name
- orangehrm/orangehrm★ 1.1ksame name
- gener8v/gener8v.claude-skills★ 3same name
- dbtlr/skald★ 2same name
- e-reitbauer/habits★ 1same name
- keyreylaa/universal-agent-framework★ 1same name
- QinAnze/SKILLS★ 1same name
- p-chan/agent-skills★ 0same name
- p-chan/skills★ 0same name
- profdorly/ultimate-dev-skills★ 0same name
2 more not listed
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 repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adr-workflowSkill
- api-designSkill
- atomic-commitsSkill
- branch-reviewSkill
- bug-reportsSkill
- change-in-placeSkill
- changelogSkill
- code-commentsSkill
- db-migrationsSkill
- debuggingSkill
- error-handlingSkill
- flaky-testsSkill
- git-recoverySkill
- humanizeSkill
- loggingSkill
- namingSkill
- performanceSkill
- pr-descriptionSkill
- reading-codeSkill
- refactoringSkill
- reviewing-codeSkill
- scoped-commitsSkill
- secure-codingSkill
- simplified-technical-englishSkill
- small-prsSkill
- subtractive-engineeringSkill
- test-behaviorSkill
- writing-docsSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
4
Distinctive
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
- Distinctive: line 32
Before adding, spend the five minutes of vetting the install command skips:
- Distinctive: line 55
Commit the lockfile, always.
- Distinctive: line 67
Read the release notes before bumping, not after the breakage.
- Distinctive: line 82
Update on a cadence you choose, not only under duress.
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dependencies
The default treatment of dependencies is asymmetric: adding one takes a single install command and no thought, while living with it lasts years. Each package arrives with its transitive tree, its release cadence, its security advisories, its maintainer's attention span, and its install scripts, and all of it now ships inside your product. The cost is real but deferred, which is why nobody weighs it at install time, and why mature projects carry dozens of packages nobody can justify.
The corrective is to treat every dependency operation, add, bump, or remove, as a decision with a reason someone could review.
Adding: make the package earn its place
A dependency is justified when it encapsulates real expertise you
should not rebuild: crypto, parsers for gnarly formats, protocol
clients, timezone handling. It is not justified when it wraps twenty
lines you could write and own: left-pad, is-odd, a chunk() function.
For the small case, write the function; the whole cost of maintaining
twenty lines you understand is less than the cost of tracking one
package you don't. The middle ground, a few hundred lines of
non-expert code, is a judgment call; make it consciously, not by
install-command reflex.
Before adding, spend the five minutes of vetting the install command skips:
- Maintenance: last release date, open issue response, whether it is one person's abandoned weekend. You are choosing a maintainer, not just code.
- Transitive weight: what comes with it. A helper that drags in forty packages costs forty packages.
- License: compatible with how you ship. A GPL library in a proprietary binary is a legal defect you installed on purpose.
- The exact name: typosquats live one transposition from popular
packages, and
requetswill happily install. Copy the name from the project's own docs, never from memory. - Install scripts: a postinstall hook runs arbitrary code on every developer machine and CI runner at install time. Know that it exists before it does.
State the reason in the commit that adds it: what it is for and why it beat writing it. That sentence is what lets a future audit answer "can this go?"
Version discipline
Commit the lockfile, always. Without it, "works on my machine" and CI are running different code, and every fresh install is an unreviewed upgrade. The manifest says what you want; the lockfile says what you got; both are source.
Applications pin exactly (via the lockfile); libraries declare compatible ranges, because a library that pins exact versions forces its version conflicts onto every consumer. Do not copy an application's pinning habit into a published package or vice versa.
Updating: one bump, eyes open
Read the release notes before bumping, not after the breakage. You are looking for three things: breaking changes and their migration steps, behavior changes that will not throw but will differ, and whether the jump crosses a major version. For a major bump, grep your code for the APIs the migration guide names before touching the manifest; the compiler will not catch a renamed config key.
Bump one dependency (or one deliberate group, like a framework and its
plugins) per commit, and keep bumps out of feature branches. The
reason is bisection: when something breaks a week later, git bisect
lands on "bump lib X 3.1 -> 4.0" and the suspect list has one name. A
feature commit that also bumps four packages destroys that, and the
reviewer of the feature cannot see your logic through 3,000 lines of
lockfile churn.
Update on a cadence you choose, not only under duress. Small regular bumps are each easy to verify and revert; the five-major-versions leap forced by a security patch on an abandoned branch of your dependency tree is neither. Automated update PRs (Dependabot, Renovate) set the cadence for you, but they are proposals, not merges: the changelog still gets read and the suite still gets run per bump.
Security advisories jump the queue but skip no steps: same changelog read, same test run, same isolated commit. An urgent bump that breaks production converts one incident into two.
Removing: dependencies must keep paying rent
Unused and barely-used dependencies do not advertise themselves; they sit in the manifest accruing advisories. When you notice one, act:
- Used nowhere: remove it in its own commit.
- Used once, for something trivial: inline the twenty lines and remove it. The package earned its place once; it no longer does.
- Abandoned upstream but load-bearing: this is a project risk to surface and plan around (fork, replace, vendor), not a fact to quietly know.
Deprecating and removing is also part of the update path: when a bump reveals you use none of the parts that changed, ask whether you use enough of it to keep it at all.
Bad, then good
The same change, twice:
commit: "add user export feature"
src/export.py | 120 +++++
package.json | 6 +- (adds csv-writer, bumps lodash,
package-lock.json | 2100 +-- axios, and moment "while in there")commit 1: "deps: bump axios 1.6 to 1.7 for redirect handling fix"
(changelog read; no breaking changes; suite green)
commit 2: "export: add user CSV export"
(uses the stdlib csv module; csv-writer would wrap it in 15 lines
we can own)The first version cannot be bisected, cannot be reviewed, and added a package to avoid writing fifteen lines. The second leaves a history where every dependency change has one name, one reason, and one revert handle, and one fewer package exists at all.
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
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.

